6aspec 2.0.0-dev.10 → 2.0.0-dev.12

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 (46) hide show
  1. package/.6aspec/rules/green/{6A_archive_sop.md → green_archive_sop.md} +3 -3
  2. package/.6aspec/rules/green/{6A_clarify_sop.md → green_clarify_sop.md} +1 -1
  3. package/.6aspec/rules/green/{6A_code_implementation_sop.md → green_code_implementation_sop.md} +3 -3
  4. package/.6aspec/rules/green/{6A_continue_sop.md → green_continue_sop.md} +3 -3
  5. package/.6aspec/rules/green/green_status_schema.md +4 -4
  6. package/.6aspec/rules/green/{6A_status_sop.md → green_status_sop.md} +3 -3
  7. package/.6aspec/rules/green/{6A_tasks_sop.md → green_tasks_sop.md} +1 -1
  8. package/.claude/commands/6aspec/green/archive.md +1 -1
  9. package/.claude/commands/6aspec/green/clarify.md +2 -2
  10. package/.claude/commands/6aspec/green/continue.md +1 -1
  11. package/.claude/commands/6aspec/green/design.md +2 -2
  12. package/.claude/commands/6aspec/green/{execute-task.md → implement.md} +1 -1
  13. package/.claude/commands/6aspec/green/import-model-table.md +1 -1
  14. package/.claude/commands/6aspec/green/init.md +2 -2
  15. package/.claude/commands/6aspec/green/model.md +2 -2
  16. package/.claude/commands/6aspec/green/new.md +2 -2
  17. package/.claude/commands/6aspec/green/rollback.md +1 -1
  18. package/.claude/commands/6aspec/green/status.md +1 -1
  19. package/.claude/commands/6aspec/green/tasks.md +2 -2
  20. package/.claude/commands/6aspec/green/visual-logic.md +2 -2
  21. package/.claude/settings.local.json +18 -1
  22. package/.cursor/commands/6aspec/green/archive.md +1 -1
  23. package/.cursor/commands/6aspec/green/clarify.md +2 -2
  24. package/.cursor/commands/6aspec/green/continue.md +1 -1
  25. package/.cursor/commands/6aspec/green/design.md +2 -2
  26. package/.cursor/commands/6aspec/green/{execute-task.md → implement.md} +1 -1
  27. package/.cursor/commands/6aspec/green/import-model-table.md +1 -1
  28. package/.cursor/commands/6aspec/green/init.md +2 -2
  29. package/.cursor/commands/6aspec/green/model.md +2 -2
  30. package/.cursor/commands/6aspec/green/new.md +2 -2
  31. package/.cursor/commands/6aspec/green/rollback.md +1 -1
  32. package/.cursor/commands/6aspec/green/status.md +1 -1
  33. package/.cursor/commands/6aspec/green/tasks.md +2 -2
  34. package/.cursor/commands/6aspec/green/visual-logic.md +2 -2
  35. package/README.md +1 -1
  36. package/lib/cli.js +1 -1
  37. package/package.json +1 -1
  38. /package/.6aspec/rules/green/{6A_constitution.md → green_constitution.md} +0 -0
  39. /package/.6aspec/rules/green/{6A_design_sop.md → green_design_sop.md} +0 -0
  40. /package/.6aspec/rules/green/{6A_import_model_table_sop.md → green_import_model_table_sop.md} +0 -0
  41. /package/.6aspec/rules/green/{6A_init_event_list_sop.md → green_init_event_list_sop.md} +0 -0
  42. /package/.6aspec/rules/green/{6A_init_map_sop.md → green_init_map_sop.md} +0 -0
  43. /package/.6aspec/rules/green/{6A_model_sop.md → green_model_sop.md} +0 -0
  44. /package/.6aspec/rules/green/{6A_new_sop.md → green_new_sop.md} +0 -0
  45. /package/.6aspec/rules/green/{6A_rollback_sop.md → green_rollback_sop.md} +0 -0
  46. /package/.6aspec/rules/green/{6A_visual_logic_sop.md → green_visual_logic_sop.md} +0 -0
@@ -103,7 +103,7 @@ find 6aspecdoc/green -maxdepth 2 -name ".green-status.json" -type f
103
103
 
104
104
  任务进度:<completed>/<total> 已完成,剩余 <remaining> 个任务未完成。
105
105
 
