Back to Skills

documentation-lookup

Use up-to-date library and framework docs via Context7 MCP instead of training data. Activates for setup questions, API references, code examples, or when the user names a framework (e.g. React, Next.js, Prisma).

181,553stars27,983forksUpdated 5/14/2026

Security Assessment

Safe(100/100)
Security Score100/100

About documentation-lookup

The documentation-lookup skill is designed to provide users with accurate and up-to-date information about libraries, frameworks, and APIs by leveraging the Context7 MCP rather than relying on pre-trained knowledge. It addresses the common problem of outdated or incomplete responses in AI systems when users inquire about software setup, code examples, or API references. By dynamically fetching live documentation, the skill ensures that users receive information that reflects the current state of the libraries and frameworks they are working with, including the latest versions and best practices.

This skill offers several core capabilities. It first resolves the correct library or framework identifier using the resolve-library-id tool, ensuring that queries target the proper documentation source. Next, it selects the best match based on name similarity, benchmark scores, source reputation, and version specificity. It then fetches relevant documentation and code snippets via the query-docs tool, while enforcing a limit of three queries per user request to maintain efficiency. The skill integrates examples and references directly from official documentation, allowing users to implement solutions accurately and efficiently. Citations are included where version or library context is relevant, supporting precise guidance in technical tasks.

The documentation-lookup skill is ideal for developers, software engineers, and technical teams who need reliable and current library information during coding, troubleshooting, or learning new frameworks. Common use cases include answering setup or configuration questions, generating code snippets that involve specific libraries, and providing API references for frameworks such as React, Next.js, Prisma, or Supabase. The skill is particularly valuable in environments where accuracy and timeliness are critical, such as live coding sessions, documentation reviews, and developer support platforms configured with Context7 MCP, ensuring that answers reflect the most recent and authoritative sources.

FAQ

When should I use the documentation-lookup skill?

Use this skill whenever you need up-to-date information about a library, framework, or API, such as setup instructions, code examples, or reference documentation.

Which libraries and frameworks are supported?

The skill works with libraries and frameworks mentioned in user queries, including React, Vue, Svelte, Express, Tailwind, Prisma, Supabase, and any others available via the Context7 MCP.

Do I need to specify the library version?

Specifying a version can help the skill select the most relevant documentation, but it will also try to choose the best match based on name, benchmark score, and source reputation if no version is given.

Are there any limits on fetching documentation?

Yes, the skill will not call resolve-library-id or query-docs more than three times per question. If the answer remains unclear, it will provide the best available information without guessing.

Can this skill be used across different AI platforms?

Yes, it works across harnesses configured with Context7 MCP, such as Claude Code, Cursor, and Codex, ensuring consistent access to live documentation.

Install documentation-lookup

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill