6aspec 2.0.0-dev.9 → 3.0.0-dev.2

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.
Files changed (96) hide show
  1. package/.6aspec/rules/biz/code.md +122 -28
  2. package/.6aspec/rules/biz/code_implementation_sop.md +77 -0
  3. package/.6aspec/rules/brown/brown_analyze_sop.md +289 -0
  4. package/.6aspec/rules/brown/brown_archive_sop.md +43 -78
  5. package/.6aspec/rules/brown/brown_constitution.md +11 -0
  6. package/.6aspec/rules/brown/brown_continue_sop.md +6 -13
  7. package/.6aspec/rules/brown/brown_design_sop.md +210 -95
  8. package/.6aspec/rules/brown/brown_explore_sop.md +314 -0
  9. package/.6aspec/rules/brown/brown_ff_sop.md +27 -64
  10. package/.6aspec/rules/brown/brown_impact_sop.md +101 -45
  11. package/.6aspec/rules/brown/brown_implement_sop.md +90 -58
  12. package/.6aspec/rules/brown/brown_list_sop.md +12 -12
  13. package/.6aspec/rules/brown/brown_new_sop.md +56 -77
  14. package/.6aspec/rules/brown/brown_proposal_sop.md +243 -76
  15. package/.6aspec/rules/brown/brown_quick_sop.md +5 -5
  16. package/.6aspec/rules/brown/brown_review_sop.md +4 -4
  17. package/.6aspec/rules/brown/brown_rollback_sop.md +27 -45
  18. package/.6aspec/rules/brown/brown_specs_sop.md +364 -120
  19. package/.6aspec/rules/brown/brown_status_sop.md +16 -32
  20. package/.6aspec/rules/brown/brown_tasks_sop.md +205 -87
  21. package/.6aspec/rules/brown/brown_understand_sop.md +97 -23
  22. package/.6aspec/rules/brown/brown_update_sop.md +283 -0
  23. package/.6aspec/rules/brown/brown_verify_sop.md +71 -309
  24. package/.6aspec/rules/brown/subagents/implementer.md +68 -0
  25. package/.6aspec/rules/brown/subagents/spec-compliance-reviewer.md +65 -0
  26. package/.6aspec/rules/green/{6A_archive_sop.md → green_archive_sop.md} +3 -3
  27. package/.6aspec/rules/green/{6A_clarify_sop.md → green_clarify_sop.md} +1 -1
  28. package/.6aspec/rules/green/{6A_code_implementation_sop.md → green_code_implementation_sop.md} +18 -3
  29. package/.6aspec/rules/green/{6A_continue_sop.md → green_continue_sop.md} +3 -3
  30. package/.6aspec/rules/green/{6A_new_sop.md → green_new_sop.md} +90 -11
  31. package/.6aspec/rules/green/green_status_schema.md +4 -4
  32. package/.6aspec/rules/green/{6A_status_sop.md → green_status_sop.md} +3 -3
  33. package/.6aspec/rules/green/{6A_tasks_sop.md → green_tasks_sop.md} +1 -1
  34. package/.claude/agents/implementer.md +6 -0
  35. package/.claude/agents/spec-compliance-reviewer.md +6 -0
  36. package/.claude/commands/6aspec/brown/analyze.md +11 -0
  37. package/.claude/commands/6aspec/brown/archive.md +11 -11
  38. package/.claude/commands/6aspec/brown/continue.md +11 -11
  39. package/.claude/commands/6aspec/brown/design.md +11 -11
  40. package/.claude/commands/6aspec/brown/explore.md +11 -0
  41. package/.claude/commands/6aspec/brown/ff.md +11 -11
  42. package/.claude/commands/6aspec/brown/impact.md +11 -11
  43. package/.claude/commands/6aspec/brown/implement.md +11 -11
  44. package/.claude/commands/6aspec/brown/list.md +11 -11
  45. package/.claude/commands/6aspec/brown/new.md +11 -11
  46. package/.claude/commands/6aspec/brown/proposal.md +11 -11
  47. package/.claude/commands/6aspec/brown/quick.md +11 -11
  48. package/.claude/commands/6aspec/brown/review.md +11 -11
  49. package/.claude/commands/6aspec/brown/status.md +11 -11
  50. package/.claude/commands/6aspec/brown/tasks.md +11 -11
  51. package/.claude/commands/6aspec/brown/understand.md +11 -11
  52. package/.claude/commands/6aspec/brown/update.md +11 -0
  53. package/.claude/commands/6aspec/brown/verify.md +11 -11
  54. package/.claude/commands/6aspec/code.md +10 -0
  55. package/.claude/commands/6aspec/green/archive.md +1 -1
  56. package/.claude/commands/6aspec/green/clarify.md +2 -2
  57. package/.claude/commands/6aspec/green/continue.md +1 -1
  58. package/.claude/commands/6aspec/green/design.md +2 -2
  59. package/.claude/commands/6aspec/green/{execute-task.md → implement.md} +1 -1
  60. package/.claude/commands/6aspec/green/import-model-table.md +1 -1
  61. package/.claude/commands/6aspec/green/init.md +2 -2
  62. package/.claude/commands/6aspec/green/model.md +2 -2
  63. package/.claude/commands/6aspec/green/new.md +2 -2
  64. package/.claude/commands/6aspec/green/rollback.md +1 -1
  65. package/.claude/commands/6aspec/green/status.md +1 -1
  66. package/.claude/commands/6aspec/green/tasks.md +2 -2
  67. package/.claude/commands/6aspec/green/visual-logic.md +2 -2
  68. package/.claude/settings.local.json +21 -1
  69. package/.cursor/commands/6aspec/brown/explore.md +11 -0
  70. package/.cursor/commands/6aspec/brown/update.md +9 -0
  71. package/.cursor/commands/6aspec/code.md +8 -0
  72. package/.cursor/commands/6aspec/green/archive.md +1 -1
  73. package/.cursor/commands/6aspec/green/clarify.md +2 -2
  74. package/.cursor/commands/6aspec/green/continue.md +1 -1
  75. package/.cursor/commands/6aspec/green/design.md +2 -2
  76. package/.cursor/commands/6aspec/green/{execute-task.md → implement.md} +1 -1
  77. package/.cursor/commands/6aspec/green/import-model-table.md +1 -1
  78. package/.cursor/commands/6aspec/green/init.md +2 -2
  79. package/.cursor/commands/6aspec/green/model.md +2 -2
  80. package/.cursor/commands/6aspec/green/new.md +2 -2
  81. package/.cursor/commands/6aspec/green/rollback.md +1 -1
  82. package/.cursor/commands/6aspec/green/status.md +1 -1
  83. package/.cursor/commands/6aspec/green/tasks.md +2 -2
  84. package/.cursor/commands/6aspec/green/visual-logic.md +2 -2
  85. package/README.md +1 -1
  86. package/lib/cli.js +2 -2
  87. package/lib/installer.js +19 -2
  88. package/package.json +1 -1
  89. /package/.6aspec/rules/green/{6A_constitution.md → green_constitution.md} +0 -0
  90. /package/.6aspec/rules/green/{6A_design_sop.md → green_design_sop.md} +0 -0
  91. /package/.6aspec/rules/green/{6A_import_model_table_sop.md → green_import_model_table_sop.md} +0 -0
  92. /package/.6aspec/rules/green/{6A_init_event_list_sop.md → green_init_event_list_sop.md} +0 -0
  93. /package/.6aspec/rules/green/{6A_init_map_sop.md → green_init_map_sop.md} +0 -0
  94. /package/.6aspec/rules/green/{6A_model_sop.md → green_model_sop.md} +0 -0
  95. /package/.6aspec/rules/green/{6A_rollback_sop.md → green_rollback_sop.md} +0 -0
  96. /package/.6aspec/rules/green/{6A_visual_logic_sop.md → green_visual_logic_sop.md} +0 -0
