skillfed

context7

Context7 pulls up-to-date documentation and real code examples directly from official library sources, covering 1000+ frameworks and tools. Query by library name and topic to get exact API signatures, configuration details, and working patterns for your specific version—no guessing, no hallucinated APIs.

Context7 retrieves current, version-specific API documentation and working code examples directly from official library sources for 1000+ frameworks and libraries.

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

5 0 MIT updated by julianobarbosa

Install

julianobarbosa/claude-code-skills/context7 · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/julianobarbosa/claude-code-skills
cp -r claude-code-skills/skills/context7 ~/.claude/skills/context7

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I look up React documentation with context7?

Context7 lets you query React documentation directly from official sources by library name and version. Search for specific React APIs, hooks, or patterns to get exact signatures and working code examples without hallucinations. The skill covers 1000+ frameworks, so you can pull up-to-date docs for your exact React version before writing code.

Can context7 find version-specific framework documentation?

Yes. Context7 retrieves version-specific framework documentation from official library sources. Whether you need Next.js API reference, Vue.js guides, or TypeScript type definitions for your exact version, context7 queries real documentation to verify correct APIs and patterns before you code.

How do I get real working code examples from source repos?

Context7 pulls working code examples directly from official library documentation and real project repositories. Search by library name and topic to find configuration examples, migration guides, and implementation patterns grounded in actual source material—preventing outdated or hallucinated API patterns.

What libraries and frameworks does context7 support?

Context7 resolves and searches across 1000+ supported libraries via CLI tools. Coverage includes React, Next.js, Vue.js, TypeScript, Prisma, Tailwind CSS, Kubernetes, Go standard library, Python, Node.js, and many more frameworks and tools.

Why should I query official docs before writing code?

Context7 grounds answers in real, current documentation to prevent hallucinated or outdated API patterns. By looking up exact API signatures, configuration details, and working examples from official sources before coding, you avoid bugs and ensure compatibility with your library version.

SKILL.md

rendered from the published skill — quoted content, verbatim

Context7

Query up-to-date, version-specific documentation and code examples directly from source libraries via Context7's documentation aggregation platform.

Why Context7

Benefit Description
Current APIs No hallucinated or outdated patterns - documentation comes from actual sources
Version-Specific Gets docs for exact library versions you're using
Code Examples Real, working code extracted

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

Read as markdown · JSON record · Browse the source repository

File tree — 15 files
skills/context7/SKILL.md
skills/context7/Tools/.gitignore
skills/context7/Tools/bun.lock
skills/context7/Tools/package.json
skills/context7/Tools/src/cli/lookup.ts
skills/context7/Tools/src/cli/query.ts
skills/context7/Tools/src/cli/resolve.ts
skills/context7/Tools/src/index.ts
skills/context7/Tools/src/lib/cache.ts
skills/context7/Tools/src/lib/context7.ts
skills/context7/Tools/src/lib/errors.ts
skills/context7/Tools/src/lib/flags.ts
skills/context7/Tools/tests/cache.test.ts
skills/context7/Tools/tests/errors.test.ts
skills/context7/Tools/tests/flags.test.ts

Related skills

Tags

api-reference-lookup version-pinned-docs source-code-examples library-aggregation hallucination-prevention framework-documentation cli-tool-integration real-project-repos