find-docs
find-docs fetches up-to-date documentation, API references, and code examples for developer libraries and frameworks. It resolves package names to library IDs, then queries current docs—ideal when training data may be outdated or you need the latest API details.
find-docs retrieves current API documentation and code examples for any library or framework using the Context7 CLI.
AI-generated summary based on this skill's SKILL.md
Install
sammcj/agentic-coding/find-docs · repository language: HTML
git clone https://github.com/sammcj/agentic-coding
cp -r agentic-coding/Skills/find-docs ~/.claude/skills/find-docsFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I find documentation for a library using find-docs?
find-docs retrieves up-to-date documentation, API references, and code examples for developer libraries and frameworks. Simply provide the library or package name, and find-docs resolves it to the correct library ID, then queries current docs—ensuring you always get the latest API details rather than relying on potentially outdated training data.
Can find-docs look up API reference for React or other frameworks?
Yes. find-docs specializes in fetching current API documentation and code examples for popular libraries and frameworks like React, Next.js, Express.js, Prisma ORM, and many others. It's designed to provide version-specific documentation and implementation patterns so you can access the most recent reference material available.
Where can I find SDK documentation and CLI tool docs?
find-docs can retrieve documentation for SDKs, CLI tools, and cloud services. Whether you're looking for cloud service API docs or command-line tool references, find-docs resolves package names and fetches current documentation to help you find the information you need quickly.
How do I find docs for a specific version of an npm package?
find-docs supports retrieval of version-specific documentation for packages. When you query find-docs with a package name, it can help you access documentation tailored to the version you're working with, ensuring your code examples and API references match your actual implementation.
What makes find-docs better than searching training data?
find-docs fetches live, up-to-date documentation instead of relying on static training data that may be outdated. This is especially valuable for rapidly evolving frameworks and libraries where API changes, new features, and deprecations happen frequently. You get current code examples and the latest API details.
Can find-docs search for library usage examples and patterns?
Yes. find-docs retrieves usage examples and implementation patterns alongside API references. Whether you need code samples for Express.js, Next.js app router patterns, or Prisma ORM examples, find-docs helps you find practical, up-to-date guidance for your development work.
SKILL.md
rendered from the published skill — quoted content, verbatim
Documentation Lookup
Retrieve current documentation and code examples for any library using the Context7 CLI.
Run the context7 CLI directly like so:
pnpx ctx7@latest <command>
Workflow
Two-step process: resolve the library name to an ID, then query docs with that ID.
# Step 1: Resolve library ID
ctx7 library <name> <query>
# Step 2: Query documentation
ctx7 docs <libraryId> <query>
You MUST call ctx7 library first to obtain a valid library ID UNLESS the user explicitly provides a library ID in the format /org/project or /org/project/version.
IMPORTANT: Do not run these commands more than 3 times per question. If you cannot find what you need after 3 attempts, use the best result you have.
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
Skills/find-docs/SKILL.md