documentation-lookup

Fetches current library and framework documentation via Context7 MCP tools.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Femad-6/my-skills --skill documentation-lookup-femad-6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-lookup
Source: https://github.com/Femad-6/my-skills/tree/main/.github/skills/documentation-lookup
Command: npx skills add https://github.com/Femad-6/my-skills --skill documentation-lookup-femad-6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI training data becomes outdated, so answers about libraries, frameworks, and APIs can be wrong or stale. This Skill retrieves live, up-to-date documentation through the Context7 MCP server instead of relying on memorized knowledge. ## Core Features & Use Cases - Library Resolution: Converts a library name (e.g. Next.js, Prisma, Supabase) into a Context7-compatible library ID using the resolve-library-id tool. - Live Documentation Queries: Fetches current docs and code snippets with the query-docs tool, including version-specific IDs when available. - Use Case: When a user asks "How do I configure Next.js middleware?", the Skill resolves the Next.js library ID, queries the live docs, and answers with a current middleware.ts example rather than outdated training data. ## Quick Start Ask how to set up middleware in Next.js and have the answer fetched from the current official documentation via Context7.

Frequently Asked Questions about documentation-lookup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get up-to-date library documentation in an AI assistant?

Use the Context7 MCP server, which exposes resolve-library-id and query-docs tools. First resolve the library name to a Context7 ID, then query the live docs with your specific question to get current snippets and references.

How does Context7 resolve-library-id work?

resolve-library-id takes a library name and the user's query, then returns Context7-compatible IDs in the format /org/project. You pick the best match by name similarity, benchmark score, and source reputation before calling query-docs.

Can I query docs for a specific framework version like Next.js 15?

Yes. When the user mentions a version, prefer a version-specific library ID from the resolution results, such as /org/project/v1.2.0. Then pass that ID to query-docs so the returned documentation matches the requested version.

Which AI tools support the Context7 MCP integration?

Any harness with the Context7 MCP configured can use it, including Claude Code, Cursor, and Codex. The skill activates whenever a question depends on accurate, current behavior of a library, framework, or API.

What are the limitations of querying docs through Context7?

The skill limits itself to three resolve or query calls per question. If the answer remains unclear after three calls, it states the uncertainty and uses the best available information rather than guessing.