dist/gemini/skills/looking-up-docs/SKILL.md
Find current, 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 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.
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 Perplexity/web research only when focused docs lookup fails or the question becomes a comparison/trade-off. 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
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, or command-runner recipes. Emphasizes portability, quoting, safe filesystem/process handling, non-TUI CLI tools, ShellCheck, shfmt, Bats, and ShellSpec. NOT for Python, TypeScript, Go, web code, or infrastructure operations.
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.
testing
Author, inspect, troubleshoot, and review infrastructure across IaC, Kubernetes, cloud resources, containers, CI/CD, and Linux hosts. Use when changing Terraform/OpenTofu, Kubernetes, Helm, Kustomize, Dockerfiles, GitHub Actions, AWS, GCP, Cloud Run, BigQuery, IAM, logs, instances, or service health. NOT for deploy/apply/rollback workflows (see deploying-infra). NOT for shell scripts or generic command pipelines (see writing-shell).
development
Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks secret scanning, .gitignore rules, local git config, and guardrails. Use when setting up git hooks, gitleaks/git leaks, staged pre-commit checks, pre-push validation, core.hooksPath, .gitignore, or git config best practices. NOT for creating commits (use committing-code), cleaning branches/worktrees (use cleanup-git), or creating worktrees (use using-git-worktrees).