speccore 5.67.54 → 5.67.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/spec-ask/SKILL.md +23 -10
- package/package.json +1 -1
|
@@ -12,10 +12,13 @@ disable-model-invocation: false
|
|
|
12
12
|
## 🚨 核心铁律
|
|
13
13
|
|
|
14
14
|
1. **每步必确认** — 用户没明确说"自动/全自动/一键"的,每步展示计划→等确认→再执行
|
|
15
|
-
2.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
2. **自动模式分两级**:
|
|
16
|
+
- **部分自动**: "analyze 和 plan 自动执行,execute 前确认" → 只跳过确认的步骤
|
|
17
|
+
- **全自动**: "全自动执行/一键完成" → 所有步骤不等确认,全部自动跑
|
|
18
|
+
3. **迭代/任务命名必加 --topic** — 从用户原话提取英文主题词
|
|
19
|
+
4. **禁止 schedule** — 用户说"定时"时告知不可用、改为立即执行
|
|
20
|
+
5. **-i 参数用短名** — 传 `meeting-system` 而非 `Iteration-009-meeting-system`
|
|
21
|
+
6. **分析前先读源码** — 生成分析内容前必须 Read 相关源文件
|
|
19
22
|
|
|
20
23
|
## 执行流程
|
|
21
24
|
|
|
@@ -23,18 +26,28 @@ disable-model-invocation: false
|
|
|
23
26
|
1. execute_command("speccore ask '用户原话'")
|
|
24
27
|
→ 读 KB 输出,了解可用命令
|
|
25
28
|
|
|
26
|
-
2.
|
|
29
|
+
2. 检查上下文,识别自动模式:
|
|
30
|
+
- "全自动/一键/全流程自动" → FULL_AUTO 全流程
|
|
31
|
+
- "analyze和plan自动,execute前确认" → PARTIAL_AUTO(1-2)
|
|
32
|
+
- "自动执行到split,plan和execute前确认" → PARTIAL_AUTO(1-2)
|
|
33
|
+
- 没说自动 → 每步确认
|
|
27
34
|
|
|
28
|
-
3. 理解意图 → 拼计划 →
|
|
35
|
+
3. 理解意图 → 拼计划 → 展示:
|
|
29
36
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
[自动模式] 将自动执行 step 1-2 (analyze+plan),step 3 (execute) 前暂停确认。
|
|
38
|
+
[全程确认] 每步展示结果再继续。
|
|
39
|
+
|
|
40
|
+
step 1: speccore analyze --prompt -I meeting-system --task user-login
|
|
41
|
+
step 2: speccore plan --prompt -I meeting-system --task user-login
|
|
42
|
+
step 3: speccore execute --prompt -I meeting-system --task user-login
|
|
33
43
|
|
|
34
44
|
是否确认?
|
|
35
45
|
"""
|
|
36
46
|
|
|
37
|
-
4.
|
|
47
|
+
4. 用户确认后按模式执行:
|
|
48
|
+
- PARTIAL_AUTO: step 1→2 连续执行,step 3 前暂停问"继续?"
|
|
49
|
+
- FULL_AUTO: 全部连续执行
|
|
50
|
+
- 手动: 每步暂停确认
|
|
38
51
|
```
|
|
39
52
|
|
|
40
53
|
## 关键命令
|