6aspec 2.0.0-dev.10 → 2.0.0-dev.11
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/.6aspec/rules/green/6A_archive_sop.md +2 -2
- package/.6aspec/rules/green/6A_clarify_sop.md +1 -1
- package/.6aspec/rules/green/6A_code_implementation_sop.md +3 -3
- package/.6aspec/rules/green/6A_continue_sop.md +2 -2
- package/.6aspec/rules/green/6A_status_sop.md +3 -3
- package/.6aspec/rules/green/6A_tasks_sop.md +1 -1
- package/.6aspec/rules/green/green_status_schema.md +3 -3
- package/README.md +1 -1
- package/lib/cli.js +1 -1
- package/package.json +1 -1
- /package/.claude/commands/6aspec/green/{execute-task.md → implement.md} +0 -0
- /package/.cursor/commands/6aspec/green/{execute-task.md → implement.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:
|
|
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
|
-
|
|
119
|
+
归档前必须完成主流程至”所有任务已完成”。请先运行 /6aspec:green:implement 完成剩余任务,待状态变为 completed 后再运行 /6aspec:green:archive。
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
### Step 4: 执行归档
|
|
@@ -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、
|
|
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
|
-
#
|
|
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
|
-
✅ **已完成:执行开发任务 (
|
|
95
|
+
✅ **已完成:执行开发任务 (implement)**
|
|
96
96
|
|
|
97
97
|
📊 **进度:4/4 (主流程) - 全部完成!🎉**
|
|
98
98
|
|
|
99
99
|
**任务状态:**
|
|
100
100
|
- 当前任务已完成,请检查 `tasks/README.md` 查看整体进度
|
|
101
|
-
- 如还有未完成的任务,继续执行 `
|
|
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:
|
|
76
|
-
| `implementing` | `/6aspec:green:
|
|
75
|
+
| `tasks_created` | `/6aspec:green:implement` | 开始执行第一个任务 |
|
|
76
|
+
| `implementing` | `/6aspec:green:implement` | 继续执行下一个任务 |
|
|
77
77
|
| `completed` | 提示归档 | 所有任务已完成 |
|
|
78
78
|
| `archived` | 无操作 | 需求已归档 |
|
|
79
79
|
|
|
@@ -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:
|
|
150
|
-
| `implementing` | 运行 /6aspec:green:
|
|
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:
|
|
211
|
+
运行 /6aspec:green:implement 继续执行任务
|
|
212
212
|
或运行 /6aspec:green:continue 自动执行下一步
|
|
213
213
|
```
|
|
214
214
|
|
|
@@ -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:
|
|
67
|
-
| `implementing` | 实施中 | `/6aspec:green:
|
|
66
|
+
| `tasks_created` | 任务已拆解 | `/6aspec:green:implement` |
|
|
67
|
+
| `implementing` | 实施中 | `/6aspec:green:implement` |
|
|
68
68
|
| `completed` | 已完成 | `/6aspec:green:archive` |
|
|
69
69
|
| `archived` | 已归档 | - |
|
|
70
70
|
|
|
@@ -250,7 +250,7 @@ tasks (任务列表)
|
|
|
250
250
|
"lastExecuted": "task_05_session_management.md"
|
|
251
251
|
},
|
|
252
252
|
"nextAction": {
|
|
253
|
-
"command": "
|
|
253
|
+
"command": "implement",
|
|
254
254
|
"description": "继续执行剩余 3 个任务"
|
|
255
255
|
}
|
|
256
256
|
}
|
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:
|
|
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:
|
|
91
|
+
` ${GREEN}/6aspec:green:implement${RESET} Execute tasks`,
|
|
92
92
|
];
|
|
93
93
|
}
|
|
94
94
|
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|