@@ -110,7 +110,18 @@
110
110
 
111
111
  **这是本 SOP 的核心价值环节。**
112
112
 
113
- 基于 Step 2 的初步分析,AI 必须主动列出 **3-5 个关键不确定点或风险点**,向用户提问确认。
113
+ 基于 Step 2 的初步分析,AI 必须:
114
+ 1. **识别所有关键不确定点或风险点**
115
+ 2. **按优先级排序**,选择最重要的 **3-5 个**向用户提问确认
116
+ 3. **其他问题写入待确认项**,标注优先级,后续通过 `clarify` 命令继续澄清
117
+
118
+ #### 优先级判断标准
119
+
120
+ | 优先级 | 定义 | 示例 |
121
+ | :--- | :--- | :--- |
122
+ | **P0** | 影响核心流程,不明确则无法进行领域建模 | 核心业务规则、主流程分支逻辑、关键状态定义 |
123
+ | **P1** | 影响设计决策或存在实施风险 | 性能要求、集成方式、并发处理策略 |
124
+ | **P2** | 影响细节实现但不阻塞主流程 | UI细节、提示文案、次要分支场景 |
114
125
 
115
126
  #### 反向提问的分类
116
127
 
@@ -124,6 +135,8 @@
124
135
 
125
136
  #### 提问格式
