get-api-docs
Installation
SKILL.md
Get API Docs
Use chub to retrieve current, verified documentation before writing code that depends on external APIs or SDKs.
Instructions
- 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.
- Check whether
chubis available withcommand -v chub. If it is missing, say so clearly and suggest installing it withnpm install -g @context-hub/clibefore relying on memory for unstable API details. - If the local CLI usage is unclear, run
chub helporchub --helpfirst. Do not assume older command shapes or document IDs. - Prefer discovery before retrieval:
- Use
chub search "<query>"when the exact doc ID is unknown. - Use
chub listonly when broad browsing is useful.
- Use
- Fetch the relevant documentation with
chub get <doc-id>. Add--lang <language>when the user needs language-specific examples. - Base your coding or explanation on the retrieved docs, not on memory. Mention the doc ID you used when summarizing results.
- If
chubdoes 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 |
Related skills
More from fmschulz/omics-skills
beautiful-data-viz
Create publication-quality matplotlib/seaborn charts with readable axes, tight layout, and curated palettes.
19bio-phylogenomics
Build marker gene alignments and phylogenetic trees.
19bio-protein-clustering-pangenome
Cluster proteins into orthogroups and derive pangenome matrices.
18plotly-dashboard-skill
Build production-ready Plotly Dash dashboards with consistent theming, clear layouts, and performant callbacks.
18bio-annotation
Functional annotation and taxonomy inference from sequence homology.
17bio-foundation-housekeeping
Initialize a bioinformatics project scaffold with reproducible environments, schemas, and data cataloging. Use for new projects or repo setup.
16