dependency-handling
БесплатноБез исполняемых скриптовНе проверенTRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE…
от serpro69★ 156 звёзд на GitHubОб этом скилле
Dependency & External API Handling
Conventions
- Read capy knowledge base conventions at 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.
- 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.
- Capy search. Search
kk:lang-idiomsandkk:project-conventionsfor previously indexed knowledge about this dependency. - Context7 lookup. Use the context7 MCP to fetch documentation. The doc version MUST match the declared dependency version.
- Web fallback. Only if context7 has no coverage.
- Apply. With verified knowledge now loaded, write or recommend the call, import, or config.
Rules
- Prefer the latest stable version when introducing a new dependency. Pin deliberately; don't inherit a stale version by copy-paste.
- 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.
- Capy search first. Before hitting external docs, search
kk:lang-idiomsandkk:project-conventionsfor previously indexed knowledge about the dependency. - 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.
- 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-idiomsso 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.
Установить dependency-handling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dependency-handling?
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-handling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dependency-handling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic