From essentials
Look up library and framework documentation. Use when the user asks about API docs, library usage, framework features, or mentions specific libraries/packages by name.
How this skill is triggered — by the user, by Claude, or both
Slash command
/essentials:skills/documentation-lookupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**When to activate:**
When to activate:
Two-step process:
Search for the library to get its context7 ID:
curl -s "https://context7.com/api/v2/search?query={library_name}" | jq '.results[:3]'
Example - searching for "react":
curl -s "https://context7.com/api/v2/search?query=react" | jq '.results[:3] | .[] | {id, title}'
This returns matching libraries. Use the id field (e.g., /facebook/react or /websites/react_dev).
Use the library ID from step 1:
curl -s "https://context7.com/api/v2/docs/code{library_id}?topic={topic}&page=1"
Example - fetching React hooks docs:
curl -s "https://context7.com/api/v2/docs/code/facebook/react?topic=hooks&page=1"
Parameters:
topic - Focus area (e.g., hooks, routing, authentication)page - Pagination (1-10), use if first page doesn't have enough infoResponse: Returns markdown-formatted documentation snippets with code examples.
Fallback: If context7 doesn't have the library or returns errors, use web search.
npx claudepluginhub krmcbride/claude-pluginsFetches current library documentation, API references, and code examples via Context7 REST API. Use for any library (React, Next.js, Vue, Django, etc.).
Fetches current library docs, API references, framework patterns, and code examples for any library via Context7 REST API. Triggers on 'how to use library', API docs, patterns, import usage.
Fetches up-to-date library/framework docs via Context7 MCP (resolve-library-id, query-docs) for setup questions, API references, code examples.