♻️ refactor(cook-it-through): move workflow engine into skill

This commit is contained in:
csh
2026-08-20 17:02:34 +08:00
parent f6854d065a
commit 9b95bf2682
19 changed files with 3905 additions and 1474 deletions
+15
View File
@@ -69,6 +69,21 @@ skills = [“commit-message”]
agents_home = ~/.claude # 或 ~/.agents
```
从本次安装集合中排除指定 skills;`mode = "all"``mode = "list"` 均可使用:
```toml
[install_skills]
mode = "all"
exclude = ["skill-a", "skill-b"]
agents_home = "~/.agents"
```
`exclude` 只跳过本次安装或更新,不会删除目标目录中已经存在的同名 skill。空数组
`exclude = []` 等同于不排除。
同一配置启用 `[sync_rules]` 时,`cook-it-through` 是规则入口的必需依赖:`mode = "list"`
必须显式列出,且两种 mode 都不得通过 `exclude` 排除。无效组合会在任何同步写入前失败。
`[install_skills]` 默认会先把已存在的 skill 目录重命名为 `*.bak.<timestamp>`,再复制新版本,便于手动回退。若不需要备份:
```toml