mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
feat: enhance workflow planning with concept clarification and agent delegation
🎯 Major Enhancements: 1. Concept Clarification Quality Gate (concept-clarify.md) - Added dual-mode support: brainstorm & plan modes - Auto-detects mode based on artifact presence (ANALYSIS_RESULTS.md vs synthesis-specification.md) - Backward compatible with existing brainstorm workflow - Updates appropriate artifacts based on detected mode 2. Planning Workflow Enhancement (plan.md) - Added Phase 3.5: Concept Clarification as quality gate - Integrated Phase 3.5 between analysis and task generation - Enhanced with interactive Q&A to resolve ambiguities - Updated from 4-phase to 5-phase workflow model - Delegated Phase 3 (Intelligent Analysis) to cli-execution-agent - Autonomous context discovery and enhanced prompt generation 3. Documentation Updates (README.md, README_CN.md) - Added /workflow:test-cycle-execute command documentation - Explained dynamic task generation and iterative fix cycles - Included usage examples and key features - Updated both English and Chinese versions 🔧 Technical Details: - concept-clarify now supports both ANALYSIS_RESULTS.md (plan) and synthesis-specification.md (brainstorm) - plan.md Phase 3 now uses cli-execution-agent for MCP-powered context discovery - Maintains auto-continue mechanism with one interactive quality gate (Phase 3.5) - All changes preserve backward compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
15
README.md
15
README.md
@@ -400,13 +400,23 @@ cd .workflow/WFS-auth/.design/prototypes && python -m http.server 8080
|
||||
**Phase 5: Testing & Quality Assurance**
|
||||
```bash
|
||||
# Generate independent test-fix workflow (v3.2.2+)
|
||||
/workflow:test-gen WFS-auth # Creates WFS-test-auth session
|
||||
/workflow:test-cycle-execute # Execute test-fix cycle with iterative validation
|
||||
/workflow:test-gen WFS-auth # Creates WFS-test-auth session
|
||||
/workflow:test-cycle-execute # Execute test-fix cycle with dynamic iteration
|
||||
|
||||
# Resume interrupted test session
|
||||
/workflow:test-cycle-execute --resume-session="WFS-test-auth"
|
||||
|
||||
# OR verify TDD compliance (TDD workflow)
|
||||
/workflow:tdd-verify
|
||||
```
|
||||
|
||||
**What is `/workflow:test-cycle-execute`?**
|
||||
- **Dynamic Task Generation**: Creates intermediate fix tasks based on test failures during execution
|
||||
- **Iterative Testing**: Automatically runs test-fix cycles until all tests pass or max iterations reached
|
||||
- **CLI-Driven Analysis**: Uses Gemini/Qwen to analyze failures and generate fix strategies
|
||||
- **Agent Coordination**: Delegates test execution and fixes to `@test-fix-agent`
|
||||
- **Autonomous Completion**: Continues until success without user interruption
|
||||
|
||||
### Quick Start for Simple Tasks
|
||||
|
||||
**Feature Development:**
|
||||
@@ -484,6 +494,7 @@ cd .workflow/WFS-auth/.design/prototypes && python -m http.server 8080
|
||||
| `/workflow:execute` | Execute the current workflow plan autonomously. |
|
||||
| `/workflow:status` | Display the current status of the workflow. |
|
||||
| `/workflow:test-gen [--use-codex] <session>` | Create test generation workflow with auto-diagnosis and fix cycle for completed implementations. |
|
||||
| `/workflow:test-cycle-execute` | **v4.5.0** Execute test-fix workflow with dynamic task generation and iterative fix cycles. Runs tests → analyzes failures with CLI → generates fix tasks → retests until success. |
|
||||
| `/workflow:tdd-verify` | Verify TDD compliance and generate quality report. |
|
||||
| `/workflow:review` | **Optional** manual review (only use when explicitly needed - passing tests = approved code). |
|
||||
| `/workflow:tools:test-context-gather` | Analyze test coverage and identify missing test files. |
|
||||
|
||||
Reference in New Issue
Block a user