dependency-handling
/dependency-handling
Sprawdza aktualną dokumentację przed napisaniem kodu dla nowej lub aktualizowanej zależności, SDK, API albo obrazu kontenera.
- Autor
- serpro69 ↗
- Repozytorium
- claude-toolbox ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Sprawdza aktualną dokumentację przed napisaniem kodu dla nowej lub aktualizowanej zależności, SDK, API albo obrazu kontenera.
Oryginalny opis (EN)
TRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE writing the call. Forces context7/capy lookup instead of guessing.
Jak działa
- Conventions
- Workflow
- Rules
- IaC and config artifacts
Podgląd SKILL.md
---
name: dependency-handling
description: |
TRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE writing the call. Forces context7/capy lookup instead of guessing.
---
# Dependency & External API Handling
## Conventions
- **Read capy knowledge base conventions** at [shared-capy-knowledge-protocol.md](shared-capy-knowledge-protocol.md).
## Workflow
**Mandatory order — lookup before usage.** Do not write, modify, or recommend any call, import, config key, or version specifier involving the dependency until you have completed the lookup cascade below. Guessing a signature or API version and fixing it after the fact is the failure mode this skill exists to prevent.
1. **Extract the dependency identity.** From the calling context, identify the dependency name, the version constraint (declared or inferred), and the specific API surface being used (function, config key, API version, image tag). This is the minimal scope — enough to drive the lookup, not enough to guess the answer.
2. **Capy search.** Search `kk:lang-idioms` and `kk:project-conventions` for previously indexed knowledge about this dependency.
3. **Context7 lookup.** Use the context7 MCP to fetch documentation. The doc version MUST match the declared dependency version.
4. **Web fallback.** Only if context7 has no coverage.
5. **Apply.** With verified knowledge now loaded, write or recommend the call, import, or config.
## Rules
1. **Prefer the latest stable version** when introducing a new dependency. Pin deliberately; don't inherit a stale version by copy-paste.
2. **Never assume how an external dependency behaves.** If you are not 100% sure of the signature, config, or semantics, look it up. Guessing is the failure mode this skill exists to prevent.
3. **Capy search first.** Before hitting external docs, search `kk:lang-idioms` and `kk:project-conventions` for previously indexed knowledge about the dependency.
4. **Context7 second.** Use the context7 MCP to fetch documentation for libraries, SDKs, APIs, and frameworks.
- **IMPORTANT:** the doc version MUST match the declared dependency version. A right answer against the wrong version is a wrong answer.
- Only fall back to web search if context7 has no coverage.
5. **Index what you learn.** If context7 or web search yields a best-practice nugget that isn't obvious from the docs themselves, index it as `kk:lang-idioms` so the next agent doesn't pay the lookup cost again.
## IaC and config artifacts
The cascade rule (capy-first, context7-second, web-last) applies uniformly to all dependency categories — libraries, SDKs, frameworks, APIs, IaC API versions, CRDs, Helm charts, and container images. Per-domain lookup targets (which context7 library to query, which local command to run, which registry to consult) live in each profile's `overview.md` under a "Looking up dependencies" heading. When the `k8s` profile is active, consult `${TOOLBOX_PLUGIN_ROOT}/profiles/k8s/overview.md` under the `## Looking up Kubernetes dependencies` heading for Kubernetes API versions, third-party CRDs, Helm chart versions, and container image targets.
Pliki w paczce (2)
- SKILL.md 3 KB
- shared-capy-knowledge-protocol.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · serpro69/claude-toolbox | 100 | Apache-2.0 |
| serpro69/claude-toolbox | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 8c7027eb9890 (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
- 90library-docs-lookup
Sprawdza aktualną dokumentację bibliotek i API przez narzędzia context7 przed napisaniem kodu, zamiast polegać na pamięci. - 100documentation-lookup
Wyszukuje aktualną dokumentację bibliotek, frameworków i API oraz przykłady kodu zgodne z wersją. - 100docs-first
Sprawdza aktualne wersje i oficjalną dokumentację, changelog oraz notatki migracyjne przed użyciem API, zależności lub nowego projektu, zamiast polegać na pamięci. - 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. - 84lookup
Wyszukuje aktualną dokumentację bibliotek, referencje API i przykłady kodu przez Context7 (CLI ctx7 lub serwer MCP), także przy pytaniach o konfigurację i migrację wersji. - 100documentation-lookup
Pobiera aktualną dokumentację bibliotek i frameworków przez Context7 zamiast danych treningowych, przy pytaniach o konfigurację, API i przykłady.