context7-docs
Skill0 starsChanged 8 days agoMITView on GitHub
Look up current, version-specific docs for a third-party library, framework, SDK, CLI or cloud service through the Context7 MCP before writing, configuring, upgrading or debugging code that uses it. Use it whenever the task touches an external package's API or config (FastAPI, SQLAlchemy, Pydantic, React, TanStack Query, Vite, TypeScript, Azure SDKs, Bicep and the like), and especially when a version is named or pinned, a major version changed, an option may have been renamed or removed, or an error comes from inside a library. Use it even when you feel sure of the API, because confident code against an older version is the usual failure. Skip it for language built-ins, plain algorithms, SQL, and code that only touches the project's own modules.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- UsmanBuk/skillsword for word, first seen Nov 29, 2026
- phntm7/skillstheir own version, first seen Nov 1, 2026
- valtterimelkko/agent-workflow-skillstheir own version, first seen Sep 30, 2026
- ci4me/CQRSTemplatetheir own version, first seen May 20, 2026
- wsm94/gi-claude-skillstheir own version, first seen Feb 26, 2026
Other versions5 projects use a version of this.
Word for word · 1
- UsmanBuk/skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 4
- valtterimelkko/agent-workflow-skills★ 3same name
- wsm94/gi-claude-skills★ 2same name
- phntm7/skills★ 1same name
- ci4me/CQRSTemplate★ 0same name
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 repository11 other files it gives its agents.
- bugfixSkill
- claude-fable-reviewSkill
- create-verification-skillSkill
- deslopSkill
- gauntletSkill
- isolated-worktree-dbSkill
- leaderSkill
- maintain-verification-skillSkill
- old-coderSkill
- simplifySkill
- unslopSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 4 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 12
Find the version in use: Read the project's pin (pyproject.toml/uv.lock, package.json/lockfile, go.mod, etc.) or take it from the user's …
- Very specific: line 13
Resolve the library: Call the Context7 MCP tool resolve-library-id (in Claude Code: mcp__context7__resolve-library-id) with the library …
- Very specific: line 14
Query the docs: Call query-docs (in Claude Code: mcp__context7__query-docs) with that ID and a specific question, such as "async engine …
- Very specific: line 17
If Context7 doesn't index the library, or the result is thin, fall back to web search, the package's changelog, or the installed source …
“Common” is measured: kept by at least 6 in 10 of the 4 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
Context7 documentation lookup
Library APIs move faster than training data. Code that looks right but targets an older version (a renamed option, a removed flag, a changed signature) is the most common way library code goes wrong, and it fails late. Context7 serves the library's current docs and examples, so check there before writing against the API.
Steps
- Find the version in use. Read the project's pin (
pyproject.toml/uv.lock,package.json/lockfile,go.mod, etc.) or take it from the user's message. If nothing pins it, assume the latest release. - Resolve the library. Call the Context7 MCP tool
resolve-library-id(in Claude Code:mcp__context7__resolve-library-id) with the library name and what you are trying to do. Pick the match by name, reputation and snippet count. If it lists versions, use the/org/project/versionID that matches step 1. - Query the docs. Call
query-docs(in Claude Code:mcp__context7__query-docs) with that ID and a specific question, such as "async engine dispose in a FastAPI lifespan handler" rather than "lifespan". - Write the code from what came back. Where the docs and your memory disagree, the docs win. Mention briefly which version you checked.
If Context7 doesn't index the library, or the result is thin, fall back to web search, the package's changelog, or the installed source (e.g. site-packages/<pkg>, node_modules/<pkg>), which is ground truth for the installed version.
Limits
- At most 3 Context7 calls per question; then use the best result you have.
- One lookup per library per task is usually enough. Don't re-query for every line.
- Skip it for language built-ins, standard algorithms, and code that only calls the project's own modules.
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.

