Claude Cursor Skill

looking-up-docs

Imported from alexei-led/cc-thingz/dist/pi/skills/looking-up-docs.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download alexei-led-cc-thingz-dist_pi_skills_looking-up-docs-ce56bb4.zip · 3 KB
Part of alexei-led/cc-thingz — 91 skills

Install

skills CLI npx skills add https://github.com/alexei-led/cc-thingz/tree/master/dist/pi/skills/looking-up-docs
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install alexei-led-cc-thingz@llmmart
Git git clone https://github.com/alexei-led/cc-thingz.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole alexei-led/cc-thingz collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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.

  • Tier 0, version: find the exact package and version from manifests, lockfiles, or tool output. If there is none, say version unknown and use the latest stable docs. Never invent a version.
  • Tier 1, Context7: follow references/context7-cli.md. 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.
  • Tier 2, official docs and registries: use 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.
  • Tier 3, GitHub: releases, tags, and source at the matching tag, when docs are missing, incomplete, or version-mismatched. Issues, PR comments, blogs, and generated summaries are clues, not authority.
  • Tier 4, gap report: state the version needed versus found, what you tried, 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.
Files (cc-thingz)
  • references
    • context7-cli.md 1.1 KB
      # Context7 CLI
      
      Tier 1 lookup commands. Not for Context7 skill registry management.
      
      ## Commands
      
      If the user gave `/org/project` or `/org/project/version`, fetch docs with that
      ID directly. Otherwise resolve the library first:
      
      ```bash
      ctx7 library <name> "<specific query>"
      ctx7 docs /org/project "<specific query>"
      ```
      
      - Pass the user's real topic as the query in both commands, never a one-word
        placeholder.
      - Pick the ID whose name and description match the topic; prefer a
        version-specific ID when the requested version appears. Ask when the library
        name is ambiguous.
      - Quote only the relevant excerpts, and report the library ID and the matched
        version when visible.
      
      ## Missing CLI or authentication
      
      If `ctx7` is not installed, run the same commands through `npx ctx7@latest` or
      `bunx ctx7@latest`. If the CLI needs an API key, tell the user to set it in
      their shell or secret manager; do not ask them to paste it into chat.
      
      ## Limits
      
      - At most 3 `ctx7 library` calls and 3 `ctx7 docs` calls per question.
      - Then report Tier 1 exhausted and continue to official sources.
      
    • official-sources.md 2 KB
      # Official Sources
      
      Tier 2 and Tier 3 details. Prefer docs for the exact installed version.
      
      ## Version evidence
      
      Resolve the effective version, not only the declared one: account for
      overrides, `replace` directives, enabled features, BOM-managed versions,
      preview SDKs, and local forks.
      
      ## Version-pinned sources
      
      | Ecosystem   | Version-pinned docs                                           | Registry facts worth checking                       |
      | ----------- | ------------------------------------------------------------- | --------------------------------------------------- |
      | JS/TS       | Library docs linked from npm; MDN for Web APIs; Node.js docs  | npm dist-tags (`latest` vs `next`), `exports` map   |
      | Python      | `docs.python.org` for stdlib; project docs linked from PyPI   | "What's New" pages for stdlib changes by release    |
      | Go          | `pkg.go.dev/<module>@<version>`                               | Module major version suffix (`/v2`) changes imports |
      | Rust        | `docs.rs/<crate>/<version>`                                   | Items gated behind non-default features             |
      | Java/Kotlin | Javadoc for the exact artifact version                        | Maven Central coordinates; BOM-managed versions     |
      | .NET        | Microsoft Learn API browser with the version selector         | NuGet target frameworks                             |
      | Elixir      | HexDocs for the exact version                                 | Hex package metadata                                |
      | Swift       | Apple Developer Documentation; Swift Package Index            | Package platform requirements                       |
      
      ## GitHub fallback
      
      1. Confirm the repository from registry metadata or official docs.
      2. Read the tag that matches the installed version: `CHANGELOG*`,
         `MIGRATION*`, `README*`, `/docs`, and examples before source.
      3. Use source and tests only to confirm undocumented behavior or signatures.
      4. Cite the tag, file path, and line or section.
      5. If only the default branch has docs, say they may not match the installed
         version.
      
  • SKILL.md 2.8 KB
    ---
    {"description":"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.","name":"looking-up-docs"}
    ---
    <!-- Pi platform guidance -->
    <!-- Use installed Pi tool names exactly, including extension toolsets such as Task*, Monitor*, and Loop*. -->
    <!-- When available, track work with Task* (`todo` is the fallback), run long or background commands with MonitorCreate, and schedule follow-up with LoopCreate instead of sleep/poll loops. -->
    
    
    # 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.
    
    - Tier 0, version: find the exact package and version from manifests,
      lockfiles, or tool output. If there is none, say `version unknown` and use
      the latest stable docs. Never invent a version.
    - Tier 1, Context7: follow [references/context7-cli.md](references/context7-cli.md).
      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.
    - Tier 2, official docs and registries: use
      [references/official-sources.md](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.
    - Tier 3, GitHub: releases, tags, and source at the matching tag, when docs are
      missing, incomplete, or version-mismatched. Issues, PR comments, blogs, and
      generated summaries are clues, not authority.
    - Tier 4, gap report: state the version needed versus found, what you tried,
      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.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related