ccjk 1.3.7 → 1.5.0
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/dist/chunks/simple-config.mjs +107 -44
- package/dist/cli.mjs +2 -2
- package/dist/i18n/locales/en/workflow.json +28 -9
- package/dist/i18n/locales/zh-CN/workflow.json +28 -9
- package/package.json +36 -36
- package/templates/claude-code/en/workflow/essential/commands/feat.md +196 -51
- package/templates/claude-code/zh-CN/workflow/essential/commands/feat.md +194 -51
- package/templates/common/output-styles/en/pair-programmer.md +115 -76
- package/templates/common/output-styles/en/speed-coder.md +121 -45
- package/templates/common/output-styles/zh-CN/pair-programmer.md +116 -77
- package/templates/common/output-styles/zh-CN/senior-architect.md +251 -75
- package/templates/common/output-styles/zh-CN/speed-coder.md +121 -45
- package/templates/common/workflow/sixStep/en/workflow.md +137 -31
- package/templates/common/workflow/sixStep/zh-CN/workflow.md +152 -10
- package/templates/common/output-styles/en/engineer-professional.md +0 -88
- package/templates/common/output-styles/en/laowang-engineer.md +0 -127
- package/templates/common/output-styles/en/nekomata-engineer.md +0 -120
- package/templates/common/output-styles/en/ojousama-engineer.md +0 -121
- package/templates/common/output-styles/zh-CN/engineer-professional.md +0 -89
- package/templates/common/output-styles/zh-CN/laowang-engineer.md +0 -127
- package/templates/common/output-styles/zh-CN/nekomata-engineer.md +0 -120
- package/templates/common/output-styles/zh-CN/ojousama-engineer.md +0 -121
|
@@ -1,105 +1,250 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: 'Feature Development Command - Intelligent Planning, Design, and Implementation Workflow'
|
|
3
|
+
argument-hint: <feature description> [--plan] [--design] [--execute] [--quick]
|
|
4
|
+
# examples:
|
|
5
|
+
# - /feat user login feature # Full flow: Plan → Design → Implement
|
|
6
|
+
# - /feat add dark mode --plan # Generate planning doc only
|
|
7
|
+
# - /feat shopping cart --design # Skip planning, go to design
|
|
8
|
+
# - /feat fix form validation --quick # Quick mode, simplified flow
|
|
9
|
+
# - /feat --execute # Continue executing existing plan
|
|
3
10
|
---
|
|
4
11
|
|
|
12
|
+
# Feature Development Command
|
|
13
|
+
|
|
14
|
+
> **Core Philosophy**: Plan First, Design-Driven, Quality Priority
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
/feat <feature description> [options]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Options
|
|
23
|
+
|
|
24
|
+
| Option | Description |
|
|
25
|
+
|--------|-------------|
|
|
26
|
+
| `--plan` | Generate planning document only, don't execute |
|
|
27
|
+
| `--design` | Skip planning, go directly to UI design |
|
|
28
|
+
| `--execute` | Continue executing existing plan |
|
|
29
|
+
| `--quick` | Quick mode, simplified workflow |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Feature Description
|
|
34
|
+
|
|
5
35
|
$ARGUMENTS
|
|
6
36
|
|
|
7
|
-
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Intelligent Workflow
|
|
40
|
+
|
|
41
|
+
### Phase 0: Input Analysis
|
|
42
|
+
|
|
43
|
+
For each input, first perform **type identification** and clearly communicate:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
📋 Operation Type: [Requirement Planning | Discussion Iteration | Execution Implementation]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Identification Criteria**:
|
|
8
50
|
|
|
9
|
-
|
|
51
|
+
| Type | Trigger Condition | Example Input |
|
|
52
|
+
|------|-------------------|---------------|
|
|
53
|
+
| 🆕 Requirement Planning | New feature request, project idea | "Add user auth", "Implement cart" |
|
|
54
|
+
| 🔄 Discussion Iteration | Modify, refine existing plan | "Adjust the approach", "Continue discussion" |
|
|
55
|
+
| ⚡ Execution Implementation | Confirm to start implementation | "Start executing", "Implement as planned" |
|
|
10
56
|
|
|
11
|
-
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Phase 1: Requirement Planning 🆕
|
|
12
60
|
|
|
13
|
-
**
|
|
61
|
+
**Trigger**: Identified as new feature requirement
|
|
14
62
|
|
|
15
|
-
|
|
63
|
+
**Execution Flow**:
|
|
16
64
|
|
|
17
|
-
|
|
65
|
+
1. **Enable Planner Agent** for deep analysis
|
|
66
|
+
2. **Generate planning document** stored in `.ccjk/plan/current/`
|
|
67
|
+
3. **Document naming**: `feature-name.md`
|
|
18
68
|
|
|
19
|
-
|
|
69
|
+
**Planning Document Structure**:
|
|
20
70
|
|
|
21
|
-
|
|
71
|
+
```markdown
|
|
72
|
+
# Feature Plan: [Feature Name]
|
|
22
73
|
|
|
23
|
-
|
|
74
|
+
## 📋 Overview
|
|
75
|
+
- Feature objective
|
|
76
|
+
- Expected value
|
|
77
|
+
- Impact scope
|
|
24
78
|
|
|
25
|
-
|
|
79
|
+
## 🎯 Feature Breakdown
|
|
80
|
+
- [ ] Sub-feature 1
|
|
81
|
+
- [ ] Sub-feature 2
|
|
82
|
+
- [ ] Sub-feature 3
|
|
26
83
|
|
|
27
|
-
|
|
84
|
+
## 📐 Technical Approach
|
|
85
|
+
- Architecture design
|
|
86
|
+
- Data model
|
|
87
|
+
- API design
|
|
28
88
|
|
|
29
|
-
|
|
89
|
+
## ✅ Acceptance Criteria
|
|
90
|
+
- Functional acceptance points
|
|
91
|
+
- Performance metrics
|
|
92
|
+
- Test coverage
|
|
30
93
|
|
|
31
|
-
|
|
94
|
+
## ⏱️ Implementation Plan
|
|
95
|
+
- Phase breakdown
|
|
96
|
+
- Time estimation
|
|
97
|
+
- Dependencies
|
|
98
|
+
```
|
|
32
99
|
|
|
33
|
-
|
|
100
|
+
---
|
|
34
101
|
|
|
35
|
-
|
|
102
|
+
### Phase 2: Discussion Iteration 🔄
|
|
36
103
|
|
|
37
|
-
|
|
104
|
+
**Trigger**: User requests to modify or refine plan
|
|
38
105
|
|
|
39
|
-
**
|
|
106
|
+
**Execution Flow**:
|
|
40
107
|
|
|
41
|
-
**
|
|
108
|
+
1. **Retrieve previous plan** from `.ccjk/plan/current/`
|
|
109
|
+
2. **Analyze user feedback** identify modification points
|
|
110
|
+
3. **Enable Planner Agent** for re-planning
|
|
111
|
+
4. **Version management**:
|
|
112
|
+
- Original file: `feature-name.md`
|
|
113
|
+
- Iteration versions: `feature-name-v2.md`, `feature-name-v3.md`
|
|
42
114
|
|
|
43
|
-
|
|
115
|
+
**Iteration Record**:
|
|
44
116
|
|
|
45
|
-
|
|
117
|
+
```markdown
|
|
118
|
+
## 📝 Iteration History
|
|
46
119
|
|
|
47
|
-
|
|
120
|
+
### v2 - [timestamp]
|
|
121
|
+
- Modification 1
|
|
122
|
+
- Modification 2
|
|
48
123
|
|
|
49
|
-
|
|
124
|
+
### v1 - [timestamp]
|
|
125
|
+
- Initial version
|
|
126
|
+
```
|
|
50
127
|
|
|
51
|
-
|
|
128
|
+
---
|
|
52
129
|
|
|
53
|
-
|
|
130
|
+
### Phase 3: Execution Implementation ⚡
|
|
131
|
+
|
|
132
|
+
**Trigger**: User confirms plan is complete
|
|
133
|
+
|
|
134
|
+
**Execution Flow**:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
┌─────────────────────────────────────────────────────────┐
|
|
138
|
+
│ 📋 Read Planning Document │
|
|
139
|
+
│ ↓ │
|
|
140
|
+
│ 🔍 Identify Subtask Types │
|
|
141
|
+
│ ↓ │
|
|
142
|
+
│ ┌─────────────┬─────────────┬─────────────┐ │
|
|
143
|
+
│ │ Frontend │ Backend │ Other │ │
|
|
144
|
+
│ │ Tasks │ Tasks │ Tasks │ │
|
|
145
|
+
│ │ ↓ │ ↓ │ ↓ │ │
|
|
146
|
+
│ │ UI Design │ Direct │ Direct │ │
|
|
147
|
+
│ │ Check │ Implement │ Implement │ │
|
|
148
|
+
│ │ ↓ │ │ │ │
|
|
149
|
+
│ │ No Design? │ │ │ │
|
|
150
|
+
│ │ ↓ │ │ │ │
|
|
151
|
+
│ │ UI-UX Agent │ │ │ │
|
|
152
|
+
│ └─────────────┴─────────────┴─────────────┘ │
|
|
153
|
+
│ ↓ │
|
|
154
|
+
│ ✅ Complete and Update Status │
|
|
155
|
+
└─────────────────────────────────────────────────────────┘
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Frontend Task Special Handling**:
|
|
159
|
+
|
|
160
|
+
1. **Check UI Design** - Does design exist?
|
|
161
|
+
2. **No Design** - Must invoke `UI-UX-Designer Agent`
|
|
162
|
+
3. **After Design** - Proceed with development
|
|
54
163
|
|
|
55
|
-
|
|
164
|
+
---
|
|
56
165
|
|
|
57
|
-
|
|
166
|
+
## Quick Commands
|
|
58
167
|
|
|
59
|
-
|
|
168
|
+
During feature development, use these shortcuts:
|
|
60
169
|
|
|
61
|
-
|
|
170
|
+
| Command | Description |
|
|
171
|
+
|---------|-------------|
|
|
172
|
+
| `!plan` | View current planning document |
|
|
173
|
+
| `!status` | View task completion status |
|
|
174
|
+
| `!next` | Execute next subtask |
|
|
175
|
+
| `!pause` | Pause execution, save progress |
|
|
176
|
+
| `!design` | Invoke UI-UX-Designer |
|
|
177
|
+
| `!test` | Generate tests for current feature |
|
|
62
178
|
|
|
63
|
-
|
|
179
|
+
---
|
|
64
180
|
|
|
65
|
-
|
|
181
|
+
## State Management
|
|
66
182
|
|
|
67
|
-
|
|
183
|
+
### Task Status Tracking
|
|
68
184
|
|
|
69
|
-
|
|
185
|
+
```markdown
|
|
186
|
+
## 📊 Execution Status
|
|
70
187
|
|
|
71
|
-
|
|
188
|
+
| Subtask | Status | Progress |
|
|
189
|
+
|---------|--------|----------|
|
|
190
|
+
| Data model design | ✅ Complete | 100% |
|
|
191
|
+
| API development | 🔄 In Progress | 60% |
|
|
192
|
+
| Frontend implementation | ⏳ Pending | 0% |
|
|
193
|
+
| Unit test writing | ⏳ Pending | 0% |
|
|
194
|
+
```
|
|
72
195
|
|
|
73
|
-
###
|
|
196
|
+
### Progress Visualization
|
|
74
197
|
|
|
75
|
-
|
|
198
|
+
```
|
|
199
|
+
Overall Progress: [████████░░░░░░░░] 50%
|
|
76
200
|
|
|
77
|
-
|
|
201
|
+
✅ Completed: 2/4 subtasks
|
|
202
|
+
🔄 In Progress: 1/4 subtasks
|
|
203
|
+
⏳ Pending: 1/4 subtasks
|
|
204
|
+
```
|
|
78
205
|
|
|
79
|
-
|
|
206
|
+
---
|
|
80
207
|
|
|
81
|
-
|
|
208
|
+
## Quality Assurance
|
|
82
209
|
|
|
83
|
-
|
|
210
|
+
### Mandatory Checkpoints
|
|
84
211
|
|
|
85
|
-
|
|
212
|
+
1. **Planning Phase** - Must include acceptance criteria
|
|
213
|
+
2. **Design Phase** - Frontend tasks must have UI design
|
|
214
|
+
3. **Implementation Phase** - Update status after each subtask
|
|
215
|
+
4. **Completion Phase** - Verify against acceptance criteria
|
|
86
216
|
|
|
87
|
-
|
|
217
|
+
### Code Quality Requirements
|
|
88
218
|
|
|
89
|
-
|
|
219
|
+
- Follow existing project code style
|
|
220
|
+
- Add necessary type definitions
|
|
221
|
+
- Write unit tests (coverage > 80%)
|
|
222
|
+
- Update relevant documentation
|
|
90
223
|
|
|
91
|
-
|
|
224
|
+
---
|
|
92
225
|
|
|
93
|
-
|
|
226
|
+
## Output Format
|
|
94
227
|
|
|
95
|
-
|
|
228
|
+
### Response Structure
|
|
96
229
|
|
|
97
|
-
|
|
230
|
+
```
|
|
231
|
+
📋 Operation Type: [Type]
|
|
232
|
+
📍 Current Phase: [Phase]
|
|
233
|
+
📊 Overall Progress: [Progress Bar]
|
|
98
234
|
|
|
99
|
-
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
[Specific Content]
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
💡 Next Step: [Suggested Action]
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
---
|
|
100
245
|
|
|
101
|
-
|
|
246
|
+
## Start Execution
|
|
102
247
|
|
|
103
|
-
|
|
248
|
+
**Feature Request**: $ARGUMENTS
|
|
104
249
|
|
|
105
|
-
|
|
250
|
+
Analyzing input type and initiating appropriate workflow...
|
|
@@ -1,105 +1,248 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: '
|
|
2
|
+
description: '功能开发命令 - 智能规划、设计、实施一体化工作流'
|
|
3
|
+
argument-hint: <功能描述> [--plan] [--design] [--execute] [--quick]
|
|
4
|
+
# examples:
|
|
5
|
+
# - /feat 用户登录功能 # 完整流程:规划 → 设计 → 实施
|
|
6
|
+
# - /feat 添加暗色模式 --plan # 仅生成规划文档
|
|
7
|
+
# - /feat 购物车功能 --design # 跳过规划,直接设计
|
|
8
|
+
# - /feat 修复表单验证 --quick # 快速模式,简化流程
|
|
9
|
+
# - /feat --execute # 继续执行已有规划
|
|
3
10
|
---
|
|
4
11
|
|
|
12
|
+
# 功能开发命令
|
|
13
|
+
|
|
14
|
+
> **核心理念**: 规划先行,设计驱动,质量优先
|
|
15
|
+
|
|
16
|
+
## 使用方法
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
/feat <功能描述> [选项]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 选项说明
|
|
23
|
+
|
|
24
|
+
| 选项 | 说明 |
|
|
25
|
+
|------|------|
|
|
26
|
+
| `--plan` | 仅生成规划文档,不执行 |
|
|
27
|
+
| `--design` | 跳过规划,直接进入 UI 设计 |
|
|
28
|
+
| `--execute` | 继续执行已有规划 |
|
|
29
|
+
| `--quick` | 快速模式,简化流程 |
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 功能描述
|
|
34
|
+
|
|
5
35
|
$ARGUMENTS
|
|
6
36
|
|
|
7
|
-
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 智能工作流程
|
|
40
|
+
|
|
41
|
+
### 阶段 0:输入分析
|
|
42
|
+
|
|
43
|
+
每次收到输入时,首先进行**类型识别**并明确告知:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
📋 操作类型识别:[需求规划 | 讨论迭代 | 执行实施]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**识别标准**:
|
|
8
50
|
|
|
9
|
-
|
|
51
|
+
| 类型 | 触发条件 | 示例输入 |
|
|
52
|
+
|------|----------|----------|
|
|
53
|
+
| 🆕 需求规划 | 新功能需求、项目构想 | "添加用户认证"、"实现购物车" |
|
|
54
|
+
| 🔄 讨论迭代 | 修改、完善已有规划 | "调整一下方案"、"继续讨论" |
|
|
55
|
+
| ⚡ 执行实施 | 确认开始实施 | "开始执行"、"按计划实施" |
|
|
10
56
|
|
|
11
|
-
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### 阶段 1:需求规划 🆕
|
|
12
60
|
|
|
13
|
-
|
|
61
|
+
**触发**: 识别为新功能需求
|
|
14
62
|
|
|
15
|
-
|
|
63
|
+
**执行流程**:
|
|
16
64
|
|
|
17
|
-
|
|
65
|
+
1. **启用 Planner Agent** 进行深度分析
|
|
66
|
+
2. **生成规划文档** 存储至 `.ccjk/plan/current/`
|
|
67
|
+
3. **文档命名**: `功能名称.md`
|
|
18
68
|
|
|
19
|
-
|
|
69
|
+
**规划文档结构**:
|
|
20
70
|
|
|
21
|
-
|
|
71
|
+
```markdown
|
|
72
|
+
# 功能规划:[功能名称]
|
|
22
73
|
|
|
23
|
-
|
|
74
|
+
## 📋 概述
|
|
75
|
+
- 功能目标
|
|
76
|
+
- 预期价值
|
|
77
|
+
- 影响范围
|
|
24
78
|
|
|
25
|
-
|
|
79
|
+
## 🎯 功能分解
|
|
80
|
+
- [ ] 子功能 1
|
|
81
|
+
- [ ] 子功能 2
|
|
82
|
+
- [ ] 子功能 3
|
|
26
83
|
|
|
27
|
-
|
|
84
|
+
## 📐 技术方案
|
|
85
|
+
- 架构设计
|
|
86
|
+
- 数据模型
|
|
87
|
+
- API 设计
|
|
28
88
|
|
|
29
|
-
|
|
89
|
+
## ✅ 验收标准
|
|
90
|
+
- 功能验收点
|
|
91
|
+
- 性能指标
|
|
92
|
+
- 测试覆盖
|
|
30
93
|
|
|
31
|
-
|
|
94
|
+
## ⏱️ 实施计划
|
|
95
|
+
- 阶段划分
|
|
96
|
+
- 时间估算
|
|
97
|
+
- 依赖关系
|
|
98
|
+
```
|
|
32
99
|
|
|
33
|
-
|
|
100
|
+
---
|
|
34
101
|
|
|
35
|
-
|
|
102
|
+
### 阶段 2:讨论迭代 🔄
|
|
36
103
|
|
|
37
|
-
|
|
104
|
+
**触发**: 用户要求修改或完善规划
|
|
38
105
|
|
|
39
|
-
|
|
106
|
+
**执行流程**:
|
|
40
107
|
|
|
41
|
-
|
|
108
|
+
1. **检索上次规划** 从 `.ccjk/plan/current/` 读取
|
|
109
|
+
2. **分析用户反馈** 识别修改点
|
|
110
|
+
3. **启用 Planner Agent** 重新规划
|
|
111
|
+
4. **版本管理**:
|
|
112
|
+
- 原文件: `功能名称.md`
|
|
113
|
+
- 迭代版本: `功能名称-v2.md`, `功能名称-v3.md`
|
|
42
114
|
|
|
43
|
-
|
|
115
|
+
**迭代记录**:
|
|
44
116
|
|
|
45
|
-
|
|
117
|
+
```markdown
|
|
118
|
+
## 📝 迭代历史
|
|
46
119
|
|
|
47
|
-
|
|
120
|
+
### v2 - [时间戳]
|
|
121
|
+
- 修改点 1
|
|
122
|
+
- 修改点 2
|
|
48
123
|
|
|
49
|
-
|
|
124
|
+
### v1 - [时间戳]
|
|
125
|
+
- 初始版本
|
|
126
|
+
```
|
|
50
127
|
|
|
51
|
-
|
|
128
|
+
---
|
|
52
129
|
|
|
53
|
-
|
|
130
|
+
### 阶段 3:执行实施 ⚡
|
|
131
|
+
|
|
132
|
+
**触发**: 用户确认规划完成
|
|
133
|
+
|
|
134
|
+
**执行流程**:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
┌─────────────────────────────────────────────────────────┐
|
|
138
|
+
│ 📋 读取规划文档 │
|
|
139
|
+
│ ↓ │
|
|
140
|
+
│ 🔍 识别子任务类型 │
|
|
141
|
+
│ ↓ │
|
|
142
|
+
│ ┌─────────────┬─────────────┬─────────────┐ │
|
|
143
|
+
│ │ 前端任务 │ 后端任务 │ 其他任务 │ │
|
|
144
|
+
│ │ ↓ │ ↓ │ ↓ │ │
|
|
145
|
+
│ │ UI 设计检查 │ 直接实施 │ 直接实施 │ │
|
|
146
|
+
│ │ ↓ │ │ │ │
|
|
147
|
+
│ │ 无设计? │ │ │ │
|
|
148
|
+
│ │ ↓ │ │ │ │
|
|
149
|
+
│ │ UI-UX Agent │ │ │ │
|
|
150
|
+
│ └─────────────┴─────────────┴─────────────┘ │
|
|
151
|
+
│ ↓ │
|
|
152
|
+
│ ✅ 完成并更新状态 │
|
|
153
|
+
└─────────────────────────────────────────────────────────┘
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**前端任务特殊处理**:
|
|
157
|
+
|
|
158
|
+
1. **检查 UI 设计** - 是否存在设计稿
|
|
159
|
+
2. **无设计时** - 必须调用 `UI-UX-Designer Agent`
|
|
160
|
+
3. **设计完成后** - 再进行开发实施
|
|
54
161
|
|
|
55
|
-
|
|
162
|
+
---
|
|
56
163
|
|
|
57
|
-
|
|
164
|
+
## 快捷指令
|
|
58
165
|
|
|
59
|
-
|
|
166
|
+
在功能开发过程中,可使用以下快捷指令:
|
|
60
167
|
|
|
61
|
-
|
|
168
|
+
| 指令 | 说明 |
|
|
169
|
+
|------|------|
|
|
170
|
+
| `!plan` | 查看当前规划文档 |
|
|
171
|
+
| `!status` | 查看任务完成状态 |
|
|
172
|
+
| `!next` | 执行下一个子任务 |
|
|
173
|
+
| `!pause` | 暂停执行,保存进度 |
|
|
174
|
+
| `!design` | 调用 UI-UX-Designer |
|
|
175
|
+
| `!test` | 为当前功能生成测试 |
|
|
62
176
|
|
|
63
|
-
|
|
177
|
+
---
|
|
64
178
|
|
|
65
|
-
|
|
179
|
+
## 状态管理
|
|
66
180
|
|
|
67
|
-
|
|
181
|
+
### 任务状态追踪
|
|
68
182
|
|
|
69
|
-
|
|
183
|
+
```markdown
|
|
184
|
+
## 📊 执行状态
|
|
70
185
|
|
|
71
|
-
|
|
186
|
+
| 子任务 | 状态 | 进度 |
|
|
187
|
+
|--------|------|------|
|
|
188
|
+
| 数据模型设计 | ✅ 完成 | 100% |
|
|
189
|
+
| API 接口开发 | 🔄 进行中 | 60% |
|
|
190
|
+
| 前端页面实现 | ⏳ 待开始 | 0% |
|
|
191
|
+
| 单元测试编写 | ⏳ 待开始 | 0% |
|
|
192
|
+
```
|
|
72
193
|
|
|
73
|
-
###
|
|
194
|
+
### 进度可视化
|
|
74
195
|
|
|
75
|
-
|
|
196
|
+
```
|
|
197
|
+
整体进度: [████████░░░░░░░░] 50%
|
|
76
198
|
|
|
77
|
-
|
|
199
|
+
✅ 已完成: 2/4 子任务
|
|
200
|
+
🔄 进行中: 1/4 子任务
|
|
201
|
+
⏳ 待开始: 1/4 子任务
|
|
202
|
+
```
|
|
78
203
|
|
|
79
|
-
|
|
204
|
+
---
|
|
80
205
|
|
|
81
|
-
|
|
206
|
+
## 质量保证
|
|
82
207
|
|
|
83
|
-
|
|
208
|
+
### 强制检查点
|
|
84
209
|
|
|
85
|
-
-
|
|
210
|
+
1. **规划阶段** - 必须包含验收标准
|
|
211
|
+
2. **设计阶段** - 前端任务必须有 UI 设计
|
|
212
|
+
3. **实施阶段** - 每个子任务完成后更新状态
|
|
213
|
+
4. **完成阶段** - 对照验收标准验证
|
|
86
214
|
|
|
87
|
-
|
|
215
|
+
### 代码质量要求
|
|
88
216
|
|
|
89
|
-
|
|
217
|
+
- 遵循项目现有代码风格
|
|
218
|
+
- 添加必要的类型定义
|
|
219
|
+
- 编写单元测试(覆盖率 > 80%)
|
|
220
|
+
- 更新相关文档
|
|
90
221
|
|
|
91
|
-
|
|
222
|
+
---
|
|
92
223
|
|
|
93
|
-
|
|
224
|
+
## 输出规范
|
|
94
225
|
|
|
95
|
-
|
|
226
|
+
### 每次响应格式
|
|
96
227
|
|
|
97
|
-
|
|
228
|
+
```
|
|
229
|
+
📋 操作类型:[类型]
|
|
230
|
+
📍 当前阶段:[阶段]
|
|
231
|
+
📊 整体进度:[进度条]
|
|
98
232
|
|
|
99
|
-
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
[具体内容]
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
💡 下一步:[建议操作]
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
---
|
|
100
243
|
|
|
101
|
-
|
|
244
|
+
## 开始执行
|
|
102
245
|
|
|
103
|
-
|
|
246
|
+
**功能需求**: $ARGUMENTS
|
|
104
247
|
|
|
105
|
-
|
|
248
|
+
正在分析输入类型并启动相应工作流...
|