dist/claude/plugins/dev-tools/skills/looking-up-docs/SKILL.md
Find current, factual library/API/framework documentation through a tool-fallback chain. Use when the user says "look up docs", "how to use", "API for", "syntax for", "examples of", "show me the docs", or wants the latest/current/actual behavior of a library, framework, CLI, or API. NOT for comparisons, best-practice surveys, or recent ecosystem news — use researching-web. NOT for raw ctx7 CLI mechanics — that is context7-cli.
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 documentation for a library, framework, CLI, or API. Training data goes stale; never answer syntax or API questions from memory when a lookup tool is available.
This skill owns the lookup flow. Tool mechanics live elsewhere: ctx7 command
detail is in the context7-cli skill; exact per-platform web tool names are in
references/web-tools.md.
Use this skill for:
Do not use this skill as the primary workflow for:
researching-web.Run the tiers in order. Stop at the first tier that yields a grounded answer. State which tier produced the answer and whether any fallback was used.
ctx7)Best for versioned library and framework docs. Follow the context7-cli
workflow: identify the library and version from project files, resolve a
library ID with ctx7 library, then fetch docs with ctx7 docs. Show the
exact commands. See the context7-cli skill for command detail and limits.
Escalate to Tier 2 when: ctx7 is unavailable or not on PATH and the
package-runner fallback also fails; the CLI hits a rate or auth limit; or it
returns no useful match after one rephrase and one alternate library name.
Best for official docs, release notes, and current behavior not covered by
Context7. Query Perplexity with a focused, version-qualified question and
require URL-cited sources. The exact tool differs per platform — Perplexity MCP
on Claude, Codex, and Gemini; the Perplexity-backed web provider on Pi. See
references/web-tools.md.
Escalate to Tier 3 when: Perplexity is unavailable or unconfigured; it returns no usable citation; or the answer needs a specific page fetched verbatim.
Last resort. Every supported agent ships native web search and fetch: Claude
WebSearch + WebFetch; Codex built-in web search; Gemini google_web_search
web_fetch; Pi web_search / web_research. See references/web-tools.md
for exact identifiers. Find the official documentation URL, fetch it, and
ground the answer in the fetched page. Quote only the relevant part and cite
the URL.For a docs lookup, return:
If the user asks to describe the workflow, describe these tiers and the 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.