find-docs
Skill492 starsChanged 4 months agoApache-2.0View on GitHub
Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service — even for well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. Your training data may not reflect recent API changes or version updates.
- Reads credentials
- Installs packages
12 other projects use a version of this, 11 of them edited; 10 of 11 edited versions we compared changed its rules.
How people change it
10 of 11 edited versions changed its rules, and some changes recur.
Of the 11 edited versions we compared: 1 keep every rule, 10 made changes of their own.
Rules people drop
- Run commands with
npx ctx7@latestso setup always uses the latest CLI without a global install:dropped by 10 of 10 - Use the official library name with proper punctuation (e.g., "Next.js" not "nextjs", "Customer.io" not "customerio", "Three.js" not "threejs"). If results look wrong, try alternate spellings such as
next.jsbefore changing the query.dropped by 10 of 10 - If multiple good matches exist, acknowledge this but proceed with the most relevant onedropped by 1 of 10
- If no good matches exist, clearly state this and suggest query refinementsdropped by 1 of 10
- If the user mentions a specific version, use a version-specific library ID:dropped by 1 of 10
- If a command fails with a quota error ("Monthly quota reached" or "quota exceeded"):dropped by 1 of 10
- If they cannot or choose not to authenticate, answer from training knowledge and clearly note it may be outdateddropped by 1 of 10
- Do not silently fall back to training data — always tell the user why Context7 was not used.dropped by 1 of 10
Rules people add
- Use the user's full question as the query when possible, vague one-word queries return generic results.added by 9 of 10
- Make sure the CLI is up to date before running commands:added by 7 of 10
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- rakaarwaky/agents-arwakyedited, first seen Oct 6, 2026
- Enjoyoer/loadoutedited, first seen Sep 30, 2026
- jd-solanki/krutrimboxedited, first seen Sep 27, 2026
- BGLuis/skillsedited, first seen Sep 15, 2026
- J4NN0/skillsedited, first seen Sep 3, 2026
- zcaceres/skillsedited, first seen Aug 19, 2026
Used with
Projects with it also use context7-cli, dispatching-parallel-agents and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
strantalisSkillcontext7-cli
Use the local Context7 CLI in this repo to search libraries and fetch Context7 context for skills or documentation tasks. Trigger when you need to run `c7 search`/`c7 context`, resolve library IDs, or retrieve text/json outputs from Context7 via the CLI.
Also in 3 projects that use this
OpenAISkilldispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Also in 3 projects that use this
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 3 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 1
- upstash/context7★ 63k100% same
Edited · 11
- MorningStar0709/trae-agent-enhancements★ 1856% same
- zcaceres/skills★ 776% same
- aaronbrethorst/claude-skills★ 484% same
- X-FRI/skills★ 276% same
- BGLuis/skills★ 172% same
- jd-solanki/krutrimbox★ 1100% same
- sagnikmitra/skills★ 172% same
- Enjoyoer/loadout★ 069% same
- getlikeman/getlikemanAiFrontendDevelopmentConfig★ 084% same
- J4NN0/skills★ 084% same
1 more not listed
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-browserSkill
- ai-elementsSkill
- autoresearchSkill
- axSkill
- better-iconsSkill
- browser-traceSkill
- codebase-designSkill
- deep-researchSkill
- diagnosing-bugsSkill
- diagram-designSkill
- domain-modelingSkill
- exa-searchSkill
- find-skillsSkill
- get-api-docsSkill
- gpt-tasteSkill
- grillingSkill
- huashu-designSkill
- imagegen-frontend-webSkill
- improve-codebase-architectureSkill
- karpathy-guidelinesSkill
- kimi-webbridgeSkill
- migrate-to-shoehornSkill
- ontoly-software-graphSkill
- planning-with-filesSkill
- ponytailSkill
- product-decision-agentSkill
- prototypeSkill
- tddSkill
- teachSkill
The file
We split this skill into the rules it gives an agent
11 rules. 7 are common, 0 are distinctive, and 4 are very specific to this project.
7
Common
Most of the 11 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Run commands with npx ctx7@latest so setup always uses the latest CLI without a global install:
- Very specific: line 63
Use the official library name with proper punctuation (e.g., "Next.js" not "nextjs", "Customer.io" not "customerio", "Three.js" not …
- Common: line 88
If multiple good matches exist, acknowledge this but proceed with the most relevant one
- Common: line 89
If no good matches exist, clearly state this and suggest query refinements
- Common: line 94
If the user mentions a specific version, use a version-specific library ID:
- Common: line 146
If a command fails with a quota error ("Monthly quota reached" or "quota exceeded"):
- Common: line 149
If they cannot or choose not to authenticate, answer from training knowledge and clearly note it may be outdated
- Common: line 151
Do not silently fall back to training data — always tell the user why Context7 was not used.
- Very specific: line 156
Always run npx ctx7@latest library first — npx ctx7@latest docs react "hooks" will fail without a valid ID
- Very specific: line 157
Use descriptive queries, not single words — "React useEffect cleanup function" not "hooks"
- Common: line 159
Do not include sensitive information (API keys, passwords, credentials) in queries
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Lookup
Retrieve current documentation and code examples for any library using the Context7 CLI.
Run commands with npx ctx7@latest so setup always uses the latest CLI without a global install:
npx ctx7@latest library <name> "<query>"
npx ctx7@latest docs <libraryId> "<query>"Optionally install globally if you prefer a bare ctx7 command:
npm install -g ctx7@latestWorkflow
Two-step process: resolve the library name to an ID, then query docs with that ID.
# Step 1: Resolve library ID
npx ctx7@latest library <name> "<query>"
# Step 2: Query documentation
npx ctx7@latest docs <libraryId> "<query>"You MUST call 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.
Step 1: Resolve a Library
Resolves a package/product name to a Context7-compatible library ID and returns matching libraries.
npx ctx7@latest library React "How to clean up useEffect with async operations"
npx ctx7@latest library "Next.js" "How to set up app router with middleware"
npx ctx7@latest library Prisma "How to define one-to-many relations with cascade delete"Use the official library name with proper punctuation (e.g., "Next.js" not "nextjs", "Customer.io" not "customerio", "Three.js" not "threejs"). If results look wrong, try alternate spellings such as next.js before changing the query.
Always pass a query argument — it is required and directly affects result ranking. Use the user's intent to form the query, which helps disambiguate when multiple libraries share a similar name. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query.
Result fields
Each result includes:
- Library ID — Context7-compatible identifier (format:
/org/project) - Name — Library or package name
- Description — Short summary
- Code Snippets — Number of available code examples
- Source Reputation — Authority indicator (High, Medium, Low, or Unknown)
- Benchmark Score — Quality indicator (100 is the highest score)
- Versions — List of versions if available. Use one of those versions if the user provides a version in their query. The format is
/org/project/version.
Selection process
- Analyze the query to understand what library/package the user is looking for
- Select the most relevant match based on:
- Name similarity to the query (exact matches prioritized)
- Description relevance to the query's intent
- Documentation coverage (prioritize libraries with higher Code Snippet counts)
- Source reputation (consider libraries with High or Medium reputation more authoritative)
- Benchmark score (higher is better, 100 is the maximum)
- If multiple good matches exist, acknowledge this but proceed with the most relevant one
- If no good matches exist, clearly state this and suggest query refinements
- For ambiguous queries, request clarification before proceeding with a best-guess match
Version-specific IDs
If the user mentions a specific version, use a version-specific library ID:
# General (latest indexed)
npx ctx7@latest docs /vercel/next.js "How to set up app router"
# Version-specific
npx ctx7@latest docs /vercel/next.js/v14.3.0-canary.87 "How to set up app router"The available versions are listed in the library command output. Use the closest match to what the user specified.
Step 2: Query Documentation
Retrieves up-to-date documentation and code examples for the resolved library.
npx ctx7@latest docs /facebook/react "How to clean up useEffect with async operations"
npx ctx7@latest docs /vercel/next.js "How to add authentication middleware to app router"
npx ctx7@latest docs /prisma/prisma "How to define one-to-many relations with cascade delete"Writing good queries
The query directly affects the quality of results. Be specific and include relevant details, but keep each query to one topic — if the question spans multiple distinct concepts, run a separate docs command per concept instead of combining them, unless the question is about how the concepts interact. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query.
| Quality | Example |
| Good | "How to set up authentication with JWT in Express.js" |
| Good | "React useEffect cleanup function with async operations" |
| Bad (too vague) | "auth" |
| Bad (too vague) | "hooks" |
| Bad (too broad) | "routing and auth and caching in Next.js" |
Describe what to look up in the library's documentation, rather than the task to complete — vague one-word queries return generic results, and multi-topic queries dilute ranking and return shallow results for each topic.
The output contains two types of content: code snippets (titled, with language-tagged blocks) and info snippets (prose explanations with breadcrumb context).
Authentication
Works without authentication. For higher rate limits:
# Option A: environment variable
export CONTEXT7_API_KEY=your_key
# Option B: OAuth login
npx ctx7@latest loginError Handling
If a command fails with a quota error ("Monthly quota reached" or "quota exceeded"):
- Inform the user their Context7 quota is exhausted
- Suggest they authenticate for higher limits:
npx ctx7@latest login - If they cannot or choose not to authenticate, answer from training knowledge and clearly note it may be outdated
Do not silently fall back to training data — always tell the user why Context7 was not used.
Common Mistakes
- Library IDs require a
/prefix —/facebook/reactnotfacebook/react - Always run
npx ctx7@latest libraryfirst —npx ctx7@latest docs react "hooks"will fail without a valid ID - Use descriptive queries, not single words —
"React useEffect cleanup function"not"hooks" - One topic per query — split
"routing and auth and caching"into a separatedocscommand per concept, unless the question is about how they interact - Do not include sensitive information (API keys, passwords, credentials) in queries
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

