Looking up docs

From alexei-led/cc-thingz · View interactive version

Looking up docs is an AI agent skill from the GitHub repository alexei-led/cc-thingz. <!-- Use installed tool names. Discover callable tools before batching independent calls in codemode; model-only UI/orchestration tools must be called directly. -->

How to use this skill

Skill file

<!-- Pi platform guidance -->

<!-- Use installed tool names. Discover callable tools before batching independent calls in codemode; model-only UI/orchestration tools must be called directly. -->

<!-- Read required skill/instruction files through direct read when exposed or through Code Mode. If an optional pruning extension is installed, verify its output protection semantics; do not assume nested-path protection. Code Mode composes calls; subagents or controllers own durable workflows. Async subagents notify natively: yield rather than poll. -->

Documentation Lookup

Answer API, syntax, and config questions from version-correct sources. When a

lookup tool is available, do not answer syntax from memory.

Never put secrets, credentials, personal data, private payloads, or proprietary

code into an external query. Strip them and still look up the public docs; if

the question cannot be asked without them, answer from local context and say

so.

Lookup chain

Stop at the first tier that grounds the answer.

lockfiles, or tool output. If there is none, say version unknown and use

the latest stable docs. Never invent a version.

Treat Tier 1 as exhausted when Context7 is unavailable, rate-limited, returns

the wrong version, or finds nothing after one rephrase and one alternate

library name.

references/official-sources.md. Use web

search only to discover primary sources (the researching-web skill covers

platform web tools), then cite the primary URL.

missing, incomplete, or version-mismatched. Issues, PR comments, blogs, and

generated summaries are clues, not authority.

and the safest next step. Do not fabricate syntax.

If the request turns into a comparison, current-state, or release-behavior

question, hand it to researching-web and offer a docs lookup for the chosen

library afterwards.

Response

Give the answer, not a transcript of the lookup, unless the user asks for the

process. Include:

  1. Library and version, or version unknown.
  2. The tier that produced the answer and any fallback used.
  3. Syntax or example grounded in the source.
  4. A source URL, Context7 library ID, or GitHub tag and path for each claim.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.