mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-03-17 10:33:08 +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
29 lines
777 B
Markdown
29 lines
777 B
Markdown
---
|
|
description: Fetch up-to-date documentation and code examples for any library
|
|
argument-hint: <library> [query]
|
|
---
|
|
|
|
# Context7 Documentation Lookup
|
|
|
|
Fetch current, version-specific documentation from source repositories.
|
|
|
|
## Arguments
|
|
|
|
`$ARGUMENTS` = `<library> [query]`
|
|
|
|
- First word: library name (or direct library ID starting with `/`)
|
|
- Remaining: your specific question or topic
|
|
|
|
Examples:
|
|
- `react hooks`
|
|
- `next.js authentication`
|
|
- `/vercel/next.js/v15.1.8 app router`
|
|
|
|
## Steps
|
|
|
|
1. Parse arguments: first word = library, remaining = query
|
|
2. If library starts with `/`, use it directly as library ID
|
|
3. Otherwise, call `resolve-library-id` with library name and query
|
|
4. Call `query-docs` with the library ID and query
|
|
5. Present documentation with code examples
|