Our review
Retrieves official library documentation and API references using Context7 MCP.
Strengths
- Direct access to official docs without leaving the IDE.
- Automatic library ID resolution for accurate results.
- Supports multiple modes (code info) for different needs.
Limitations
- Requires an active MCP configuration with Context7.
- May not find obscure or deprecated libraries.
- Relies on Context7 data availability.
Use this skill when you need API signatures, usage examples, or official documentation for a specific library or package.
Do not use it for general programming questions unrelated to a specific library, or for concepts you are already familiar with.
Security analysis
SafeThe skill only instructs an AI to use a documentation-fetching MCP tool; it does not execute system commands, access sensitive data, or perform any destructive actions. No risks identified.
No concerns found
Examples
查下某个 npm 包的 hook 签名,用 context7 搜给我 next.js app router 的官方用法,先用 context7 mcpmongodb driver 的插入示例,走 context7 的文档name: context7-mcp description: Retrieve official library documentation and API references. Use when the user asks for "docs", "API signature", "usage examples", or "how to use" a specific package.
Use Context7 MCP for library APIs
Instructions
- When asked about a library/package API, first resolve it: call
resolve-library-idwith the package name. - If a valid ID is returned, fetch docs with
get-library-docs(modecodefor API/reference;infofor conceptual) and a topic if relevant (e.g., hooks, routing). - Cite snippets from retrieved docs; avoid guessing. Prefer latest page unless user specifies version.
- If multiple matches, pick the closest and mention ambiguity briefly before proceeding.
- If no match, ask for clarification or alternate names instead of inventing APIs.
- Do not rely on memory for API shapes when Context7 docs are available; re-fetch as needed for accuracy.
Example prompts
- "查下某个 npm 包的 hook 签名,用 context7 搜"
- "给我 next.js app router 的官方用法,先用 context7 mcp"
- "mongodb driver 的插入示例,走 context7 的文档"
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.