106
- 请先运行 /6aspec:green:execute-task 完成所有任务,待状态变为 completed 后再运行 /6aspec:green:archive。
106
+ 请先运行 /6aspec:green:implement 完成所有任务,待状态变为 completed 后再运行 /6aspec:green:archive。
107
107
  ```
108
108
 
109
109
  **3.3 检查状态(硬性门禁)**
@@ -116,7 +116,7 @@ find 6aspecdoc/green -maxdepth 2 -name ".green-status.json" -type f
116
116
  当前状态:<current-status>
117
117
  要求状态:completed(所有任务已完成)
118
118
 
119
- 归档前必须完成主流程至“所有任务已完成”。请先运行 /6aspec:green:execute-task 完成剩余任务,待状态变为 completed 后再运行 /6aspec:green:archive。
119
+ 归档前必须完成主流程至”所有任务已完成”。请先运行 /6aspec:green:implement 完成剩余任务,待状态变为 completed 后再运行 /6aspec:green:archive。
120
120
  ```
121
121
 
122
122
  ### Step 4: 执行归档
@@ -298,4 +298,4 @@ mv 6aspecdoc/green/<feature-name> 6aspecdoc/green/archive/YYYY-MM-DD-<feature-na
298
298
  ## 参考文档
299
299
 
300
300
  - 状态文件结构定义:`.6aspec/rules/green/green_status_schema.md`
301
- - 状态查询SOP:`.6aspec/rules/green/6A_status_sop.md`
301
+ - 状态查询SOP:`.6aspec/rules/green/green_status_sop.md`
@@ -59,7 +59,7 @@ find 6aspecdoc/green -maxdepth 2 -name ".green-status.json" -type f
59
59
 
60
60
  主流程中需求澄清窗口已结束,进入领域建模及后续阶段后不得再修改需求澄清范围。若确有需求变更,请与产品/业务方评估后,通过新需求或变更流程处理。
61
61
 
62
- 下一步建议:运行 /6aspec:green:status 查看当前状态,或按当前阶段继续执行对应命令(如 model、design、tasks、execute-task、archive)。
62
+ 下一步建议:运行 /6aspec:green:status 查看当前状态,或按当前阶段继续执行对应命令(如 model、design、tasks、implement、archive)。
63
63
  ```
64
64
 
65
65
  ### Step 2: 分析现有文档的薄弱环节
@@ -3,7 +3,7 @@ description: 任务代码实现标准操作流程 (Code Implementation SOP)
3
3
  alwaysApply: false
4
4
  ---
5
5
 
6
- # execute-task: 任务代码实现标准操作流程
6
+ # implement: 任务代码实现标准操作流程
7
7
 
8
8
  你现在是 **Senior Developer**,负责执行具体的开发任务。你的核心职责是将 `6aspecdoc/green/<feature-name>/tasks/task_xxx.md` 转化为高质量、可运行的业务代码。
9
9
 
@@ -92,13 +92,13 @@ alwaysApply: false
92
92
 
93
93
  ---
94
94
 
95
- ✅ **已完成:执行开发任务 (execute-task)**
95
+ ✅ **已完成:执行开发任务 (implement)**
96
96
 
97
97
  📊 **进度:4/4 (主流程) - 全部完成!🎉**
98
98
 
99
99
  **任务状态:**
100
100
  - 当前任务已完成,请检查 `tasks/README.md` 查看整体进度
101
- - 如还有未完成的任务,继续执行 `execute-task` 命令
101
+ - 如还有未完成的任务,继续执行 `implement` 命令
102
102
  - 如所有任务已完成,恭喜!整个开发流程已完成
103
103
 
104
104
  **完整流程图:**
@@ -72,8 +72,8 @@ find 6aspecdoc/green -maxdepth 2 -name ".green-status.json" -type f
72
72
  | `requirement_clarified` | `/6aspec:green:model` | 开始领域建模 |
73
73
  | `modeled` | `/6aspec:green:design` | 开始技术方案设计 |
74
74
  | `designed` | `/6aspec:green:tasks` | 开始任务拆解 |
75
- | `tasks_created` | `/6aspec:green:execute-task` | 开始执行第一个任务 |
76
- | `implementing` | `/6aspec:green:execute-task` | 继续执行下一个任务 |
75
+ | `tasks_created` | `/6aspec:green:implement` | 开始执行第一个任务 |
76
+ | `implementing` | `/6aspec:green:implement` | 继续执行下一个任务 |
77
77
  | `completed` | 提示归档 | 所有任务已完成 |
78
78
  | `archived` | 无操作 | 需求已归档 |
79
79
 
@@ -183,4 +183,4 @@ find 6aspecdoc/green -maxdepth 2 -name ".green-status.json" -type f
183
183
  ## 参考文档
184
184
 
185
185
  - 状态文件结构定义:`.6aspec/rules/green/green_status_schema.md`
186
- - 状态查询SOP:`.6aspec/rules/green/6A_status_sop.md`
186
+ - 状态查询SOP:`.6aspec/rules/green/green_status_sop.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
  **完整流程图:**
