← ClaudeAtlas

get-api-docslisted

Fetch current API and SDK documentation with the chub CLI. Use when writing or reviewing code against fast-changing APIs, especially when the user asks for the latest or current docs.
fmschulz/omics-skills · ★ 3 · API & Backend · score 67
Install: claude install-skill fmschulz/omics-skills
# Get API Docs Use `chub` to retrieve current, verified documentation before writing code that depends on external APIs or SDKs. ## Instructions 1. Identify the API, SDK, and language the user is working with. If the language is not stated, infer it from the repo or say which language you are assuming. 2. Check whether `chub` is available with `command -v chub`. If it is missing, say so clearly and suggest installing it with `npm install -g @context-hub/cli` before relying on memory for unstable API details. 3. If the local CLI usage is unclear, run `chub help` or `chub --help` first. Do not assume older command shapes or document IDs. 4. Prefer discovery before retrieval: - Use `chub search "<query>"` when the exact doc ID is unknown. - Use `chub list` only when broad browsing is useful. 5. Fetch the relevant documentation with `chub get <doc-id>`. Add `--lang <language>` when the user needs language-specific examples. 6. Base your coding or explanation on the retrieved docs, not on memory. Mention the doc ID you used when summarizing results. 7. If `chub` does not have the needed docs or the output is incomplete, fall back to the vendor's official documentation and say that you did so. ## Quick Reference | Task | Action | |------|--------| | Check CLI | `command -v chub` | | Inspect commands | `chub help` | | Browse docs | `chub list` | | Search docs | `chub search "openai responses api"` | | Fetch docs | `chub get <doc-id>` | | Fetch language-specific docs | `ch