From dotclaudefiles
Esta skill debe usarse cuando el usuario pide "investiga documentación de", "consulta documentación de", "quiero integrar X en", "cómo integrar", "implementar X en proyecto", "qué librería para", "instalar", "configurar", "error con", o menciona agregar funcionalidad que requiere dependencias especializadas (validación con zod, procesamiento imágenes con sharp, colas con bull, caché con ioredis, formularios con react-hook-form). IMPORTANTE: Invocar esta skill en lugar de usar Context7 MCP directamente - la skill proporciona framework de decisión sobre cuándo usar Context7 vs dependency-docs-collector agent según complejidad. No usar para paquetes ampliamente conocidos como express, react, vue, lodash, axios, jest; Claude tiene datos de entrenamiento suficientes para estos. Usar solo para paquetes especializados, plugins de framework, o librerías poco conocidas.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dotclaudefiles:check-third-party-docsclaude-haiku-4-5-20251001The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provides decision framework for accessing documentation on specialized third-party packages using Context7 MCP tools and dependency-docs-collector agent.
Provides decision framework for accessing documentation on specialized third-party packages using Context7 MCP tools and dependency-docs-collector agent.
For quick, focused lookups on specialized packages when you already know what to ask:
Scenarios:
zod.object() schema syntax"sharp.resize() options"bull queue retry options?"react-hook-form controller?"yup?"ioredis?"Usage:
// 1. Resolve package to Context7 library ID
resolve-library-id("zod", "validate nested objects with zod")
// 2. Query specific documentation
query-docs("/colinhacks/zod", "How to validate nested objects with zod schemas")
When Context7 fails:
For comprehensive documentation gathering when you need implementation guidance:
Scenarios:
User wants to implement a feature requiring a new dependency:
User: "I need to add background job processing to my Express API"
→ Agent: Research job queue libraries (bull, agenda, bee-queue)
→ Gather installation, Redis setup, queue configuration, worker patterns
→ Provide implementation plan with chosen library
User: "Add PDF generation to my Next.js app"
→ Agent: Fetch pdfkit/puppeteer docs
→ Installation, API usage, Next.js integration patterns
→ Example implementation with serverless considerations
User wants to replace existing library with alternative:
User: "Migrate from joi to zod for validation"
→ Agent: Gather migration guide, breaking changes
→ Pattern conversions (joi schemas → zod schemas)
→ API differences, TypeScript integration improvements
→ Step-by-step migration plan
User: "Switch from moment to date-fns"
→ Agent: Migration documentation, bundle size comparison
→ Method mapping (moment.format() → date-fns format())
→ Timezone handling differences
User needs replacement due to deprecation, performance, or features:
User: "Need alternative to deprecated request library"
→ Agent: Research modern alternatives (axios, got, node-fetch)
→ Feature comparison, API differences
→ Migration guide for chosen alternative
User: "Looking for lighter alternative to lodash"
→ Agent: Evaluate alternatives (just-*, native JS methods)
→ Bundle size analysis, feature parity check
→ Migration recommendations
User encounters errors with specialized dependencies:
User: "Getting 'ZodError: Invalid input' with zod validation"
→ Agent: Fetch zod error handling docs
→ Common validation error patterns
→ Debugging techniques, schema refinement
User: "Sharp image processing throwing 'unsupported image format'"
→ Agent: Gather sharp supported formats, installation issues
→ libvips troubleshooting, platform-specific fixes
User needs to configure multiple related packages:
User: "Set up authentication with next-auth, prisma, and zod"
→ Agent: Gather docs for all three packages
→ Integration patterns, adapter configuration
→ Schema validation with auth flows
→ Complete setup guide
User: "Configure testing with Jest, React Testing Library, MSW"
→ Agent: Fetch setup docs for each package
→ Integration configuration, common patterns
→ Example test suite structure
Agent Invocation:
Task({
subagent_type: "dotclaudefiles:dependency-docs-collector",
prompt: `
User wants to [add library X for Y feature / migrate from A to B / find alternative to C].
Context: [language, framework, specific problem]
Error (if troubleshooting): [error message]
Gather documentation, provide implementation/migration plan.
`
})
When troubleshooting with Context7:
Example:
User: "Getting error: 'Queue job failed with status 500' in bull"
Step 1: Quick Context7 lookup
→ query-docs("bull", "job failure handling error status codes")
→ Find basic error handling patterns
Step 2: If error persists or needs deeper investigation
→ Escalate to dependency-docs-collector agent
→ Agent gathers: error handling docs, retry strategies, logging patterns
→ Provides comprehensive debugging guide
Context7 is only for third-party packages:
❌ Do NOT use:
fmt.Println (Go), Array.map (JS), os.ReadFile (Go)Promise, async/await, Python list comprehensionsdocument.querySelector, fetch, localStorage✅ Use for:
zod, sharp, bull, ioredis, react-hook-formnext-pwa, @auth/core, prisma adapterspdfkit, winston transports, yupresolve-library-id(libraryName, query)
query-docs(libraryId, query)
dependency-docs-collector
subagent_type: "dotclaudefiles:dependency-docs-collector"| Scenario | Tool | Example |
|---|---|---|
| Quick API lookup | Context7 | "Verify zod schema syntax" |
| Add library for feature | Agent | "Add job queue for background processing" |
| Migrate library | Agent | "Migrate joi to zod" |
| Find alternative | Agent | "Alternative to deprecated request library" |
| Troubleshoot error (simple) | Context7 | "Bull job status codes" |
| Troubleshoot error (complex) | Agent | "Debug zod validation failures" |
| Multi-package setup | Agent | "Configure next-auth + prisma + zod" |
Version: 0.1.0 Plugin: dotclaudefiles
npx claudepluginhub diegopherlt/dotclaudefiles --plugin dotclaudefilesFetches up-to-date library and framework documentation via Context7 MCP for setup questions, API references, and code examples.
Fetches up-to-date library/framework docs via Context7 MCP (resolve-library-id, query-docs) for setup questions, API references, code examples.
Forces Claude to web-search and read current official documentation before implementing, integrating, or debugging third-party APIs, libraries, frameworks, and services when latest behavior or correctness matters.