126
137
 
138
+ **如果识别出的关键问题 ≤ 5 个**,全部向用户提问:
139
+
127
140
  ```markdown
128
141
  ---
129
142
 
@@ -132,6 +145,7 @@
132
145
  基于对 PRD 的分析,以下 N 个问题需要确认后才能继续:
133
146
 
134
147
  ### Q1: [问题标题]
148
+ **优先级**:P0 / P1 / P2
135
149
  **类别**:语义模糊 / 边界缺失 / 流程遗漏 / 规则冲突 / 非功能隐患
136
150
  **来源**:PRD 第X章 / 第X节
137
151
  **问题描述**:<具体问题>
@@ -148,6 +162,35 @@
148
162
  - 告知哪些问题需要与产品/业务方再确认(将记录为"待确认项")
149
163
  ```
150
164
 
165
+ **如果识别出的关键问题 > 5 个**,只提问最重要的 3-5 个,其他写入待确认项:
166
+
167
+ ```markdown
168
+ ---
169
+
170
+ ## 🔍 需求澄清确认
171
+
172
+ 基于对 PRD 的分析,识别出 N 个关键不确定点。以下是最重要的 3-5 个问题,需要优先确认:
173
+
174
+ ### Q1: [问题标题]
175
+ **优先级**:P0 / P1
176
+ **类别**:语义模糊 / 边界缺失 / 流程遗漏 / 规则冲突 / 非功能隐患
177
+ **来源**:PRD 第X章 / 第X节
178
+ **问题描述**:<具体问题>
179
+ **AI 建议**:<如果有合理的默认假设,可以给出建议供用户参考>
180
+
181
+ ### Q2: [问题标题]
182
+ ...
183
+
184
+ ---
185
+
186
+ ⚠️ **还有 X 个其他关键问题已记录到待确认项**(详见生成的 requirement.md),建议后续通过 `/6aspec:green:clarify` 继续澄清。
187
+
188
+ 请逐一确认以上问题,您可以:
189
+ - 直接回答每个问题
190
+ - 提供补充文档
191
+ - 告知哪些问题需要与产品/业务方再确认(将记录为"待确认项")
192
+ ```
193
+
151
194
  **重要**:
152
195
  - 必须等待用户回复后再继续,不要跳过此步骤
153
196
  - 如果用户表示某些问题需要后续确认,记录为"待确认项"写入 requirement.md
@@ -226,11 +269,11 @@
226
269
  | 兼容性 | <如有> | |
227
270
 
228
271
  ## 8. 待确认项
229
- > 以下问题尚需与产品/业务方进一步确认,不阻塞领域建模但可能影响详细设计。
272
+ > 以下问题尚需与产品/业务方进一步确认。P0/P1 问题会阻塞流程,需优先澄清;P2 问题不阻塞领域建模但可能影响详细设计。
230
273
 
231
- | 序号 | 问题 | 状态 | 负责人 | 备注 |
232
- | :--- | :--- | :--- | :--- | :--- |
233
- | TBD-01 | <待确认问题> | 待确认/已确认 | <负责人> | <备注> |
274
+ | 序号 | 优先级 | 问题 | 类别 | AI建议 | 状态 | 备注 |
275
+ | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
276
+ | TBD-01 | P0/P1/P2 | <待确认问题> | 语义模糊/边界缺失/流程遗漏/规则冲突/非功能隐患 | <AI建议> | 待确认/已确认 | <备注> |
234
277
 
235
278
  ## 9. 附录
236
279
 
@@ -246,7 +289,11 @@
246
289
 
247
290
  ### Step 5: 更新状态文件
248
291
 
249
- 完成需求澄清文档后,更新 `.green-status.json`:
292
+ 完成需求澄清文档后,根据待确认项的优先级更新 `.green-status.json`:
293
+
294
+ #### 情况 1:无待确认项,或只有 P2 待确认项
295
+
296
+ 状态设置为 `requirement_clarified`,可以进入领域建模:
250
297
 
