From context7-docs
Fetches up-to-date library documentation via Context7, verifying version match and highlighting deprecated APIs to improve code generation accuracy.
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:
6plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub samuelj90/awesome-claude-code-toolkit --plugin context7-docs/fetch-docsFetches up-to-date library documentation via Context7, verifying version match and highlighting deprecated APIs to improve code generation accuracy.
/docsFetches up-to-date documentation and code examples for any library, with optional version-specific lookups via Context7 IDs.
/docsLooks up current documentation for a library or topic via Context7, returning a summarized answer with relevant code snippets.
/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.
/docsFetches up-to-date documentation for any library using Docfork, returning direct answers with runnable code examples.
/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.