dist/codex/discovery/skills/looking-up-docs/SKILL.md
Find exact, version-correct library/API/framework docs through one lookup workflow. Use when the user says "look up docs", "how to use", "API for", "syntax for", "examples of", "show me the docs", mentions "ctx7"/"Context7", passes a `/org/project` library ID, or needs API signatures, config keys, syntax, examples, or versioned docs. NOT for comparisons, current-state or release-behavior questions, best-practice surveys, or recent ecosystem news — use researching-web.
npx skillsauth add alexei-led/claude-code-config looking-up-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Get grounded, version-correct docs for a library, framework, CLI, or API. Never answer syntax or API questions from memory when lookup tools are available.
Use this skill for:
ctx7, Context7, or /org/project
library-ID requests.Do not use this skill for:
researching-web.Read only what the question needs:
references/context7-cli.md — Context7 lookup commands, selection rules,
limits, and fallbacks.references/official-sources.md — primary docs and registries by ecosystem.references/web-tools.md — platform web tools, query templates, and source
quality rules.Run tiers in order. Stop at the first tier that yields a grounded answer. State which tier produced the answer and whether fallback was used.
Find the exact package, module, CLI, language version, or framework version from local evidence.
If no local version is available, state version unknown and prefer latest
stable official docs. Do not invent a version.
Use references/context7-cli.md for Context7 library resolution and docs fetch.
Best fit: versioned library and framework docs.
Escalate when Context7 is unavailable, rate-limited, returns no useful match after one rephrase and one alternate library name, or returns docs for the wrong version.
Use references/official-sources.md for language standard libraries, package
registries, and canonical project docs. Prefer primary docs or registry-linked
docs for the exact version.
Use web tools only for source discovery. Ground final syntax in URL-cited primary sources.
Use GitHub only when primary docs or registry links are missing, incomplete, or
version-mismatched. Follow references/official-sources.md fallback rules.
Do not treat random issues, PR comments, blogs, or generated summaries as authoritative API docs. Use them only as clues to primary sources.
Use broad web research only to find primary docs after focused lookup fails. If
the question becomes a comparison, trade-off, current-state, or release-behavior
task, stop and route to researching-web. If no grounded source exists, report
the gap, the version needed vs found, and the safest next step.
Return a concise answer, not a workflow transcript, unless the user asks for the lookup process.
Include:
version unknown.If the user asks to describe the workflow, describe the tiers and escalation rules instead of answering from memory.
tools
Use when planning, executing, checkpointing, finishing, or inspecting lightweight spec-driven work. Runs one task at a time using `.spec/` markdown files and the bundled `specctl` helper. NOT for broad product discovery beyond a short requirement interview. NOT for generic implementation planning that does not read or write `.spec/` files.
development
Simple web development with HTML, CSS, JS, and HTMX. Use when working with .html, .css, or .htmx files, web templates, stylesheets, or vanilla JS scripts. NOT for React/Vue/Angular (use writing-typescript) or Node.js backends.
tools
Idiomatic TypeScript development. Use when writing TypeScript code, Node.js services, React apps, or TypeScript design advice. Emphasizes strict typing, boundary validation, composition, fast feedback, behavior tests, and project-configured tooling. NOT for Go, Python, Rust, plain HTML/CSS/JS, or server-rendered templates (use writing-web).
tools
Idiomatic shell development for POSIX sh, Bash, Zsh, Fish, hooks, CI shell steps, and scriptable CLI glue. Use when writing or changing `.sh`, `.bash`, `.zsh`, `.fish`, `.bats`, shell functions, shell pipelines, CI `run:` shell bodies, or command-runner recipes. Emphasizes portability, quoting, safe filesystem/process handling, non-TUI CLI tools, ShellCheck, shfmt, Bats, and ShellSpec. NOT for Python, Rust, TypeScript, Go, web code, or GitHub Actions workflow/job/permissions semantics; use operating-infra.