context7

Fetch library documentation, code examples, and API usage patterns.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/flesler/dotfiles --skill context7-flesler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/flesler/dotfiles/tree/main/home/.cursor/skills/context7
Command: npx skills add https://github.com/flesler/dotfiles --skill context7-flesler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Quickly access library documentation, code samples, and API usage patterns when learning a new framework or solving library-specific questions.

Core Features & Use Cases

  • Retrieve official docs, usage patterns, and code examples for a given library (owner/repo format preferred).
  • Extract API signatures, code snippets, and troubleshooting notes from documentation sources.
  • Use cases include learning a new framework, comparing APIs, and finding practical examples for common tasks.

Quick Start

Provide a library name (owner/repo) and a query to fetch relevant docs and code examples.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I fetch library documentation and code samples for a specific framework?

Fetch library documentation and code samples by providing a library name in owner/repo format along with a query. This retrieves official docs, API signatures, and practical code snippets assembled into actionable results.

What's the best way to find API usage patterns when learning a new framework?

Finding API usage patterns when learning a new framework involves extracting code examples and troubleshooting notes from public documentation. This approach assembles API signatures and usage notes to help you compare interfaces and solve library-specific questions.

Can I get code examples for troubleshooting library-specific questions without reading full documentation?

Yes, retrieving code examples for troubleshooting library-specific questions filters public docs to extract relevant code blocks, API signatures, and notes. This bypasses full documentation reading by assembling targeted, actionable results for your query.

Does fetching docs and usage patterns work for any library or framework?

Fetching docs and usage patterns works for any library with available public documentation and code samples. Providing the library name in owner/repo format ensures accurate retrieval of API signatures and practical examples.

What limitations exist when retrieving API signatures and code snippets from public docs?

Limitations of retrieving API signatures and code snippets include reliance on the availability and quality of public documentation. Results are constrained to existing code samples and may not cover undocumented APIs or edge cases.