context7
Installation
SKILL.md
Context7 Skill
Use this skill when the task needs current library or framework documentation, version-specific API usage, setup guidance, code examples, or troubleshooting for a programming package.
Core Rule
Use the mcporter skill to discover a configured Context7-capable MCP server, then call it by the selected server name. Do not require a particular gateway, server name, URL, credential, or native Context7 wrapper syntax.
Tool Choice
- Use
Context7-resolve-library-idfirst when the user names a package, framework, product, or library without an exact Context7 ID. - Use
Context7-query-docswhen you have a Context7-compatiblelibraryId. - Skip resolution only when the user already provides a valid ID like
/vercel/next.js,/vercel/next.js/v15.1.8, or/vercel/next.js@v15.1.8. - Keep each docs query scoped to one concept. Split broad requests into separate calls.