@@ -3,6 +3,6 @@ description: 归档已完成的绿地需求
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: archive workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_archive_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_archive_sop.md`
7
7
  3. Strictly follow the "Archive Workflow SOP" defined in that file
8
8
  4. Archive the completed requirement
@@ -3,11 +3,11 @@ description: 深化需求澄清(对已有需求进行更细节的澄清和补
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: clarify workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
7
  3. **Context Restriction**:
8
8
  - Do NOT perform `codebase_search`.
9
9
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
10
10
  - Stop and ask the user if you think you need more information.
11
- 4. Read file: `.6aspec/rules/green/6A_clarify_sop.md`
11
+ 4. Read file: `.6aspec/rules/green/green_clarify_sop.md`
12
12
  5. Strictly follow the "Requirement Clarification SOP" defined in that file
13
13
  6. Update the requirement document with clarified details
@@ -3,6 +3,6 @@ description: 自动执行绿地需求的下一步工作流
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: continue workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_continue_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_continue_sop.md`
7
7
  3. Strictly follow the "Continue Workflow SOP" defined in that file
8
8
  4. Automatically execute the next step based on current status
@@ -2,7 +2,7 @@
2
2
  description: design workflow
3
3
  ---
4
4
  1. Immediate response upon activation: design workflow has been activated.
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_design_sop.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_design_sop.md`
7
7
  4. Strictly follow the "New Feature Architecture SOP" defined in that file.
8
8
  5. Output the Technical Design Document (TDD).
@@ -10,7 +10,7 @@ description: 执行开发任务 (Execute Task)
10
10
  当用户提供一个任务文件路径(如 `@task_01_api_xxx.md`)并要求“执行任务”时:
11
11
 
12
12
  1. **激活角色**:切换至 `Senior Developer` 角色。
13
- 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/6A_code_implementation_sop.md` 中的协议。
13
+ 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/green_code_implementation_sop.md` 中的协议。
14
14
  - **Step 0**: 上下文加载 (Task + TDD + Rules)
15
15
  - **Step 1**: 自底向上编码 (DTO -> Repo -> Service -> API)
16
16
  - **Step 2**: 质量检查 (Lint)
@@ -2,7 +2,7 @@
2
2
  description: import-model-table workflow
3
3
  ---
4
4
  1. Immediate response upon activation: import-model-table workflow has been activated
5
- 2. Read file: `.6aspec/rules/green/6A_import_model_table_sop.md`
5
+ 2. Read file: `.6aspec/rules/green/green_import_model_table_sop.md`
6
6
  3. Strictly follow the "Import Model Table SOP" defined in that file
7
7
  4. Execute the python script to import entities
8
8
 
@@ -4,11 +4,11 @@ description: Init Project Artifacts (Functional Map & Event List)
4
4
  Immediate response upon activation: Project Artifacts Initialization workflow has been activated.
5
5
 
6
6
  Phase 1: Functional Capability Map
7
- 1. Read file: `.6aspec/rules/green/6A_init_map_sop.md`
7
+ 1. Read file: `.6aspec/rules/green/green_init_map_sop.md`
8
8
  2. Strictly follow the "Init Functional Capability Map SOP" defined in that file.
9
9
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/functional-capability-Map.md`.
10
10
 
11
11
  Phase 2: Event List
12
- 1. Read file: `.6aspec/rules/green/6A_init_event_list_sop.md`
12
+ 1. Read file: `.6aspec/rules/green/green_init_event_list_sop.md`
13
13
  2. Strictly follow the "Event List Generation SOP" defined in that file.
