Loading...
Loading...
Fetch up-to-date third-party API/SDK docs via chub before writing or reviewing integration code — so method names, payload fields, and auth headers are always sourced from live docs, not stale training data. Don't use for first-party project docs, generic programming questions, or when the user only wants a conceptual answer rather than integration code.
npx skill4agent add luongnv89/skills context-hubchubbranch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"git stash push -u -m "pre-sync"
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin && git pull --rebase origin "$branch"
git stash poporiginchubchub help
chub updatechubnpm install -g @aisuite/chubchub search "<library or API name>" --jsonid<author>/<name>openai/chatstripe/apichub get <id> --lang pypyjsts--langchub get <id> --file <reference-file>--fullchub annotate <id> "<concise actionable note>"chub feedback <id> up
chub feedback <id> down --label outdatedoutdatedinaccurateincompletewrong-exampleswrong-versionpoorly-structuredaccuratewell-structuredhelpfulgood-exampleschub search "stripe"
chub get stripe/api --lang js
chub annotate stripe/api "Webhook verification requires raw body"
chub annotate --listFetched: stripe/api (Python) — 42 KB, last updated 2025-03-14Annotated stripe/api: "Webhook verification requires raw request body, not parsed JSON"chub| Scenario | Handling |
|---|---|
| Inform user; fetch docs directly from the official library website via |
| Retry with broader keywords; if still empty, use official docs URL directly |
| Fetched docs are clearly outdated | Annotate the issue; cross-reference with official changelog before coding |
| Multiple language variants available | Ask the user which language to fetch if not determinable from project context |
| Log the failure; continue with implementation; do not block on annotation errors |
| Skip update, use cached docs, and note that docs may not be the latest version |
◆ [Step Name] ([step N of M] — [context])
··································································
[Check 1]: √ pass
[Check 2]: √ pass (note if relevant)
[Check 3]: × fail — [reason]
[Check 4]: √ pass
[Criteria]: √ N/M met
____________________________
Result: PASS | FAIL | PARTIAL√×—chub availabilitychub updatedDoc identificationDoc fetch successImplementation accuracyNo guessed fieldsAnnotation savedNote non-duplicative