From context7-docs
Fetches up-to-date library documentation via Context7 to ensure accurate code generation. Verifies version match and flags experimental/deprecated APIs.
How this command is triggered — by the user, by Claude, or both
Slash command
/context7-docs:fetch-docsThe summary Claude sees in its command listing — used to decide when to auto-load this command
Fetch up-to-date library documentation via Context7 to ensure accurate code generation. ## Steps 1. Identify the library or framework the user needs docs for: 2. Resolve the library ID using Context7: 3. Query the documentation: 4. Present the documentation in a usable format: 5. Apply the documentation to the current task: 6. Cache the result to avoid redundant lookups. ## Format ## Rules - Always verify the documentation version matches the installed version. - Prefer official documentation over community examples. - Note any APIs marked as experimental or deprecated.
Fetch up-to-date library documentation via Context7 to ensure accurate code generation.
Library: <name>@<version>
Source: Context7
Topic: <what was looked up>
Key APIs:
2plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub costrict-plugins-repo/github-trending-plan --plugin context7-docs/fetch-docsFetches up-to-date library documentation via Context7 to ensure accurate code generation. Verifies version match and flags experimental/deprecated APIs.
/docsFetches up-to-date documentation and code examples for any library via <library> [query]. Supports Context7 IDs for precise and version-specific lookups.
/docsLooks up current documentation for a library or topic via Context7, returning a summarized answer with relevant code snippets.
/docsFetches up-to-date documentation for <library> [query] using Docfork, providing direct answers with runnable code examples.
/kasi-docsFetches and caches version-matched official documentation snippets for detected project stack (PHP, Node, Python, Go) and specified topic or function name, outputting concise answer with source URL and cache path.
/docs-refreshRefreshes cached documentation for a specified library by force-re-fetching it, bypassing the 7-day cache, and reports pages fetched, skipped, or failed.