repo-skill-installer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRepo Skill Installer
仓库Skill安装器
Use this skill when a skill should be hosted by this repository.
当某个Skill需要由本仓库托管时,请使用此工具。
Workflow
工作流程
-
Resolve the skill source.
- For third-party skills, prefer the GitHub repo path and skill name.
- For manually hosted skills, use as the canonical source.
skills/<skill-name>/
-
Update the canonical source.
- Put repo-owned skills under .
skills/<skill-name>/ - Do not vendor third-party payloads there.
- Keep as installer output only.
.agents/skills/
- Put repo-owned skills under
-
Register the lock entry.
- Use as the only source/ref/hash metadata file.
skills-lock.json - For repo-owned skills, use this public repo path: .
https://github.com/HGZahn/agentic-coding/tree/master/skills/<skill-name>
- Use
-
Rebuild installed output.
- Install locked skills with for Codex and opencode.
npx skills - Recompute from
computedHash..agents/skills/<skill-name>
- Install locked skills with
-
Sanity-check the result.
- Confirm only intended canonical skills, commands, and lock entries changed.
- Confirm installed payloads remain ignored.
.agents/skills
-
解析Skill源
- 对于第三方Skill,优先使用GitHub仓库路径和Skill名称。
- 对于手动托管的Skill,使用作为标准源。
skills/<skill-name>/
-
更新标准源
- 将仓库自有Skill存放于目录下。
skills/<skill-name>/ - 请勿将第三方代码包存放在此目录。
- 仅将作为安装器输出目录。
.agents/skills/
- 将仓库自有Skill存放于
-
注册锁定条目
- 将作为唯一的源/引用/哈希元数据文件。
skills-lock.json - 对于仓库自有Skill,使用此公开仓库路径:。
https://github.com/HGZahn/agentic-coding/tree/master/skills/<skill-name>
- 将
-
重建安装输出
- 使用为Codex和opencode安装已锁定的Skill。
npx skills - 从重新计算
.agents/skills/<skill-name>。computedHash
- 使用
-
结果合理性检查
- 确认仅预期的标准Skill、命令和锁定条目发生了变更。
- 确认已安装的代码包仍处于忽略状态。
.agents/skills
Guardrails
防护规则
- Do not run broad updates unless every locked skill should refresh.
- Do not modify unrelated commands or skills.
- If the source path is ambiguous, stop and resolve it before copying files.
- If the skill contains only , do not invent extra folders.
SKILL.md
- 除非所有已锁定的Skill都需要刷新,否则不要执行大范围更新。
- 不要修改无关的命令或Skill。
- 如果源路径不明确,请先解决路径问题再复制文件。
- 如果Skill仅包含文件,请勿创建额外文件夹。
SKILL.md
Output
输出
When finished, report:
- the skill name
- the source repository/path
- the canonical files changed under
skills/ - whether the lockfile hash matches installed output
完成后,请报告以下内容:
- Skill名称
- 源仓库/路径
- 目录下变更的标准文件
skills/ - 锁定文件哈希是否与安装输出匹配