251
298
  ```json
252
299
  {
@@ -268,19 +315,51 @@
268
315
  }
269
316
  ```
270
317
 
271
- **注意**:如果存在较多"待确认项"(TBD ≥ 3 个且涉及核心流程),建议状态保持为 `created`,并提示用户:
318
+ **如果有 P2 待确认项**,向用户提示:
272
319
  ```
273
- ⚠️ 当前有 N 个待确认项涉及核心流程,建议先与产品/业务方确认后,再运行 /6aspec:green:clarify 继续澄清。
320
+ 核心问题已澄清,需求澄清文档已生成。
321
+
322
+ 📋 还有 N 个次要待确认项(P2)记录在 requirement.md 中,不阻塞领域建模,可后续通过 /6aspec:green:clarify 补充澄清。
323
+
324
+ 下一步:运行 /6aspec:green:model 开始领域建模
274
325
  ```
275
326
 
276
- 此时 `nextAction` 应设置为:
327
+ #### 情况 2:存在 P0 或 P1 待确认项
328
+
329
+ 状态保持为 `created`,需要先澄清后才能进入建模:
330
+
277
331
  ```json
278
332
  {
279
- "command": "clarify",
280
- "description": "继续需求澄清(有 N 个核心待确认项)"
333
+ "status": "created",
334
+ "lastModified": "<ISO8601-now>",
335
+ "artifacts": {
336
+ "requirement": {
337
+ "status": "partial",
338
+ "completedAt": "<ISO8601-now>"
339
+ },
340
+ "models": {
341
+ "status": "blocked"
342
+ }
343
+ },
344
+ "nextAction": {
345
+ "command": "clarify",
346
+ "description": "继续需求澄清(有 N 个 P0/P1 待确认项)"
347
+ }
281
348
  }
282
349
  ```
283
350
 
351
+ 向用户提示:
352
+ ```
353
+ ⚠️ 需求初步澄清已完成,但还有 N 个重要待确认项(P0: X个, P1: Y个)记录在 requirement.md 中。
354
+
355
+ 这些问题涉及核心流程或设计决策,建议先与产品/业务方确认后,再运行 /6aspec:green:clarify 继续澄清。
356
+
357
+ 待确认项列表:
358
+ - TBD-01 (P0): <问题简述>
359
+ - TBD-02 (P1): <问题简述>
360
+ ...
361
+ ```
362
+
284
363
  ## 输出要求
285
364
  1. 格式:Markdown 源码格式
286
365
  2. 文档位置:`6aspecdoc/green/<feature-name>/requirement.md`
@@ -63,8 +63,8 @@
63
63
  | `requirement_clarified` | 需求已澄清 | `/6aspec:green:model`(可选:`/6aspec:green:clarify` 继续深化) |
64
64
  | `modeled` | 领域建模完成 | `/6aspec:green:design` |
65
65
  | `designed` | 技术方案完成 | `/6aspec:green:tasks` |
66
- | `tasks_created` | 任务已拆解 | `/6aspec:green:execute-task` |
67
- | `implementing` | 实施中 | `/6aspec:green:execute-task` |
66
+ | `tasks_created` | 任务已拆解 | `/6aspec:green:implement` |
67
+ | `implementing` | 实施中 | `/6aspec:green:implement` |
68
68
  | `completed` | 已完成 | `/6aspec:green:archive` |
69
69
  | `archived` | 已归档 | - |
70
70
 
@@ -130,7 +130,7 @@ tasks (任务列表)
130
130
  | `designed` | `modeled` | `/6aspec:green:rollback` | artifacts/tech-design.md、api-definition.md、visual-logic.md(若存在) |
131
131
  | `tasks_created` | `designed` | `/6aspec:green:rollback` | tasks/ 目录下全部文件 |
132
132
 
133
- **不允许回退**:`created`(无上一阶段)、`implementing`、`completed`、`archived`。详见 `.6aspec/rules/green/6A_rollback_sop.md`。
133
+ **不允许回退**:`created`(无上一阶段)、`implementing`、`completed`、`archived`。详见 `.6aspec/rules/green/green_rollback_sop.md`。
134
134
 
135
135
  ## 示例
136
136
 
@@ -250,7 +250,7 @@ tasks (任务列表)
250
250
  "lastExecuted": "task_05_session_management.md"
