Docs Lookup
Use this skill when correctness depends on current documentation or routed
operational context rather than training memory. This is especially important
for APIs, SDKs, CLIs, frameworks, cloud services, deployment platforms, package
managers, access paths, and version-specific behavior.
Trigger Examples
Use this skill for:
- "how do I use <library/API/framework>"
- latest/current/default behavior, model, parameter, config, or migration docs
- SDK method names, request/response shapes, auth setup, webhooks, billing,
deployment, package publishing, or CI configuration
- bug fixes where a library, provider, or CLI may have changed behavior
- tasks that involve fast-moving ecosystems where the agent's internal training
data may be stale or imprecise.
- tasks that mention Odoo, JetBrains APIs, Next.js, React, Prisma, Mantine,
Docker, GitHub Actions, uv, PyPI, Dokploy, Launchplane, Stripe, Shopify,
RepairShopr, Fishbowl, or similar tools.
- tasks that ask where to make private DNS or Cloudflare changes, such as
verification records, zone ownership, token location, or provider access
paths.
- tasks that need a credential, API token, or secret: where it is stored, which
repo owns it, how to validate it, or how to rotate it.
- tasks where the answer depends on environment-specific operational context or
discovering source-of-truth docs or access paths for private operations.
Do not use this skill for stable local repo facts that can be answered directly
from checked-in code or docs.
Do not use this skill to perform infrastructure actions, API mutations,
operator workflows, rollback/snapshot decisions, or production-impacting
changes. Use the owning operator skill such as infra-ops or launchplane
after docs and authority are discovered.
Source Order
Prefer sources in this order:
- Configured local operational context when the task depends on this specific
private environment's setup, access path, or source of truth.
- Local repo docs and source for project-specific behavior.
- Official product or project docs.
- Official API references, release notes, migration guides, changelogs, and
source repositories.
- Package registry pages only for package metadata or version facts.
- Trusted community sources only when official docs are missing, clearly
incomplete, or the user explicitly wants ecosystem practice.
For OpenAI products and APIs, use openai-docs; it supersedes this general
docs workflow for OpenAI-specific questions.
For provider or infrastructure tasks, route by source of truth rather than
provider name. Use official docs for generic behavior, local context routing for
this environment's setup or access path, and the owning operator skill for
read-only inventory, managed product/runtime state, production checks, or
mutations.
This skill may identify the source-of-truth route and relevant docs. Once the
request needs live tenant/account identity, current record or runtime inventory,
health evidence, production status, or any mutation, switch to the owning
operator skill such as infra-ops or launchplane.
Local Operational Context
Use local operational context when the task is about how this particular
environment is configured, reached, mutated, verified, or owned. Do not infer
that a product repo, cloud provider, dashboard, deployment platform, or browser
session is the source of truth until the configured local context route has been
checked or ruled out.
For private DNS or Cloudflare requests, such as adding a verification CNAME or
TXT record or finding where provider access is configured, use this skill only
to find the configured local infrastructure source of truth. Then hand live
record inspection or mutation to infra-ops. Do not search product repo .env
files, shell history, or common token locations as a first move.
Keep the skill guidance conceptual. Do not add local service names, hostnames,
tokens, account details, topology, or private repo inventories to public skills.
Those facts belong in the configured local information source.
If a session discovers that local operational context is missing, stale,
misleading, or newly changed, do not leave that discovery only in chat. Route a
durable capture back to the configured local information source. Start read-only
unless the user has approved mutation; if updating that source is not approved,
record the need as a private-safe follow-up without copying private facts into
public issues, PRs, docs, or summaries.
Workflow
- Identify the exact technology, version, language, and task. If the version is
missing and matters, inspect local manifests first (
package.json,
pyproject.toml, uv.lock, Cargo.toml, go.mod, Dockerfiles, CI files).
- If the task depends on private/local operational state, read the configured
local context route before following provider-specific or product-repo clues.
If the task asks you to inspect, operate, validate, or mutate infrastructure,
switch to the owning operator skill after identifying the docs/access path.
- Search current docs. Use primary sources; when searching the web, use precise
queries and official-domain filters where possible.
- Fetch the specific page or section needed. Avoid broad summaries when a
reference page, migration note, or release note answers the question.
- Compare docs against local code before editing. If docs and repo behavior
disagree, call out the mismatch and avoid broad changes until the intended
contract is clear.
- Answer or implement narrowly using the sourced behavior.
- Cite the sources used in the response when the user asked for an answer,
when the fact is unstable, or when source attribution will help future work.
Optional Docs CLIs
If a documentation CLI is available and fits the task, it may be used as a
source-finding helper, but do not make it the only path.
- Context7/ctx7: useful for library and framework docs.
- chub/Context Hub: useful for third-party API and SDK docs.
- Vendor MCP docs tools: use them when they are installed and official.
Do not install a global docs CLI just to answer a small question unless the user
asked for it or the task will clearly benefit. If a docs CLI query could include
private code, credentials, customer data, or proprietary architecture, rewrite
the query to remove sensitive details.
Repo Routing
If the current repo has .github/github.json with a docs block,
use those repo-relative paths as the primary local routing targets before
falling back to repo-root search. Prefer docs.index as the entry point, then
relevant semantic paths such as docs.architecture, docs.operations,
docs.style, or docs.policies.
Always check the repository's AGENTS.md before using external docs for
local-specific architecture or operational questions. Treat README files as
human-facing by default, but keep them as a normal local fallback when repo
metadata and AGENTS.md do not cover the needed operational or architecture
context. When README carries agent-operational guidance that is not captured in
AGENTS.md or repo metadata, note that as a repo-docs follow-up instead of
ignoring it.
For technology-specific routing, including optional local infrastructure docs,
see references/routing.md.
Quality Rules
- Do not invent API parameters, model names, config keys, pricing, limits,
availability, or migration requirements.
- Preserve explicit user targets. If the user asks for a specific version,
answer for that version and mention newer guidance separately only when useful.
- Prefer short quotes and paraphrase. Keep citations close to the claims they
support.
- If sources disagree, cite both and explain the difference.
- If docs are unavailable or inconclusive, say so and give the safest next
verification step.
- Keep sourced changes narrow; do not turn docs lookup into an unrelated
dependency upgrade or migration.
1---2name: docs-lookup3description: Use when the answer depends on external docs or environment-specific operational context rather than local repo code alone; includes discovering source-of-truth docs and access paths for private operations such as DNS or Cloudflare records, and finding where a credential, API token, or secret is stored, but not performing infrastructure actions or mutations.4---56# Docs Lookup78Use this skill when correctness depends on current documentation or routed9operational context rather than training memory. This is especially important10for APIs, SDKs, CLIs, frameworks, cloud services, deployment platforms, package11managers, access paths, and version-specific behavior.1213## Trigger Examples1415Use this skill for:1617- "how do I use <library/API/framework>"18- latest/current/default behavior, model, parameter, config, or migration docs19- SDK method names, request/response shapes, auth setup, webhooks, billing,20 deployment, package publishing, or CI configuration21- bug fixes where a library, provider, or CLI may have changed behavior22- tasks that involve fast-moving ecosystems where the agent's internal training23 data may be stale or imprecise.24- tasks that mention Odoo, JetBrains APIs, Next.js, React, Prisma, Mantine,25 Docker, GitHub Actions, uv, PyPI, Dokploy, Launchplane, Stripe, Shopify,26 RepairShopr, Fishbowl, or similar tools.27- tasks that ask where to make private DNS or Cloudflare changes, such as28 verification records, zone ownership, token location, or provider access29 paths.30- tasks that need a credential, API token, or secret: where it is stored, which31 repo owns it, how to validate it, or how to rotate it.32- tasks where the answer depends on environment-specific operational context or33 discovering source-of-truth docs or access paths for private operations.3435Do not use this skill for stable local repo facts that can be answered directly36from checked-in code or docs.3738Do not use this skill to perform infrastructure actions, API mutations,39operator workflows, rollback/snapshot decisions, or production-impacting40changes. Use the owning operator skill such as `infra-ops` or `launchplane`41after docs and authority are discovered.4243## Source Order4445Prefer sources in this order:46471. Configured local operational context when the task depends on this specific48 private environment's setup, access path, or source of truth.492. Local repo docs and source for project-specific behavior.503. Official product or project docs.514. Official API references, release notes, migration guides, changelogs, and52 source repositories.535. Package registry pages only for package metadata or version facts.546. Trusted community sources only when official docs are missing, clearly55 incomplete, or the user explicitly wants ecosystem practice.5657For OpenAI products and APIs, use `openai-docs`; it supersedes this general58docs workflow for OpenAI-specific questions.5960For provider or infrastructure tasks, route by source of truth rather than61provider name. Use official docs for generic behavior, local context routing for62this environment's setup or access path, and the owning operator skill for63read-only inventory, managed product/runtime state, production checks, or64mutations.6566This skill may identify the source-of-truth route and relevant docs. Once the67request needs live tenant/account identity, current record or runtime inventory,68health evidence, production status, or any mutation, switch to the owning69operator skill such as `infra-ops` or `launchplane`.7071## Local Operational Context7273Use local operational context when the task is about how this particular74environment is configured, reached, mutated, verified, or owned. Do not infer75that a product repo, cloud provider, dashboard, deployment platform, or browser76session is the source of truth until the configured local context route has been77checked or ruled out.7879For private DNS or Cloudflare requests, such as adding a verification CNAME or80TXT record or finding where provider access is configured, use this skill only81to find the configured local infrastructure source of truth. Then hand live82record inspection or mutation to `infra-ops`. Do not search product repo `.env`83files, shell history, or common token locations as a first move.8485Keep the skill guidance conceptual. Do not add local service names, hostnames,86tokens, account details, topology, or private repo inventories to public skills.87Those facts belong in the configured local information source.8889If a session discovers that local operational context is missing, stale,90misleading, or newly changed, do not leave that discovery only in chat. Route a91durable capture back to the configured local information source. Start read-only92unless the user has approved mutation; if updating that source is not approved,93record the need as a private-safe follow-up without copying private facts into94public issues, PRs, docs, or summaries.9596## Workflow97981. Identify the exact technology, version, language, and task. If the version is99 missing and matters, inspect local manifests first (`package.json`,100 `pyproject.toml`, `uv.lock`, `Cargo.toml`, `go.mod`, Dockerfiles, CI files).1012. If the task depends on private/local operational state, read the configured102 local context route before following provider-specific or product-repo clues.103 If the task asks you to inspect, operate, validate, or mutate infrastructure,104 switch to the owning operator skill after identifying the docs/access path.1053. Search current docs. Use primary sources; when searching the web, use precise106 queries and official-domain filters where possible.1074. Fetch the specific page or section needed. Avoid broad summaries when a108 reference page, migration note, or release note answers the question.1095. Compare docs against local code before editing. If docs and repo behavior110 disagree, call out the mismatch and avoid broad changes until the intended111 contract is clear.1126. Answer or implement narrowly using the sourced behavior.1137. Cite the sources used in the response when the user asked for an answer,114 when the fact is unstable, or when source attribution will help future work.115116## Optional Docs CLIs117118If a documentation CLI is available and fits the task, it may be used as a119source-finding helper, but do not make it the only path.120121- Context7/ctx7: useful for library and framework docs.122- chub/Context Hub: useful for third-party API and SDK docs.123- Vendor MCP docs tools: use them when they are installed and official.124125Do not install a global docs CLI just to answer a small question unless the user126asked for it or the task will clearly benefit. If a docs CLI query could include127private code, credentials, customer data, or proprietary architecture, rewrite128the query to remove sensitive details.129130## Repo Routing131132If the current repo has `.github/github.json` with a `docs` block,133use those repo-relative paths as the primary local routing targets before134falling back to repo-root search. Prefer `docs.index` as the entry point, then135relevant semantic paths such as `docs.architecture`, `docs.operations`,136`docs.style`, or `docs.policies`.137138Always check the repository's `AGENTS.md` before using external docs for139local-specific architecture or operational questions. Treat README files as140human-facing by default, but keep them as a normal local fallback when repo141metadata and `AGENTS.md` do not cover the needed operational or architecture142context. When README carries agent-operational guidance that is not captured in143`AGENTS.md` or repo metadata, note that as a repo-docs follow-up instead of144ignoring it.145146For technology-specific routing, including optional local infrastructure docs,147see `references/routing.md`.148149## Quality Rules150151- Do not invent API parameters, model names, config keys, pricing, limits,152 availability, or migration requirements.153- Preserve explicit user targets. If the user asks for a specific version,154 answer for that version and mention newer guidance separately only when useful.155- Prefer short quotes and paraphrase. Keep citations close to the claims they156 support.157- If sources disagree, cite both and explain the difference.158- If docs are unavailable or inconclusive, say so and give the safest next159 verification step.160- Keep sourced changes narrow; do not turn docs lookup into an unrelated161 dependency upgrade or migration.