14
14
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/event-list.md`.
@@ -2,11 +2,11 @@
2
2
  description: model workflow
3
3
  ---
4
4
  1. Immediate response upon activation: model workflow has been activated
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
6
  3. **Context Restriction**:
7
7
  - Do NOT perform `codebase_search`.
8
8
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
9
9
  - Stop and ask the user if you think you need more information.
10
- 4. Read file: `.6aspec/rules/green/6A_model_sop.md`
10
+ 4. Read file: `.6aspec/rules/green/green_model_sop.md`
11
11
  5. Strictly follow the "Domain modeling and database design Architecture SOP" defined in that file
12
12
  6. Output the Domain model and table design
@@ -3,11 +3,11 @@ description: 开始一个新的绿地需求(需求澄清与结构化)
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: new feature workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
7
  3. **Context Restriction**:
8
8
  - Do NOT perform `codebase_search`.
9
9
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
10
10
  - Stop and ask the user if you think you need more information.
11
- 4. Read file: `.6aspec/rules/green/6A_new_sop.md`
11
+ 4. Read file: `.6aspec/rules/green/green_new_sop.md`
12
12
  5. Strictly follow the "New Feature Requirement SOP" defined in that file
13
13
  6. Output the structured requirement document
@@ -3,6 +3,6 @@ description: 流程回退(单步回退并删除当前阶段工件,需用户
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: rollback workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_rollback_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_rollback_sop.md`
7
7
  3. Strictly follow the "Rollback SOP" defined in that file
8
8
  4. **Do not** perform any file deletion or status file update until the user has explicitly confirmed (e.g. "确认回退" or "执行回退")
@@ -3,6 +3,6 @@ description: 查看绿地需求的当前状态和进度
3
3
  ---
4
4
 
5
5
  1. Immediate response upon activation: status workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_status_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_status_sop.md`
7
7
  3. Strictly follow the "Status Query SOP" defined in that file
8
8
  4. Output the current status and progress
@@ -2,7 +2,7 @@
2
2
  description: tasks workflow
3
3
  ---
4
4
  1. Immediate response upon activation: tasks workflow has been activated
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_tasks_sop.md`
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_tasks_sop.md`
7
7
  4. Strictly follow the "Task Decomposition SOP" defined in that file
8
8
  5. Output the task list
@@ -2,8 +2,8 @@
2
2
  description: visual-logic workflow
3
3
  ---
4
4
  1. Immediate response upon activation: visual-logic workflow has been activated.
5
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
- 3. Read file: `.6aspec/rules/green/6A_visual_logic_sop.md`.
5
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
6
+ 3. Read file: `.6aspec/rules/green/green_visual_logic_sop.md`.
7
7
  4. Strictly follow the "Visual Logic Diagrams SOP" defined in that file.
8
8
  5. Output Mermaid diagrams as specified in the SOP.
9
9
 
@@ -2,7 +2,24 @@
2
2
  "permissions": {
3
3
  "allow": [
4
4
  "Bash(ls -la .claude/commands/6aspec/green/*.md)",
5
- "Bash(xargs -I {} basename {})"
5
+ "Bash(xargs -I {} basename {})",
6
+ "Bash(git mv 6A_constitution.md green_constitution.md)",
7
+ "Bash(git mv 6A_design_sop.md green_design_sop.md)",
8
+ "Bash(git mv 6A_import_model_table_sop.md green_import_model_table_sop.md)",
9
+ "Bash(git mv 6A_init_event_list_sop.md green_init_event_list_sop.md)",
10
+ "Bash(git mv 6A_init_map_sop.md green_init_map_sop.md)",
11
+ "Bash(git mv 6A_model_sop.md green_model_sop.md)",
12
+ "Bash(git mv 6A_new_sop.md green_new_sop.md)",
13
+ "Bash(git mv 6A_rollback_sop.md green_rollback_sop.md)",
14
+ "Bash(git mv 6A_visual_logic_sop.md green_visual_logic_sop.md)",
15
+ "Bash(git mv 6A_code_implementation_sop.md green_code_implementation_sop.md)",
16
+ "Bash(git mv 6A_archive_sop.md green_archive_sop.md)",
17
+ "Bash(git mv 6A_continue_sop.md green_continue_sop.md)",
18
+ "Bash(git mv 6A_tasks_sop.md green_tasks_sop.md)",
19
+ "Bash(git mv 6A_clarify_sop.md green_clarify_sop.md)",
20
+ "Bash(git mv 6A_status_sop.md green_status_sop.md)",
21
+ "Bash(ls -la .6aspec/rules/green/6A_*.md)",
22
+ "Bash(xargs sed -i '' 's/6A_\\\\\\([a-z_]*\\\\\\)\\\\.md/green_\\\\1.md/g')"
6
23
  ]
7
24
  }
8
25
  }
@@ -4,6 +4,6 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: archive workflow has been activated
7
- 2. Read file: `.6aspec/rules/green/6A_archive_sop.md`
7
+ 2. Read file: `.6aspec/rules/green/green_archive_sop.md`
8
8
  3. Strictly follow the "Archive Workflow SOP" defined in that file
9
9
  4. Archive the completed requirement
@@ -4,11 +4,11 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: clarify workflow has been activated
7
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
7
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
8
8
  3. **Context Restriction**:
9
9
  - Do NOT perform `codebase_search`.
10
10
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
11
11
  - Stop and ask the user if you think you need more information.
12
- 4. Read file: `.6aspec/rules/green/6A_clarify_sop.md`
12
+ 4. Read file: `.6aspec/rules/green/green_clarify_sop.md`
13
13
  5. Strictly follow the "Requirement Clarification SOP" defined in that file
14
14
  6. Update the requirement document with clarified details
@@ -4,6 +4,6 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: continue workflow has been activated
7
- 2. Read file: `.6aspec/rules/green/6A_continue_sop.md`
7
+ 2. Read file: `.6aspec/rules/green/green_continue_sop.md`
8
8
  3. Strictly follow the "Continue Workflow SOP" defined in that file
9
9
  4. Automatically execute the next step based on current status
@@ -3,7 +3,7 @@ description: design workflow
3
3
  alwaysApply: false
4
4
  ---
5
5
  1. Immediate response upon activation: design workflow has been activated.
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
7
- 3. Read file: `.6aspec/rules/green/6A_design_sop.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
+ 3. Read file: `.6aspec/rules/green/green_design_sop.md`
8
8
  4. Strictly follow the "New Feature Architecture SOP" defined in that file.
