mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-03-17 22:43:09 +00:00
- Update skill/agent/command to use new query-docs tool (replaces get-library-docs) - Add query parameter usage for intelligent reranking - Add version pinning support (e.g., /vercel/next.js/v15.1.8) - Add tools and model metadata to agent - Simplify docs to focus on workflow, not parameter details - Add README.md with usage examples
1.2 KiB
1.2 KiB
name, description
| name | description |
|---|---|
| documentation-lookup | Use when user needs code generation, setup/configuration steps, or library/API documentation. Automatically fetch up-to-date docs for any library or framework without requiring "use context7" in the prompt. |
Context7 Documentation Skill
Fetch up-to-date, version-specific documentation and code examples from source repositories.
When to Trigger
- User asks "how do I..." for any library
- User needs code generation with a specific library
- User asks about setup or configuration
- User needs API reference or examples
- User mentions any framework: React, Next.js, Vue, Svelte, Express, Prisma, Tailwind, etc.
Workflow
- Call
resolve-library-idwith the library name and user's question - Select the best match (prioritize exact name, high
totalSnippets, highbenchmarkScore) - Call
query-docswith the library ID and user's question - Present code examples and explanations
Tips
- Use version-specific IDs for pinned versions:
/vercel/next.js/v15.1.8 - The
queryparameter improves result relevance - pass the user's full question - Limited to 3
query-docscalls per question to prevent context bloat - Check
versionsfield fromresolve-library-idfor available versions