Files
CursorInitGeneral/.cursor/rules/common/epee-orchestrator.mdc
2026-07-27 15:09:13 +08:00

33 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 检测可复用 Skill 场景,并维护 Skill registry 与使用经验
alwaysApply: true
---
# Skill Orchestrator 触发
制定方案或执行任务时,如出现任一情况,读取 `.cursor/skills/epee-orchestrator/SKILL.md` 并按其分流:
- 需要大量人工配置或逐项填写参数;
- 同结构操作预计会重复发生;
- 即将给出超过 10 步的纯手工操作;
- 用户询问现有 Skill、希望复用能力或创建新 Skill。
## Registry 同步
创建、删除、重命名或修改任何 Skill 后:
1. 更新 `.cursor/bootstrap/skills.json` 与所属 common/type manifest。
2. 使名称、作用域、能力说明、适用场景和入口路径与实际内容一致。
3. 运行 `python .cursor/bootstrap/tools/cursor_init.py --sync-registry` 生成 Registry。
4. 不保留指向已删除 Skill 的机读条目或 manifest 引用。
## 自迭代
使用 Skill 时若因信息缺失导致失败、用户反复补充同类信息,或产物持续偏离预期:
1. 提炼一条具体、可执行的前置检查。
2. 先向用户确认是否写入该 Skill 的自迭代记录。
3. 用户同意后再更新 Skill并同步 registry。
用户限制可修改范围时不得越权;只报告待同步项。