251
251
  },
252
252
  "nextAction": {
253
- "command": "execute-task",
253
+ "command": "implement",
254
254
  "description": "继续执行剩余 3 个任务"
255
255
  }
256
256
  }
@@ -146,8 +146,8 @@ const status = JSON.parse(fs.readFileSync(statusPath, 'utf8'));
146
146
  | `requirement_clarified` | 运行 /6aspec:green:model 开始领域建模(可选:运行 /6aspec:green:clarify 继续深化需求) |
147
147
  | `modeled` | 运行 /6aspec:green:design 开始技术方案设计 |
148
148
  | `designed` | 运行 /6aspec:green:tasks 开始任务拆解 |
149
- | `tasks_created` | 运行 /6aspec:green:execute-task 开始执行任务 |
150
- | `implementing` | 运行 /6aspec:green:execute-task 继续执行任务 |
149
+ | `tasks_created` | 运行 /6aspec:green:implement 开始执行任务 |
150
+ | `implementing` | 运行 /6aspec:green:implement 继续执行任务 |
151
151
  | `completed` | 运行 /6aspec:green:archive 归档需求 |
152
152
  | `archived` | 需求已归档 |
153
153
 
@@ -208,7 +208,7 @@ const status = JSON.parse(fs.readFileSync(statusPath, 'utf8'));
208
208
  最后执行:task_05_session_management.md
209
209
 
210
210
  ### 下一步建议
211
- 运行 /6aspec:green:execute-task 继续执行任务
211
+ 运行 /6aspec:green:implement 继续执行任务
212
212
  或运行 /6aspec:green:continue 自动执行下一步
