context7-docs
Installation
SKILL.md
Context7 Documentation Lookup
Overview
Context7 provides up-to-date, version-specific documentation and code examples for thousands of programming libraries and frameworks. Use this skill whenever you need current documentation that may differ from your training data — especially for fast-moving libraries like Next.js, React, Supabase, LangChain, etc.
When to Use This Skill
- The user asks about a library's API and you're unsure if your knowledge is current
- The user requests code examples for a specific library version
- The user asks for setup, configuration, or migration guides
- The user mentions "use context7" or asks for up-to-date docs
- You need to verify whether an API or method still exists in the latest version
Two-Step Workflow
Step 1: Resolve the Library ID
First, find the Context7-compatible library ID for the library the user is asking about.