documentation-lookup
Documentation Lookup pulls current docs for libraries, frameworks, and APIs through Context7 MCP, ensuring answers reflect the latest versions rather than training data. Activates automatically when you ask about setup, configuration, API references, or mention specific tools like React, Next.js, or Prisma.
Documentation Lookup fetches current library and framework docs via Context7 MCP instead of relying on training data.
AI-generated summary based on this skill's SKILL.md
Install
affaan-m/ECC/documentation-lookup · repository language: JavaScript
git clone https://github.com/affaan-m/ECC
cp -r ECC/skills/documentation-lookup ~/.claude/skills/documentation-lookupFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I set up Next.js middleware with Documentation Lookup?
Documentation Lookup retrieves current Next.js documentation to guide your middleware setup. When you ask about Next.js middleware configuration, the skill fetches the latest official docs through Context7 MCP, showing you current syntax, file placement, and examples specific to your Next.js version rather than relying on outdated training data.
What frameworks and libraries does Documentation Lookup support?
Documentation Lookup covers major frameworks including React, Next.js, Vue 3, Svelte, Express.js, and libraries like Prisma, Supabase, Tailwind CSS, and React Query. When you mention any of these tools—whether asking about setup, configuration, API references, or version-specific features—the skill automatically activates to pull current documentation.
Can Documentation Lookup provide Prisma query examples with relations?
Yes. Documentation Lookup fetches current Prisma documentation including query patterns with relations, schema definitions, and migrations. When you ask about Prisma queries, the skill retrieves up-to-date code snippets and best practices from official docs rather than relying on training data that may be outdated.
How does Documentation Lookup ensure answers are version-specific?
Documentation Lookup uses Context7 MCP to access current library and framework documentation. When you mention a specific version—like React 19, Next.js 15, or Tailwind CSS—the skill retrieves documentation matching that version, ensuring your setup guides, API references, and code examples reflect exactly what's current for the tools you're using.
What happens when I ask about Supabase authentication methods?
Documentation Lookup automatically fetches current Supabase auth documentation, including available authentication methods, configuration steps, and code examples. Rather than relying on training data, the skill pulls live docs so you get accurate, up-to-date guidance for implementing Supabase auth in your project.
Does Documentation Lookup help with configuration and setup questions?
Yes. Documentation Lookup is designed to resolve setup and configuration questions for frameworks and tools. Whether you're configuring Tailwind CSS, setting up Express.js routing, defining Prisma schemas, or initializing any supported library, the skill fetches official documentation to provide accurate, current configuration guidance.
SKILL.md
rendered from the published skill — quoted content, verbatim
Documentation Lookup (Context7)
When the user asks about libraries, frameworks, or APIs, fetch current documentation via the Context7 MCP (tools resolve-library-id and query-docs) instead of relying on training data.
Core Concepts
- Context7: MCP server that exposes live documentation; use it instead of training data for libraries and APIs.
- resolve-library-id: Returns Context7-compatible library IDs (e.g.
/vercel/next.js) from a library name and query. - query-docs: Fetches documentation and code snippets for a given library ID and question. Always call resolve-library-id first to get a valid library ID.
When to use
Activate when the user:
- Asks setup or configuration questions (e.g. "How do I configure Next.js middleware?")
- Requests code that depends on a library ("Write a Prisma query for...")
- Needs API or reference information ("What are the Supabase auth
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/documentation-lookup/SKILL.md