← ClaudeAtlas

find-library-docslisted

Find current documentation, API references, and code examples for libraries, frameworks, SDKs, CLI tools, and cloud services. Use when answering or implementing work that depends on technology-specific APIs, configuration, setup, migrations, or debugging behavior. Match documentation to the relevant version.
itsjavi/skills · ★ 1 · Data & Documents · score 74
Install: claude install-skill itsjavi/skills
# Library Documentation Lookup Retrieve current documentation and code examples using the Context7 CLI. Verify API details against documentation for the relevant version. Use the library's official documentation or source repository when Context7 is unavailable or incomplete, following the error handling guidance below. Prefer running without global installation: ```bash npx ctx7@latest <command> ``` Do not install or upgrade the CLI globally unless the user explicitly asks. ## Workflow Two-step process: resolve the library name to an ID, then query docs with that ID. ```bash # 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. Run Context7 CLI requests outside Codex's default sandbox. If a Context7 CLI command fails with DNS or network errors such as ENOTFOUND, host resolution failures, or fetch failed, rerun it outside the sandbox instead of retrying inside the sandbox. ## Step 1: Resolve a Library Resolves a package/product name to a Context7-compatible library ID and returns matching libraries. ```bash ctx7 library react "How to clean up useEffect with async operations" ctx7 lib