213
213
  ```
214
214
 
@@ -170,7 +170,7 @@ alwaysApply: false
170
170
  📊 **进度:3/4 (主流程)**
171
171
 
172
172
  **下一步建议:**
173
- - 【主流程】执行开发任务:命令 `execute-task`
173
+ - 【主流程】执行开发任务:命令 `implement`
174
174
  开始执行具体的开发任务,将设计转化为代码实现
175
175
 
176
176
  **完整流程图:**
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: implementer
3
+ description: 执行棕地需求的单个 TASK 实现,包括写代码、单元测试和自我审查,适用于 brown implement 阶段
4
+ ---
5
+
6
+ 读取并严格遵循:`.6aspec/rules/brown/subagents/implementer.md`
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: spec-compliance-reviewer
3
+ description: 检查实现是否符合 TASK 的验收标准和 specs.md 的 AC/Scenario,适用于 TASK 完成后的合规验收
4
+ ---
5
+
6
+ 读取并严格遵循:`.6aspec/rules/brown/subagents/spec-compliance-reviewer.md`
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "6aspec:brown: Analyze"
3
+ description: Phase 1 - 需求澄清与影响面分析(合并原 Understand + Impact)
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Analyze** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_analyze_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Archive"
3
- description: 归档已完成的需求
4
- category: Workflow
5
- tags: [workflow, requirement, archive]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Archive** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_archive_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Archive"
3
+ description: 归档已完成的需求
4
+ category: Workflow
5
+ tags: [workflow, requirement, archive]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Archive** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_archive_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Continue"
3
- description: 继续当前需求的下一个阶段
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Continue** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_continue_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Continue"
3
+ description: 继续当前需求的下一个阶段
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Continue** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_continue_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Design"
3
- description: Phase 3 - 技术方案设计(含 ADR 和技术债务识别)
4
- category: Workflow
5
- tags: [workflow, requirement, design]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Design** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_design_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Design"
3
+ description: Phase 3 - 技术方案设计(含 ADR 和技术债务识别)
4
+ category: Workflow
5
+ tags: [workflow, requirement, design]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Design** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_design_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "6aspec:brown: Explore"
3
+ description: 前期探索(轻量级流程可选)
4
+ category: Workflow
5
+ tags: [workflow, explore, lightweight, brownfield]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Explore** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_explore_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Fast Forward"
3
- description: 快速完成分析阶段(根据流程深度)
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Fast Forward** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_ff_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Fast Forward"
3
+ description: 快速完成分析阶段(根据流程深度)
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Fast Forward** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_ff_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Impact"
3
- description: Phase 2 - 影响面分析与非功能需求评估
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Impact** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_impact_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Impact"
3
+ description: Phase 2 - 影响面分析与非功能需求评估
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Impact** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_impact_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Implement"
3
- description: 执行任务实现
4
- category: Workflow
5
- tags: [workflow, requirement, implementation]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Implement** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_implement_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Implement"
3
+ description: 执行任务实现
4
+ category: Workflow
5
+ tags: [workflow, requirement, implementation]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Implement** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_implement_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: List"
3
- description: 列出所有需求及其状态
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **List** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_list_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: List"
3
+ description: 列出所有需求及其状态
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **List** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_list_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: New"
3
- description: 开始新需求分析(选择流程深度)
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **New** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_new_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: New"
3
+ description: 开始新需求分析(选择流程深度)
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **New** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_new_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Proposal"
3
- description: 创建需求提案(轻量级流程)
4
- category: Workflow
5
- tags: [workflow, requirement, proposal, lightweight]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Proposal** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_proposal_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Proposal"
3
+ description: 创建需求提案(轻量级流程)
4
+ category: Workflow
5
+ tags: [workflow, requirement, proposal, lightweight]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Proposal** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_proposal_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Quick"
3
- description: P2 需求快速通道(简化流程)
4
- category: Workflow
5
- tags: [workflow, requirement, quick]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Quick** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_quick_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Quick"
3
+ description: P2 需求快速通道(简化流程)
4
+ category: Workflow
5
+ tags: [workflow, requirement, quick]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Quick** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_quick_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Review"
3
- description: Phase 7 - 实施后评估
4
- category: Workflow
5
- tags: [workflow, requirement, review]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Review** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_review_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Review"
3
+ description: Phase 7 - 实施后评估
4
+ category: Workflow
5
+ tags: [workflow, requirement, review]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Review** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_review_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Status"
3
- description: 查看需求的当前状态和进度
4
- category: Workflow
5
- tags: [workflow, requirement]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Status** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_status_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Status"
3
+ description: 查看需求的当前状态和进度
4
+ category: Workflow
5
+ tags: [workflow, requirement]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Status** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_status_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Tasks"
3
- description: Phase 4 - 任务拆解与排期
4
- category: Workflow
5
- tags: [workflow, requirement, tasks]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Tasks** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_tasks_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Tasks"
3
+ description: Phase 4 - 任务拆解与排期
4
+ category: Workflow
5
+ tags: [workflow, requirement, tasks]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Tasks** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_tasks_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Understand"
3
- description: Phase 1 - 需求理解与现状分析
4
- category: Workflow
5
- tags: [workflow, requirement, analysis]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Understand** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_understand_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Understand"
3
+ description: Phase 1 - 需求理解与现状分析
4
+ category: Workflow
5
+ tags: [workflow, requirement, analysis]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Understand** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_understand_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: "6aspec:brown: Update"
3
+ description: 非破坏性地更新指定阶段的文档
4
+ category: Workflow
5
+ tags: [workflow, requirement, update, document]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Update** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_update_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -1,11 +1,11 @@
1
- ---
2
- name: "6aspec:brown: Verify"
3
- description: 验证实现是否符合需求和设计(增强版,借鉴 OpenSpec)
4
- category: Workflow
5
- tags: [workflow, requirement, verification]
6
- ---
7
-
8
- 1. Immediate response upon activation: brown field requirement workflow - **Verify** has been activated
9
- 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
- 3. Read file: `.6aspec/rules/brown/brown_verify_sop.md`
11
- 4. Strictly follow the SOP defined in that file
1
+ ---
2
+ name: "6aspec:brown: Verify"
3
+ description: 验证实现是否符合需求和设计(增强版,借鉴 OpenSpec)
4
+ category: Workflow
5
+ tags: [workflow, requirement, verification]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: brown field requirement workflow - **Verify** has been activated
9
+ 2. **Read and strictly follow the brown field constitution**: `.6aspec/rules/brown/brown_constitution.md`
10
+ 3. Read file: `.6aspec/rules/brown/brown_verify_sop.md`
11
+ 4. Strictly follow the SOP defined in that file
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: "6aspec:code"
3
+ description: 根据用户需求编写代码
4
+ category: Development
5
+ tags: [code, implementation, development]
6
+ ---
7
+
8
+ 1. Immediate response upon activation: code command has been activated
9
+ 2. Read and strictly follow the SOP: `.6aspec/rules/biz/code_implementation_sop.md`
10
+ 3. Strictly follow the SOP defined in that file