Skill Merge and Republish
Use this skill when multiple local skills overlap enough that keeping both would create confusion, drift, or duplicated maintenance.
Goal
Turn:
- - duplicated or overlapping skills
into:
- - one canonical skill with merged guidance
- one local source of truth
- one updated ClawHub release
When to use
Use when:
- - two skills solve substantially the same workflow
- one newer helper skill should be absorbed into an older canonical skill
- a temporary skill exists only to extend a stronger publish/install/review flow
- the user explicitly says “merge these skills” or “merge this into that and update ClawHub”
Workflow
- 1. Read both skills fully.
- Identify:
- canonical skill to keep
- absorbed skill to retire
- unique instructions that must be preserved
- 3. Merge the absorbed logic into the canonical
SKILL.md. - Remove the redundant local skill folder.
- Commit locally.
- Inspect the canonical remote skill on ClawHub.
- Bump patch version.
- Publish the updated canonical skill via
clawhub-publish-flow. - Verify remote status.
- Update local registry sheet if it references both skills.
Canonical choice rules
Prefer keeping the skill that already has:
- - clearer name
- better installed history
- existing ClawHub presence
- broader but still coherent scope
Safety rules
- - Do not merge unrelated skills just because they look adjacent.
- Do not preserve duplicated wording if it reduces clarity.
- Do not keep both skills unless their trigger boundaries are truly distinct.
- Always update the registry after merge if the registry exists.
Output
Report:
- - kept skill
- retired skill
- what logic was merged
- local commit
- remote version bump
- ClawHub publish result
技能合并与重新发布
当多个本地技能存在足够多的重叠,保留两者会导致混淆、偏离或重复维护时,使用此技能。
目标
将:
转变为:
- - 一个包含合并指导的规范技能
- 一个本地事实来源
- 一个更新的ClawHub发布版本
使用时机
在以下情况下使用:
- - 两个技能实质上解决相同的工作流程
- 较新的辅助技能应被吸收到较旧的规范技能中
- 临时技能仅用于扩展更强的发布/安装/审查流程
- 用户明确表示合并这些技能或将此合并到彼并更新ClawHub
工作流程
- 1. 完整阅读两个技能。
- 识别:
- 要保留的规范技能
- 要淘汰的吸收技能
- 必须保留的独特指令
- 3. 将被吸收的逻辑合并到规范的SKILL.md中。
- 删除冗余的本地技能文件夹。
- 本地提交。
- 检查ClawHub上的规范远程技能。
- 提升补丁版本。
- 通过clawhub-publish-flow发布更新后的规范技能。
- 验证远程状态。
- 如果本地注册表引用了这两个技能,则更新它。
规范选择规则
优先保留已具备以下条件的技能:
- - 更清晰的名称
- 更好的安装历史
- 已存在于ClawHub
- 更广泛但依然连贯的范围
安全规则
- - 不要仅仅因为看起来相近就合并不相关的技能。
- 如果保留重复措辞会降低清晰度,则不要保留。
- 除非两个技能的触发边界确实不同,否则不要同时保留两者。
- 如果注册表存在,合并后务必更新注册表。
输出
报告:
- - 保留的技能
- 淘汰的技能
- 合并的逻辑内容
- 本地提交
- 远程版本提升
- ClawHub发布结果