Add TDD Structure Validation and Verification Phases with Comprehensive Reporting

- Introduced Phase 6: TDD Structure Validation to ensure compliance with TDD workflow standards, including task structure validation, dependency checks, and user configuration verification.
- Implemented Phase 7: TDD Verification for full compliance checks, including task chain structure validation, coverage analysis, and TDD cycle verification.
- Generated detailed TDD compliance reports with quality gate recommendations based on objective criteria.
- Added documentation for new commands and workflows in the Claude Commands index.
This commit is contained in:
catlog22
2026-02-28 20:41:06 +08:00
parent 4a89f626fc
commit 65763c76e9
92 changed files with 643 additions and 525 deletions

View File

@@ -119,7 +119,7 @@ ccw cli -p "创建一个 React 组件,实现用户登录表单" --tool qwen --
### 2.4.1 启动规划工作流
```
/workflow:plan
/workflow-plan
```
这会启动 PlanEx 工作流,包含以下步骤:
@@ -245,7 +245,7 @@ A: 根据任务类型选择:
**Q: 什么时候使用哪个工作流?**
A: 根据任务目标选择:
- 新功能开发 → `/workflow:plan`
- 新功能开发 → `/workflow-plan`
- 问题诊断 → `/debug-with-file`
- 代码审查 → `/review-code`
- 重构规划 → `/refactor-cycle`
@@ -280,7 +280,7 @@ npm install
| 命令 | 功能 |
| --- | --- |
| `/workflow:session:start` | 启动会话 |
| `/workflow:plan` | 规划工作流 |
| `/workflow-plan` | 规划工作流 |
| `/brainstorm` | 头脑风暴 |
| `/review-code` | 代码审查 |
| `ccw memory list` | 查看 Memory |

View File

@@ -165,7 +165,7 @@ graph LR
| 任务目标 | 推荐工作流 | 命令 |
| --- | --- | --- |
| 新功能开发 | PlanEx | `/workflow:plan` |
| 新功能开发 | PlanEx | `/workflow-plan` |
| Bug 修复 | Lifecycle | `/debug-with-file` |
| 代码重构 | IterDev | `/refactor-cycle` |
| 技术决策 | Brainstorm | `/brainstorm-with-file` |

View File

@@ -10,7 +10,7 @@
| 工作流 | 核心命令 | 适用场景 | 角色 |
| --- | --- | --- | --- |
| **PlanEx** | `/workflow:plan` | 新功能开发、需求实现 | planner, executor |
| **PlanEx** | `/workflow-plan` | 新功能开发、需求实现 | planner, executor |
| **IterDev** | `/refactor-cycle` | 代码重构、技术债处理 | developer, reviewer |
| **Lifecycle** | `/unified-execute-with-file` | 完整开发周期 | analyzer, developer, tester, reviewer |
| **Issue** | `/issue:*` | Issue 驱动开发 | discoverer, planner, executor |
@@ -30,7 +30,7 @@
### 4.2.2 启动方式
```shell
/workflow:plan
/workflow-plan
```
或直接描述需求:
@@ -286,7 +286,7 @@ graph LR
| 需求 | 推荐工作流 | 命令 |
| --- | --- | --- |
| 新功能开发 | PlanEx | `/workflow:plan` |
| 新功能开发 | PlanEx | `/workflow-plan` |
| 代码重构 | IterDev | `/refactor-cycle` |
| 完整开发 | Lifecycle | `/unified-execute-with-file` |
| Issue 管理 | Issue | `/issue:*` |

View File

@@ -284,7 +284,7 @@ graph LR
| 场景 | 工作流 | 命令 |
| --- | --- | --- |
| 新功能 | PlanEx | `/workflow:plan` |
| 新功能 | PlanEx | `/workflow-plan` |
| Bug 修复 | Lifecycle | `/unified-execute-with-file` |
| 重构 | IterDev | `/refactor-cycle` |
| 决策 | Brainstorm | `/brainstorm-with-file` |