ctxhub-get-api-docs
/ctxhub-get-api-docs
Pobiera aktualną dokumentację API, SDK i bibliotek przed pisaniem kodu, zamiast polegać na przestarzałej wiedzy.
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pobiera aktualną dokumentację API, SDK i bibliotek przed pisaniem kodu, zamiast polegać na przestarzałej wiedzy.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use this skill to get documentation for third-party APIs, SDKs, or libraries before writing code that uses them, so you have the latest accurate docs instead of stale training data. Triggers: any task like "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", writing code against an external service, or when the user mentions ctxhub, chub, or Context Hub. Fetch docs with the ctxhub CLI before answering. For Z.ai GLM models, prefer the internal source entry zai/glm-coding.
Jak działa
- Step 1 — Ensure ctxhub exists and get the latest usage instructions
- Step 2 — Find the right documents
- Step 3 — Fetch the docs
- Step 4 — Leave the trail (mandatory after use)
- Rules
Podgląd SKILL.md
--- name: ctxhub-get-api-docs description: > Use this skill to get documentation for third-party APIs, SDKs, or libraries before writing code that uses them, so you have the latest accurate docs instead of stale training data. Triggers: any task like "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", writing code against an external service, or when the user mentions ctxhub, chub, or Context Hub. Fetch docs with the ctxhub CLI before answering. For Z.ai GLM models, prefer the internal source entry zai/glm-coding. --- # Get API Docs via ctxhub When you need documentation for a library or API, fetch it with the `ctxhub` CLI rather than guessing from training data. This gives you the current, correct API. `ctxhub` is the aegntic name for the Context Hub CLI (packaged as `@aisuite/chub`; the underlying binary is `chub` — both commands are interchangeable here). ## Step 1 — Ensure ctxhub exists and get the latest usage instructions Run: ```bash ctxhub --help ``` If it does not exist and the environment has node/npm and network access: ```bash npm install -g @aisuite/chub ``` Then run `ctxhub --help` again and follow its guidance; it is the authoritative usage. ## Step 2 — Find the right documents ```bash ctxhub search "<keywords>" --json ``` Pick the best-matching `id` from the results (e.g. `openai/chat`, `stripe/api`, `zai/glm-coding`). Results can come from the community CDN (upstream) and/or a locally configured internal source. Try broader terms if nothing matches. ## Step 3 — Fetch the docs ```bash ctxhub get <id> --lang py # or js / ts / go as appropriate ``` Read the fetched content and write code against it. Use `--full` for all files of an entry and `-o <path>` to save to disk. ## Step 4 — Leave the trail (mandatory after use) 1. If you discovered a gap or gotcha, persist it so every future session benefits: ```bash ctxhub annotate <id> "the note" ``` Annotations persist across sessions locally; pass `--with-annotations` on `get` to include them. They are treated as untrusted input by default. 2. Rate the doc after using it: ```bash ctxhub feedback <id> up # or down --label outdated "why" ``` ## Rules 1. Fetch before coding against any external API/SDK — never rely on memorized API shapes, which go stale. 2. Annotate every non-obvious finding; rate every doc you use.
Pliki w paczce (2)
- SKILL.md 2 KB
- SKILL.toml 1 KB
Wersje
W bazie nie ma innych skilli o nazwie ctxhub-get-api-docs.
Migawka bazy z 13.11.2026 · wersja paczki 7093c8f15910 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95get-api-docs
Pobiera aktualną dokumentację zewnętrznych API, SDK i bibliotek przed pisaniem kodu, np. dla OpenAI, Stripe, Anthropic SDK czy Pinecone, zamiast zwykłego wyszukiwania w sieci. - 100get-api-docs
Pobiera aktualną dokumentację zewnętrznej biblioteki, SDK lub API przez chub przed napisaniem kodu, który z niej korzysta, zamiast polegać na wiedzy z treningu. - 100get-api-docs
Pobiera aktualną dokumentację zewnętrznej biblioteki, SDK lub API przez chub, zanim powstanie kod korzystający z usługi, zamiast polegać na wiedzy z treningu. - 100find-docs
Pobiera aktualną dokumentację, opisy API i przykłady kodu dla bibliotek, frameworków, SDK, narzędzi CLI i usług chmurowych, zamiast polegać na starych danych treningowych. - 90library-docs-lookup
Sprawdza aktualną dokumentację bibliotek i API przez narzędzia context7 przed napisaniem kodu, zamiast polegać na pamięci. - 100get-api-docs
Pobiera wyselekcjonowaną dokumentację API przez Context Hub (chub) przed kodowaniem pod zewnętrzne API, takie jak Stripe, OpenAI czy Notion, by uniknąć zmyślonych parametrów i wycofanych endpointów.