增加技能自检查模块
This commit is contained in:
@@ -10,10 +10,10 @@ description: >-
|
||||
|
||||
**本 Skill 加载后的首个强制动作:**
|
||||
1. 读取 `.opencode/phase/current.json`
|
||||
2. 若 `phase` 值不在本 Skill 的 `phases` 列表中:
|
||||
2. 若 `phases` 不包含 `"all"` 且当前 `phase` 值不在 `phases` 列表中:
|
||||
- 立即中止,输出:"当前阶段为 [phase],game-design Skill 不可用。请切换到设计阶段。"
|
||||
- 不得执行本 Skill 的任何后续流程
|
||||
3. 若 `phase` 匹配:继续执行
|
||||
3. 否则:继续执行
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user