dependency-handling

Trigger before adding or upgrading any dependency — including libraries, SDKs, frameworks, APIs, IaC API versions (e.g. Kubernetes/Terraform/Helm), CRDs, or container images. Used to enforce lookup with context7/capy before writing calls rather than guessing.

Last repository push
GitHub Stars
156
Forks
29
Issues / PRs
37

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dependency-handling" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-370636fd9856ed066bb32aacfd1eec7645dd459205f2a61ba63210e95aef3aac. Verify the upstream source and version against https://github.com/serpro69/claude-toolbox before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Trigger before adding or upgrading any dependency — including libraries, SDKs, frameworks, APIs, IaC API versions (e.g. Kubernetes/Terraform/Helm), CRDs, or container images. Used to enforce lookup with context7/capy before writing calls rather than guessing.

0 Downloads

Introduction source: third_party · serpro69 · 0.0.1 Reference

SkillPi interpretation

Tasks
<!-- codex: tool-name mapping applied. See .codex/scripts/session-start.sh -->
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
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.

<!-- codex: tool-name mapping applied. See .codex/scripts/session-start.sh -->

Dependency & External API Handling

Conventions

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 ../../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.

Version history

  1. v0.25.4 GitHub ↗
    Original release notes

    ## What's Changed * Protect repo-local kubeconfig files as guard secrets by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/190 * Remove ignored Codex auto-review settings by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/193 * Apply destructive rules to commands spawned from inline code by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/191 * Add docs explore page around real catches from capy by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/194 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.3...v0.25.4

  2. v0.25.3 GitHub ↗
    Original release notes

    ## What's Changed * Apply YAGNI to design plans and make scope reviews two-sided by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/189 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.2...v0.25.3

  3. v0.25.2 GitHub ↗
    Original release notes

    ## What's Changed * Add manual task handoffs through secret gists by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/187 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.1...v0.25.2

  4. v0.25.1 GitHub ↗
    Original release notes

    ## What's Changed * Preserve guard denial diagnostics in Codex adapters by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/185 * Keep vendored Go profile references self-contained by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/186 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.0...v0.25.1

  5. v0.25.0 GitHub ↗
    Original release notes

    ## What's Changed * Revamp permission guard engine by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/178 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.24.1...v0.25.0

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决依赖管理中的核心痛点:防止API版本不匹配和签名猜测错误
  • 提供标准化查找工作流,适用于库/SDK/框架/IaC/CRD/镜像等多种依赖类型
  • 强制使用context7/capy而非猜测,显著提升开发可靠性
Trigger Precision95/100

Highlights

  • 触发条件覆盖全面且边界清晰:'adding or upgrading any dependency'
  • 明确前置使用时机:'BEFORE writing the call'
  • 涵盖多种依赖类型变体(K8s/Terraform/Helm等)
Structure and Standards90/100

Highlights

  • 5步工作流结构清晰,强制查找级联顺序
  • 5条核心规则覆盖版本选择、知识索引等关键场景
  • IaC专项说明提供跨领域统一处理方案
Execution Reliability88/100

Highlights

  • 工具来源明确:context7 MCP + capy knowledge base
  • 强调版本匹配关键要求:'doc version MUST match declared dependency version'
  • 提供web fallback机制应对context7无覆盖场景
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.