documentation-lookup▌
upstash/context7 · updated Apr 8, 2026
Fetch current library documentation and code examples instead of relying on training data.
- ›Resolves library names to Context7 documentation IDs, then queries for setup, configuration, and API reference information
- ›Supports major frameworks and libraries: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind, and others
- ›Activates automatically for setup questions, code generation requests, and framework-specific inquiries
- ›Returns version-aware documentation and official
When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
When to Use This Skill
Activate this skill when the user:
- Asks setup or configuration questions ("How do I configure Next.js middleware?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
How to Fetch Documentation
Step 1: Resolve the Library ID
Call resolve-library-id with:
libraryName: The library name extracted from the user's questionquery: The user's full question (improves relevance ranking)
Step 2: Select the Best Match
From the resolution results, choose based on:
- Exact or closest name match to what the user asked for
- Higher benchmark scores indicate better documentation quality
- If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs
Step 3: Fetch the Documentation
Call query-docs with:
libraryId: The selected Context7 library ID (e.g.,/vercel/next.js)query: The user's specific question
Step 4: Use the Documentation
Incorporate the fetched documentation into your response:
- Answer the user's question using current, accurate information
- Include relevant code examples from the docs
- Cite the library version when relevant
Guidelines
- Be specific: Pass the user's full question as the query for better results
- Version awareness: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
- Prefer official sources: When multiple matches exist, prefer official/primary packages over community forks
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.8★★★★★65 reviews- ★★★★★Henry Chawla· Dec 28, 2024
documentation-lookup reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Mia Mensah· Dec 24, 2024
We added documentation-lookup from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Pratham Ware· Dec 20, 2024
documentation-lookup reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Henry Agarwal· Dec 20, 2024
We added documentation-lookup from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Kiara Sanchez· Dec 8, 2024
Useful defaults in documentation-lookup — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Benjamin Sanchez· Dec 4, 2024
documentation-lookup has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Ava Smith· Dec 4, 2024
Keeps context tight: documentation-lookup is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Ava Tandon· Nov 27, 2024
documentation-lookup fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Kiara Nasser· Nov 27, 2024
Registry listing for documentation-lookup matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Benjamin Gupta· Nov 23, 2024
Keeps context tight: documentation-lookup is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 65