speccore 5.43.0 → 5.43.1
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
# SpecCore Task Create —
|
|
1
|
+
# SpecCore Task Create — 交互式任务创建
|
|
2
2
|
|
|
3
|
-
> **你负责**: 接收任意输入 → 内容澄清 → 智能命名 →
|
|
3
|
+
> **你负责**: 接收任意输入 → 内容澄清 → 智能命名 → 用 `execute_command` 创建任务 → 推荐下一步。
|
|
4
|
+
> **强制**: 用 `execute_command("speccore task new -n ...")` 执行,**绝不要把命令输出给用户复制**。
|
|
4
5
|
> **分支规则**: 创建任务后,Git 分支名 = `feature/Task-{id}-{任务名}`,与任务目录名完全一致。
|
|
5
6
|
|
|
6
7
|
## 任务类型选择器
|
|
@@ -148,12 +149,13 @@ Bug 类:
|
|
|
148
149
|
```
|
|
149
150
|
1. 接收输入 → 判断长度 → <80字必须澄清
|
|
150
151
|
|
|
151
|
-
2.
|
|
152
|
-
|
|
152
|
+
2. 语音命名 → 展示确认:
|
|
153
|
+
"📋 将创建: Task-003-login-feature,是否正确?[是/修改]"
|
|
153
154
|
|
|
154
|
-
3.
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
3. execute_command("speccore task new --name '{name}' -t {type}")
|
|
156
|
+
|
|
157
|
+
4. Write REQUIREMENT.md → 推荐下一步:
|
|
158
|
+
execute_command("speccore analyze --prompt -I {iter} --task {taskId}")
|
|
157
159
|
```
|
|
158
160
|
|
|
159
161
|
## 退出码
|