9
9
  5. Output the Technical Design Document (TDD).
@@ -11,7 +11,7 @@ alwaysApply: false
11
11
  当用户提供一个任务文件路径(如 `@task_01_api_xxx.md`)并要求“执行任务”时:
12
12
 
13
13
  1. **激活角色**:切换至 `Senior Developer` 角色。
14
- 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/6A_code_implementation_sop.md` 中的协议。
14
+ 2. **调用 SOP**:严格遵循 `.6aspec/rules/green/green_code_implementation_sop.md` 中的协议。
15
15
  - **Step 0**: 上下文加载 (Task + TDD + Rules)
16
16
  - **Step 1**: 自底向上编码 (DTO -> Repo -> Service -> API)
17
17
  - **Step 2**: 质量检查 (Lint)
@@ -3,7 +3,7 @@ description: import-model-table workflow
3
3
  alwaysApply: false
4
4
  ---
5
5
  1. Immediate response upon activation: import-model-table workflow has been activated
6
- 2. Read file: `.6aspec/rules/green/6A_import_model_table_sop.md`
6
+ 2. Read file: `.6aspec/rules/green/green_import_model_table_sop.md`
7
7
  3. Strictly follow the "Import Model Table SOP" defined in that file
8
8
  4. Execute the python script to import entities
9
9
 
@@ -5,11 +5,11 @@ alwaysApply: false
5
5
  Immediate response upon activation: Project Artifacts Initialization workflow has been activated.
6
6
 
7
7
  Phase 1: Functional Capability Map
8
- 1. Read file: `.6aspec/rules/green/6A_init_map_sop.md`
8
+ 1. Read file: `.6aspec/rules/green/green_init_map_sop.md`
9
9
  2. Strictly follow the "Init Functional Capability Map SOP" defined in that file.
10
10
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/functional-capability-Map.md`.
11
11
 
12
12
  Phase 2: Event List
13
- 1. Read file: `.6aspec/rules/green/6A_init_event_list_sop.md`
13
+ 1. Read file: `.6aspec/rules/green/green_init_event_list_sop.md`
14
14
  2. Strictly follow the "Event List Generation SOP" defined in that file.
15
15
  3. Execute the codebase scan and update the artifact at `.6aspec/biz/event-list.md`.
@@ -3,11 +3,11 @@ description: model workflow
3
3
  alwaysApply: false
4
4
  ---
5
5
  1. Immediate response upon activation: model workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
7
  3. **Context Restriction**:
8
8
  - Do NOT perform `codebase_search`.
9
9
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
10
10
  - Stop and ask the user if you think you need more information.
