looking-up-docs

Fetch version-specific library documentation and code examples via Context7 endpoints.

35|5|Updated Jul 5, 2025
One-click install
npx skills add https://github.com/alexei-led/claude-code-config --skill looking-up-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: looking-up-docs
Source: https://github.com/alexei-led/claude-code-config/tree/main/skills/looking-up-docs
Command: npx skills add https://github.com/alexei-led/claude-code-config --skill looking-up-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the frustration of outdated or hallucinated code examples by pulling accurate, version-specific documentation directly from source libraries, ensuring you always have the right API reference.

Core Features & Use Cases

  • Version-Accurate API Docs: Get documentation for the exact library version you're using, not generic examples.
  • Structured Code Examples: Access real, working code snippets from official documentation for frameworks like React, Next.js, and Go's stdlib.
  • Use Case: Imagine you're implementing a React hook and can't remember the exact API. Use this Skill to instantly fetch the official useEffect documentation with the correct dependency array syntax for React 18.

Quick Start

Use the looking-up-docs skill to find the official documentation and code examples for the useState hook in React.

Frequently Asked Questions about looking-up-docs

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

FAQPage Schema
How do I fetch documentation for a specific library version I'm using?

Fetch version-specific library documentation by resolving the library identifier and retrieving its docs via Context7 endpoints. This pulls accurate API references and code examples for the exact version you need, eliminating outdated or hallucinated examples.

Can I get real code examples from official documentation for frameworks like React?

Yes, this Skill accesses structured code examples from official framework documentation. Retrieve working snippets for libraries like React, Next.js, and Go's stdlib with correct syntax for your target version.

What's the best way to find the correct API reference when I can't remember the exact syntax?

Use this Skill to instantly fetch official API documentation with the exact syntax you need. Specify the library, version, and topic—pagination and mode support help narrow results to precisely what you're implementing.

Does this work with API references and framework documentation?

Yes, it handles API references, framework docs, and code examples. The Skill supports topic and mode parameters to target specific documentation sections and return paginated results for any library managed through Context7.

How do I resolve a library identifier to retrieve its documentation?

The Skill uses the resolve-library-id endpoint to identify the library from your input, then calls get-library-docs to fetch current documentation. This two-step process ensures you're pulling docs for the correct, up-to-date library version.