context7-search
Installation
SKILL.md
Skill: Context7 Documentation Expert
This skill gives you access to the Context7 API to fetch up-to-date documentation, API references, and code examples. Use this to avoid hallucinations about library versions or API signatures.
When to Use
- Unknown Libraries: When you need to use a library you are not familiar with.
- Version Verification: To check if a specific API exists in the latest version of a library (e.g., Next.js App Router vs Pages Router).
- Debugging: To find official solutions for error messages related to external dependencies.
Workflow (Strict Two-Step Process)
Step 1: Search for Library ID
You MUST search first to resolve the correct libraryId required by the API. Do not guess the ID.
- Command:
./scripts/context7_tool.sh search "<library_name>"