documentation-lookup

Fetch current library and framework documentation via Context7 MCP.

1|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/PedroHBO/opencode-config-skills --skill documentation-lookup-pedrohbo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-lookup
Source: https://github.com/PedroHBO/opencode-config-skills/tree/main/skills/documentation-lookup
Command: npx skills add https://github.com/PedroHBO/opencode-config-skills --skill documentation-lookup-pedrohbo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Context7 MCP-powered lookup replaces stale training data by fetching current library and framework docs on demand.

Core Features & Use Cases

  • Live docs lookup for libraries and frameworks via Context7 MCP.
  • Supports setup, API references, code examples, and deprecation checks.
  • Citations from official docs with on-demand redaction of secrets.

Quick Start

Ask OpenCode to fetch the latest docs for a library or framework using Context7 MCP.

Frequently Asked Questions about documentation-lookup

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

FAQPage Schema
How do I fetch live library documentation to replace outdated training data?

Fetch live library documentation by querying Context7 MCP to replace outdated training data. The skill retrieves current API references and code examples on demand, ensuring your context window contains accurate, up-to-date framework details.

Can I get official API references and setup examples for frameworks like React and Next.js?

Yes, you can get official API references and setup examples for frameworks like React and Next.js. The skill resolves the library ID and queries Context7 MCP, returning cited documentation directly from official sources.

How does Context7 lookup handle sensitive data in user queries?

Context7 lookup handles sensitive data by applying on-demand redaction to user queries before fetching documentation. This ensures secrets are stripped out while still retrieving the necessary library and framework setup instructions.

What is the best way to check for deprecations in a library or framework?

The best way to check for deprecations is to fetch the latest official docs via Context7 MCP. By querying current documentation on demand, you bypass stale training data and get accurate deprecation notices for your specified library.

Does the documentation lookup skill work for Prisma and other specific libraries?

Yes, the documentation lookup works for Prisma and other named libraries. It uses a resolve-library-id step to obtain the correct identifier before calling query-docs, fetching live setup and API details for any supported framework.