为 Recipkg 配方声明并集成一个具体依赖,核对递归关系、接口、来源和固定版本。用于添加依赖、引入现有软件配方或接入 GitHub 配方仓库。
Read SKILL.md for the workflow and linked resources. This is the canonical standalone skill repository used by Recipkg.
When changing Git pins or retaining historical versions, check locked recursive revisions, deterministic packing and isolated version-specific installation and builds. Record checks that could not be run.
git submodule add https://github.com/recipkg/add-dependency.git .agents/skills/add-dependency
git submodule update --init --recursiveKeep the same repository across projects. Review upstream changes and local work before checking out a new commit, then explicitly commit the consumer gitlink. Do not copy and hand-maintain a second skill or overwrite custom modifications.
This repository is also a Markdown-only Recipkg skill recipe: validate with recipkg check ., then pack it outside this directory. License.
本仓库只维护 add-dependency 技能。不同项目应把此同一仓库作为固定提交的 Git 子模块引用,不复制技能正文。修改先回本仓库,再更新项目指针;注意保护本地改动。技能入口与说明见 SKILL.md。
更新 Git 固定提交或保留历史版本时,检查锁定的递归提交、可重复打包,以及隔离环境中的按版本安装和构建;未执行的检查须记录。