get-api-docs

Installation
SKILL.md

get-api-docs Skill

Purpose: Fetch current API documentation via the chub CLI before writing code against any external library or service. Prevents hallucinated API shapes by grounding all code generation in real, up-to-date docs.


Workflow

Step 1 — Find the right doc ID

chub search "<library name>" --json

Pick the best-matching id from the results (e.g. openai/chat, anthropic/sdk, stripe/api). If nothing matches, try a broader term.

Step 2 — Fetch the docs

Related skills
Installs
6
First Seen
Mar 18, 2026