dependency-handling
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "dependency-handling":https://skillpi.com/zh/skills/deepskill-370636fd9856ed066bb32aacfd1eec7645dd459205f2a61ba63210e95aef3aac。安装前核对上游来源和版本:https://github.com/serpro69/claude-toolbox。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在添加或升级任何依赖项(包括库、SDK、框架、API、基础设施即代码的 API 版本如 Kubernetes/Terraform/Helm、CRD 或容器镜像)之前触发。用于在编写调用之前强制使用 context7/capy 进行查找,而不是凭猜测操作。
介绍来源: third_party · serpro69 · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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
- 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 ../../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.
版本历史
-
v0.25.4
GitHub ↗
原版更新说明
## 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
-
v0.25.3
GitHub ↗
原版更新说明
## 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
-
v0.25.2
GitHub ↗
原版更新说明
## 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
-
v0.25.1
GitHub ↗
原版更新说明
## 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
-
v0.25.0
GitHub ↗
原版更新说明
## 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
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决依赖管理中的核心痛点:防止API版本不匹配和签名猜测错误
- 提供标准化查找工作流,适用于库/SDK/框架/IaC/CRD/镜像等多种依赖类型
- 强制使用context7/capy而非猜测,显著提升开发可靠性
亮点
- 触发条件覆盖全面且边界清晰:'adding or upgrading any dependency'
- 明确前置使用时机:'BEFORE writing the call'
- 涵盖多种依赖类型变体(K8s/Terraform/Helm等)
亮点
- 5步工作流结构清晰,强制查找级联顺序
- 5条核心规则覆盖版本选择、知识索引等关键场景
- IaC专项说明提供跨领域统一处理方案
亮点
- 工具来源明确:context7 MCP + capy knowledge base
- 强调版本匹配关键要求:'doc version MUST match declared dependency version'
- 提供web fallback机制应对context7无覆盖场景
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。