skillfed

documentation-lookup

Documentation-lookup pulls live reference material for popular frameworks and libraries when you need setup guidance, API details, or code examples. It resolves library identifiers and retrieves version-specific documentation to ensure your answers stay current and accurate.

Documentation-lookup fetches current library and framework docs to answer setup, API, and code questions accurately.

AI-generated summary based on this skill's SKILL.md

5,778 549 Apache-2.0 updated by Klavis-AI

Install

Klavis-AI/klavis/documentation-lookup · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/Klavis-AI/klavis
cp -r klavis/mcp_servers/context7/plugins/claude/context7/skills/documentation-lookup ~/.claude/skills/documentation-lookup

Frequently 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 middleware setup guides directly from official sources. The skill fetches live documentation to show you the latest middleware configuration patterns, routing rules, and request/response handling examples specific to your Next.js version, ensuring you get accurate setup instructions rather than relying on potentially outdated training data.

Can documentation-lookup find React component examples?

Yes. Documentation-lookup specializes in locating React component examples from official documentation. It resolves React library names to their correct documentation sources and retrieves version-aware code snippets, API references, and component patterns so you can see current best practices and syntax for your specific React version.

What frameworks and libraries does documentation-lookup support?

Documentation-lookup covers popular frameworks including React, Vue, Next.js, Express.js, Svelte, Prisma, Supabase, Tailwind CSS, and Vercel. The skill fetches live reference material for setup guidance, API details, and code examples across these ecosystems, with version awareness to ensure documentation matches your project needs.

How does documentation-lookup ensure code examples are current?

Documentation-lookup pulls live reference material from official framework and library sources instead of relying on training data. It resolves library identifiers with version awareness, retrieving documentation specific to your framework version. This approach guarantees that code snippets, API references, and configuration guidance reflect the latest releases and best practices.

Can documentation-lookup help with library configuration?

Documentation-lookup excels at providing setup and configuration guidance for development tools and libraries. Whether you need Prisma schema setup, Supabase authentication methods, or Tailwind CSS utility class references, the skill fetches official documentation to give you accurate, version-specific configuration instructions tailored to your project.

What's the fastest way to find API reference documentation?

Documentation-lookup is designed as an API reference lookup tool that quickly resolves library names to correct documentation sources. Simply ask for the API reference you need—whether it's Express.js endpoints, Vue 3 composition API, or any supported framework—and documentation-lookup retrieves the current official documentation with code examples and parameter details.

SKILL.md

rendered from the published skill — quoted content, verbatim

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 question
  • query: 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

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
mcp_servers/context7/plugins/claude/context7/skills/documentation-lookup/SKILL.md

Related skills

Tags

framework-reference api-documentation code-snippet-lookup library-resolver version-aware-docs dev-resource-finder setup-configuration current-documentation