11
- 4. Read file: `.6aspec/rules/green/6A_model_sop.md`
11
+ 4. Read file: `.6aspec/rules/green/green_model_sop.md`
12
12
  5. Strictly follow the "Domain modeling and database design Architecture SOP" defined in that file
13
13
  6. Output the Domain model and table design
@@ -4,11 +4,11 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: new feature workflow has been activated
7
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
7
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
8
8
  3. **Context Restriction**:
9
9
  - Do NOT perform `codebase_search`.
10
10
  - Do NOT read any files unless they are explicitly provided by the user (via '@') or explicitly listed in the SOP steps.
11
11
  - Stop and ask the user if you think you need more information.
12
- 4. Read file: `.6aspec/rules/green/6A_new_sop.md`
12
+ 4. Read file: `.6aspec/rules/green/green_new_sop.md`
13
13
  5. Strictly follow the "New Feature Requirement SOP" defined in that file
14
14
  6. Output the structured requirement document
@@ -4,6 +4,6 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: rollback workflow has been activated
7
- 2. Read file: `.6aspec/rules/green/6A_rollback_sop.md`
7
+ 2. Read file: `.6aspec/rules/green/green_rollback_sop.md`
8
8
  3. Strictly follow the "Rollback SOP" defined in that file
9
9
  4. **Do not** perform any file deletion or status file update until the user has explicitly confirmed (e.g. "确认回退" or "执行回退")
@@ -4,6 +4,6 @@ alwaysApply: false
4
4
  ---
5
5
 
6
6
  1. Immediate response upon activation: status workflow has been activated
7
- 2. Read file: `.6aspec/rules/green/6A_status_sop.md`
7
+ 2. Read file: `.6aspec/rules/green/green_status_sop.md`
8
8
  3. Strictly follow the "Status Query SOP" defined in that file
9
9
  4. Output the current status and progress
@@ -3,7 +3,7 @@ description: tasks workflow
3
3
  alwaysApply: false
4
4
  ---
5
5
  1. Immediate response upon activation: tasks workflow has been activated
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
7
- 3. Read file: `.6aspec/rules/green/6A_tasks_sop.md`
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
+ 3. Read file: `.6aspec/rules/green/green_tasks_sop.md`
8
8
  4. Strictly follow the "Task Decomposition SOP" defined in that file
9
9
  5. Output the task list
@@ -3,8 +3,8 @@ description: visual-logic workflow
3
3
  alwaysApply: false
4
4
  ---
5
5
  1. Immediate response upon activation: visual-logic workflow has been activated.
6
- 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/6A_constitution.md`
7
- 3. Read file: `.6aspec/rules/green/6A_visual_logic_sop.md`.
6
+ 2. **You must first read and strictly abide by the principles in the constitutional documents**:`.6aspec/rules/green/green_constitution.md`
7
+ 3. Read file: `.6aspec/rules/green/green_visual_logic_sop.md`.
8
8
  4. Strictly follow the "Visual Logic Diagrams SOP" defined in that file.
9
9
  5. Output Mermaid diagrams as specified in the SOP.
10
10
 
package/README.md CHANGED
@@ -118,7 +118,7 @@ npm install -g 6aspec@2.0.0
118
118
  |------|------|
119
119
  | `/6aspec:green:new` | 创建一个模块 |
120
120
  | `/6aspec:green:continue` | 生成下一个工件 |
121
- | `/6aspec:green:execute-task` | 执行任务 |
121
+ | `/6aspec:green:implement` | 执行任务 |
122
122
  | `/6aspec:green:init` | 初始化项目 |
123
123
  | `/6aspec:green:status` | 查看状态 |
124
124
  | `/6aspec:green:model` | 数据建模 |
package/lib/cli.js CHANGED
@@ -88,7 +88,7 @@ function buildRightLines() {
88
88
  ` ${MAGENTA}Greenfield (new project):${RESET}`,
89
89
  ` ${GREEN}/6aspec:green:new${RESET} Create a module`,
90
90
  ` ${GREEN}/6aspec:green:continue${RESET} Next artifact`,
91
- ` ${GREEN}/6aspec:green:execute-task${RESET} Execute tasks`,
91
+ ` ${GREEN}/6aspec:green:implement${RESET} Execute tasks`,
92
92
  ];
93
93
  }
94
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "6aspec",
3
- "version": "2.0.0-dev.10",
3
+ "version": "2.0.0-dev.12",
4
4
  "description": "6Aspec - 轻量级 spec 驱动开发框架,支持 Cursor 和 Claude Code",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {