mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 15:03:57 +08:00
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:
@@ -29,9 +29,9 @@ Commands are organized into the following categories:
|
||||
|
||||
High-level orchestrators for complex, multi-phase development processes.
|
||||
|
||||
### **/workflow:plan**
|
||||
### **/workflow-plan**
|
||||
|
||||
- **Syntax**: `/workflow:plan [--agent] [--cli-execute] "text description"|file.md`
|
||||
- **Syntax**: `/workflow-plan [--agent] [--cli-execute] "text description"|file.md`
|
||||
- **Parameters**:
|
||||
- `--agent` (Optional, Flag): Use the `task-generate-agent` for autonomous task generation.
|
||||
- `--cli-execute` (Optional, Flag): Generate tasks with commands ready for CLI execution (e.g., using Codex).
|
||||
@@ -39,15 +39,15 @@ High-level orchestrators for complex, multi-phase development processes.
|
||||
- **Responsibilities**: Orchestrates a 5-phase planning workflow that includes session start, context gathering, intelligent analysis, concept clarification (quality gate), and task generation.
|
||||
- **Agent Calls**: Delegates analysis to `@cli-execution-agent` and task generation to `@action-planning-agent`.
|
||||
- **Skill Invocation**: Does not directly invoke a skill, but the underlying agents may.
|
||||
- **Integration**: This is a primary entry point for starting a development workflow. It is followed by `/workflow:execute`.
|
||||
- **Integration**: This is a primary entry point for starting a development workflow. It is followed by `/workflow-execute`.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:plan "Create a simple Express API that returns Hello World"
|
||||
/workflow-plan "Create a simple Express API that returns Hello World"
|
||||
```
|
||||
|
||||
### **/workflow:lite-plan** ⚡ NEW
|
||||
### **/workflow-lite-plan** ⚡ NEW
|
||||
|
||||
- **Syntax**: `/workflow:lite-plan [--tool claude|gemini|qwen|codex] [-e|--explore] "task description"|file.md`
|
||||
- **Syntax**: `/workflow-lite-plan [--tool claude|gemini|qwen|codex] [-e|--explore] "task description"|file.md`
|
||||
- **Parameters**:
|
||||
- `--tool` (Optional, String): Preset CLI tool for execution (claude|gemini|qwen|codex). If not provided, user selects during confirmation.
|
||||
- `-e, --explore` (Optional, Flag): Force code exploration phase (overrides auto-detection logic).
|
||||
@@ -70,31 +70,31 @@ High-level orchestrators for complex, multi-phase development processes.
|
||||
- `@cli-planning-agent` (conditional, Phase 3 for Medium/High complexity)
|
||||
- `@code-developer` (conditional, Phase 5 if Agent execution selected)
|
||||
- **Skill Invocation**: None directly, but agents may invoke skills.
|
||||
- **Integration**: Standalone workflow for quick tasks. Alternative to `/workflow:plan` + `/workflow:execute` pattern.
|
||||
- **Integration**: Standalone workflow for quick tasks. Alternative to `/workflow-plan` + `/workflow-execute` pattern.
|
||||
- **Example**:
|
||||
```bash
|
||||
# Basic usage with auto-detection
|
||||
/workflow:lite-plan "Add JWT authentication to user login"
|
||||
/workflow-lite-plan "Add JWT authentication to user login"
|
||||
|
||||
# Force code exploration
|
||||
/workflow:lite-plan -e "Refactor logging module for better performance"
|
||||
/workflow-lite-plan -e "Refactor logging module for better performance"
|
||||
|
||||
# Basic usage
|
||||
/workflow:lite-plan "Add unit tests for auth service"
|
||||
/workflow-lite-plan "Add unit tests for auth service"
|
||||
```
|
||||
|
||||
### **/workflow:execute**
|
||||
### **/workflow-execute**
|
||||
|
||||
- **Syntax**: `/workflow:execute [--resume-session="session-id"]`
|
||||
- **Syntax**: `/workflow-execute [--resume-session="session-id"]`
|
||||
- **Parameters**:
|
||||
- `--resume-session` (Optional, String): The ID of a paused session to resume.
|
||||
- **Responsibilities**: Discovers and executes all pending tasks in the active (or specified) workflow session. It handles dependency resolution and orchestrates agents to perform the work.
|
||||
- **Agent Calls**: Dynamically calls the agent specified in each task's `meta.agent` field (e.g., `@code-developer`, `@test-fix-agent`).
|
||||
- **Integration**: The primary command for implementing a plan generated by `/workflow:plan`.
|
||||
- **Integration**: The primary command for implementing a plan generated by `/workflow-plan`.
|
||||
- **Example**:
|
||||
```bash
|
||||
# Execute tasks in the currently active session
|
||||
/workflow:execute
|
||||
/workflow-execute
|
||||
```
|
||||
|
||||
### **/workflow:resume**
|
||||
@@ -102,8 +102,8 @@ High-level orchestrators for complex, multi-phase development processes.
|
||||
- **Syntax**: `/workflow:resume "session-id"`
|
||||
- **Parameters**:
|
||||
- `session-id` (Required, String): The ID of the workflow session to resume.
|
||||
- **Responsibilities**: A two-phase orchestrator that first analyzes the status of a paused session and then resumes it by calling `/workflow:execute --resume-session`.
|
||||
- **Agent Calls**: None directly. It orchestrates `/workflow:status` and `/workflow:execute`.
|
||||
- **Responsibilities**: A two-phase orchestrator that first analyzes the status of a paused session and then resumes it by calling `/workflow-execute --resume-session`.
|
||||
- **Agent Calls**: None directly. It orchestrates `/workflow:status` and `/workflow-execute`.
|
||||
- **Integration**: Used to continue a previously paused or interrupted workflow.
|
||||
- **Example**:
|
||||
```bash
|
||||
@@ -118,7 +118,7 @@ High-level orchestrators for complex, multi-phase development processes.
|
||||
- `session-id` (Optional, String): The session to review. Defaults to the active session.
|
||||
- **Responsibilities**: Performs a specialized, post-implementation review. This is optional, as the default quality gate is passing tests.
|
||||
- **Agent Calls**: Uses `gemini` or `qwen-wrapper` for analysis based on the review type.
|
||||
- **Integration**: Used after `/workflow:execute` to perform audits before deployment.
|
||||
- **Integration**: Used after `/workflow-execute` to perform audits before deployment.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:review --type=security
|
||||
@@ -202,7 +202,7 @@ CLI tool configuration commands.
|
||||
/cli:cli-init
|
||||
```
|
||||
|
||||
> **Note**: For analysis, planning, and bug fixing, use workflow commands (`/workflow:lite-plan`, `/workflow:lite-fix`) or semantic invocation through natural language. Claude will automatically use appropriate CLI tools (Gemini/Qwen/Codex) with templates as needed.
|
||||
> **Note**: For analysis, planning, and bug fixing, use workflow commands (`/workflow-lite-plan`, `/workflow:lite-fix`) or semantic invocation through natural language. Claude will automatically use appropriate CLI tools (Gemini/Qwen/Codex) with templates as needed.
|
||||
|
||||
---
|
||||
|
||||
@@ -402,22 +402,22 @@ Specialized workflow for UI/UX design, from style extraction to prototype genera
|
||||
|
||||
Workflows for Test-Driven Development (TDD) and post-implementation test generation.
|
||||
|
||||
### **/workflow:tdd-plan**
|
||||
- **Syntax**: `/workflow:tdd-plan [--agent] "feature description"|file.md`
|
||||
### **/workflow-tdd-plan**
|
||||
- **Syntax**: `/workflow-tdd-plan [--agent] "feature description"|file.md`
|
||||
- **Responsibilities**: Orchestrates a 7-phase TDD planning workflow, creating tasks with Red-Green-Refactor cycles.
|
||||
- **Agent Calls**: Orchestrates sub-commands which may call agents.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:tdd-plan "Implement a secure login endpoint"
|
||||
/workflow-tdd-plan "Implement a secure login endpoint"
|
||||
```
|
||||
|
||||
### **/workflow:tdd-verify**
|
||||
- **Syntax**: `/workflow:tdd-verify [session-id]`
|
||||
### **/workflow-tdd-verify**
|
||||
- **Syntax**: `/workflow-tdd-verify [session-id]`
|
||||
- **Responsibilities**: Verifies TDD workflow compliance by analyzing task chains, test coverage, and cycle execution.
|
||||
- **Agent Calls**: None directly, orchestrates `gemini`.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:tdd-verify WFS-login-tdd
|
||||
/workflow-tdd-verify WFS-login-tdd
|
||||
```
|
||||
|
||||
### **/workflow:test-gen**
|
||||
@@ -429,21 +429,21 @@ Workflows for Test-Driven Development (TDD) and post-implementation test generat
|
||||
/workflow:test-gen WFS-user-auth-v2
|
||||
```
|
||||
|
||||
### **/workflow:test-fix-gen**
|
||||
- **Syntax**: `/workflow:test-fix-gen [--use-codex] [--cli-execute] (<source-session-id> | "description" | /path/to/file.md)`
|
||||
### **/workflow-test-fix**
|
||||
- **Syntax**: `/workflow-test-fix [--use-codex] [--cli-execute] (<source-session-id> | "description" | /path/to/file.md)`
|
||||
- **Responsibilities**: Creates an independent test-fix workflow from either a completed session or a feature description.
|
||||
- **Agent Calls**: Orchestrates sub-commands that call `@code-developer` and `@test-fix-agent`.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:test-fix-gen "Test the user authentication API endpoints"
|
||||
/workflow-test-fix "Test the user authentication API endpoints"
|
||||
```
|
||||
|
||||
### **/workflow:test-cycle-execute**
|
||||
- **Syntax**: `/workflow:test-cycle-execute [--resume-session="session-id"] [--max-iterations=N]`
|
||||
- **Responsibilities**: Executes a test-fix workflow by delegating to `/workflow:execute`. Generates test tasks dynamically and creates intermediate fix tasks based on test results.
|
||||
- **Agent Calls**: Delegates to `/workflow:execute` which invokes `@test-fix-agent` for task execution.
|
||||
- **Note**: This command generates tasks; actual execution is performed by `/workflow:execute`.
|
||||
### **/workflow-test-fix**
|
||||
- **Syntax**: `/workflow-test-fix [--resume-session="session-id"] [--max-iterations=N]`
|
||||
- **Responsibilities**: Executes a test-fix workflow by delegating to `/workflow-execute`. Generates test tasks dynamically and creates intermediate fix tasks based on test results.
|
||||
- **Agent Calls**: Delegates to `/workflow-execute` which invokes `@test-fix-agent` for task execution.
|
||||
- **Note**: This command generates tasks; actual execution is performed by `/workflow-execute`.
|
||||
- **Example**:
|
||||
```bash
|
||||
/workflow:test-cycle-execute --resume-session="WFS-test-user-auth"
|
||||
/workflow-test-fix --resume-session="WFS-test-user-auth"
|
||||
```
|
||||
|
||||
@@ -31,7 +31,7 @@ Complete reference for all **43 CCW commands** organized by category, with **7 w
|
||||
- `-y, --yes` - Skip all confirmations
|
||||
|
||||
**Mapped Skills**:
|
||||
- workflow-lite-plan, workflow-plan, workflow-execute, workflow-tdd
|
||||
- workflow-lite-plan, workflow-plan, workflow-execute, workflow-tdd-plan
|
||||
- workflow-test-fix, workflow-multi-cli-plan, review-cycle, brainstorm
|
||||
- team-planex, team-iterdev, team-lifecycle, team-issue
|
||||
- team-testing, team-quality-assurance, team-brainstorm, team-uidesign
|
||||
@@ -363,7 +363,7 @@ workflow req-plan-with-file
|
||||
|
||||
**Description**: Automatic session discovery, parallel task processing, and status tracking.
|
||||
|
||||
**Triggers**: `workflow:execute`
|
||||
**Triggers**: `workflow-execute`
|
||||
|
||||
```bash
|
||||
workflow execute
|
||||
|
||||
@@ -146,7 +146,7 @@ Both commands support the `--yes` flag for auto mode:
|
||||
| `workflow-lite-plan` | Lightweight planning workflow |
|
||||
| `workflow-plan` | Full planning workflow |
|
||||
| `workflow-execute` | Execution workflow |
|
||||
| `workflow-tdd` | TDD workflow |
|
||||
| `workflow-tdd-plan` | TDD workflow |
|
||||
| `review-cycle` | Code review cycle |
|
||||
|
||||
## Comparison
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
| Command | Function | Difficulty |
|
||||
|---------|----------|------------|
|
||||
| [`/workflow:lite-lite-lite`](./workflow.md#lite-lite-lite) | Ultra-lightweight multi-tool analysis and direct execution | Intermediate |
|
||||
| [`/workflow:lite-plan`](./workflow.md#lite-plan) | Lightweight interactive planning workflow | Intermediate |
|
||||
| [`/workflow-lite-plan`](./workflow.md#lite-plan) | Lightweight interactive planning workflow | Intermediate |
|
||||
| [`/workflow:lite-execute`](./workflow.md#lite-execute) | Execute tasks based on in-memory plan | Intermediate |
|
||||
| [`/workflow:lite-fix`](./workflow.md#lite-fix) | Lightweight bug diagnosis and fix | Intermediate |
|
||||
| [`/workflow:plan`](./workflow.md#plan) | 5-phase planning workflow | Intermediate |
|
||||
| [`/workflow:execute`](./workflow.md#execute) | Coordinate agent execution of workflow tasks | Intermediate |
|
||||
| [`/workflow-plan`](./workflow.md#plan) | 5-phase planning workflow | Intermediate |
|
||||
| [`/workflow-execute`](./workflow.md#execute) | Coordinate agent execution of workflow tasks | Intermediate |
|
||||
| [`/workflow:replan`](./workflow.md#replan) | Interactive workflow replanning | Intermediate |
|
||||
| [`/workflow:multi-cli-plan`](./workflow.md#multi-cli-plan) | Multi-CLI collaborative planning | Intermediate |
|
||||
| [`/workflow-multi-cli-plan`](./workflow.md#multi-cli-plan) | Multi-CLI collaborative planning | Intermediate |
|
||||
| [`/workflow:review`](./workflow.md#review) | Post-implementation review | Intermediate |
|
||||
| [`/workflow:clean`](./workflow.md#clean) | Smart code cleanup | Intermediate |
|
||||
| [`/workflow:init`](./workflow.md#init) | Initialize project state | Intermediate |
|
||||
@@ -129,10 +129,10 @@ Most commands support the `--yes` or `-y` flag to enable auto mode and skip conf
|
||||
|
||||
```bash
|
||||
# Create implementation plan
|
||||
/workflow:plan "Add OAuth2 authentication with Google and GitHub providers"
|
||||
/workflow-plan "Add OAuth2 authentication with Google and GitHub providers"
|
||||
|
||||
# Execute with auto mode
|
||||
/workflow:execute --yes
|
||||
/workflow-execute --yes
|
||||
```
|
||||
|
||||
### Code Review
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|------|-------------|----------------|
|
||||
| `workflow` | Standard implementation | workflow-plan skill |
|
||||
| `review` | Code review | review-cycle skill |
|
||||
| `tdd` | TDD development | workflow-tdd skill |
|
||||
| `tdd` | TDD development | workflow-tdd-plan skill |
|
||||
| `test` | Test generation/fix | workflow-test-fix skill |
|
||||
| `docs` | Documentation session | memory-manage skill |
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
|
||||
### design-sync
|
||||
|
||||
**Function**: Sync final design system reference to brainstorm artifacts, preparing for consumption by `/workflow:plan`.
|
||||
**Function**: Sync final design system reference to brainstorm artifacts, preparing for consumption by `/workflow-plan`.
|
||||
|
||||
**Syntax**:
|
||||
```bash
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`lite-lite-lite`](#lite-lite-lite) | Ultra-lightweight multi-tool analysis and direct execution | `/workflow:lite-lite-lite [-y] <task>` |
|
||||
| [`lite-plan`](#lite-plan) | Lightweight interactive planning workflow | `/workflow:lite-plan [-y] [-e] "task"` |
|
||||
| [`lite-plan`](#lite-plan) | Lightweight interactive planning workflow | `/workflow-lite-plan [-y] [-e] "task"` |
|
||||
| [`lite-execute`](#lite-execute) | Execute tasks based on in-memory plan | `/workflow:lite-execute [-y] [--in-memory] [task]` |
|
||||
| [`lite-fix`](#lite-fix) | Lightweight bug diagnosis and fix | `/workflow:lite-fix [-y] [--hotfix] "bug description"` |
|
||||
|
||||
@@ -19,15 +19,15 @@
|
||||
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`plan`](#plan) | 5-phase planning workflow | `/workflow:plan [-y] "description"\|file.md` |
|
||||
| [`execute`](#execute) | Coordinate agent execution of workflow tasks | `/workflow:execute [-y] [--resume-session=ID]` |
|
||||
| [`plan`](#plan) | 5-phase planning workflow | `/workflow-plan [-y] "description"\|file.md` |
|
||||
| [`execute`](#execute) | Coordinate agent execution of workflow tasks | `/workflow-execute [-y] [--resume-session=ID]` |
|
||||
| [`replan`](#replan) | Interactive workflow replanning | `/workflow:replan [-y] [--session ID] [task-id] "requirement"` |
|
||||
|
||||
### Collaborative Workflows
|
||||
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`multi-cli-plan`](#multi-cli-plan) | Multi-CLI collaborative planning | `/workflow:multi-cli-plan [-y] <task> [--max-rounds=N]` |
|
||||
| [`multi-cli-plan`](#multi-cli-plan) | Multi-CLI collaborative planning | `/workflow-multi-cli-plan [-y] <task> [--max-rounds=N]` |
|
||||
| [`brainstorm-with-file`](#brainstorm-with-file) | Interactive brainstorming | `/workflow:brainstorm-with-file [-y] [-c] "idea"` |
|
||||
| [`analyze-with-file`](#analyze-with-file) | Interactive collaborative analysis | `/workflow:analyze-with-file [-y] [-c] "topic"` |
|
||||
| [`debug-with-file`](#debug-with-file) | Interactive hypothesis-driven debugging | `/workflow:debug-with-file [-y] "bug description"` |
|
||||
@@ -37,16 +37,16 @@
|
||||
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`tdd-plan`](#tdd-plan) | TDD planning workflow | `/workflow:tdd-plan "feature description"` |
|
||||
| [`tdd-verify`](#tdd-verify) | Verify TDD workflow compliance | `/workflow:tdd-verify [--session ID]` |
|
||||
| [`tdd-plan`](#tdd-plan) | TDD planning workflow | `/workflow-tdd-plan "feature description"` |
|
||||
| [`tdd-verify`](#tdd-verify) | Verify TDD workflow compliance | `/workflow-tdd-verify [--session ID]` |
|
||||
|
||||
### Test Workflows
|
||||
|
||||
| Command | Function | Syntax |
|
||||
|---------|----------|--------|
|
||||
| [`test-fix-gen`](#test-fix-gen) | Create test-fix workflow session | `/workflow:test-fix-gen (session-id\|"description"\|file.md)` |
|
||||
| [`test-fix-gen`](#test-fix-gen) | Create test-fix workflow session | `/workflow-test-fix (session-id\|"description"\|file.md)` |
|
||||
| [`test-gen`](#test-gen) | Create test session from implementation session | `/workflow:test-gen source-session-id` |
|
||||
| [`test-cycle-execute`](#test-cycle-execute) | Execute test-fix workflow | `/workflow:test-cycle-execute [--resume-session=ID]` |
|
||||
| [`test-cycle-execute`](#test-cycle-execute) | Execute test-fix workflow | `/workflow-test-fix [--resume-session=ID]` |
|
||||
|
||||
### Review Workflows
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
|---------|----------|--------|
|
||||
| [`clean`](#clean) | Smart code cleanup | `/workflow:clean [-y] [--dry-run] ["focus area"]` |
|
||||
| [`init`](#init) | Initialize project state | `/workflow:init [--regenerate]` |
|
||||
| [`plan-verify`](#plan-verify) | Verify planning consistency | `/workflow:plan-verify [--session session-id]` |
|
||||
| [`plan-verify`](#plan-verify) | Verify planning consistency | `/workflow-plan-verify [--session session-id]` |
|
||||
|
||||
## Command Details
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
**Syntax**:
|
||||
```bash
|
||||
/workflow:lite-plan [-y|--yes] [-e|--explore] "task description" | file.md
|
||||
/workflow-lite-plan [-y|--yes] [-e|--explore] "task description" | file.md
|
||||
```
|
||||
|
||||
**Options**:
|
||||
@@ -105,10 +105,10 @@
|
||||
**Examples**:
|
||||
```bash
|
||||
# Basic planning
|
||||
/workflow:lite-plan "add user avatar feature"
|
||||
/workflow-lite-plan "add user avatar feature"
|
||||
|
||||
# With exploration
|
||||
/workflow:lite-plan -e "refactor authentication module"
|
||||
/workflow-lite-plan -e "refactor authentication module"
|
||||
```
|
||||
|
||||
### lite-execute
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
**Syntax**:
|
||||
```bash
|
||||
/workflow:plan [-y|--yes] "text description" | file.md
|
||||
/workflow-plan [-y|--yes] "text description" | file.md
|
||||
```
|
||||
|
||||
**Phases**:
|
||||
@@ -172,10 +172,10 @@
|
||||
**Examples**:
|
||||
```bash
|
||||
# Plan from description
|
||||
/workflow:plan "implement user notification system"
|
||||
/workflow-plan "implement user notification system"
|
||||
|
||||
# Plan from file
|
||||
/workflow:plan requirements.md
|
||||
/workflow-plan requirements.md
|
||||
```
|
||||
|
||||
### execute
|
||||
@@ -184,16 +184,16 @@
|
||||
|
||||
**Syntax**:
|
||||
```bash
|
||||
/workflow:execute [-y|--yes] [--resume-session="session-id"]
|
||||
/workflow-execute [-y|--yes] [--resume-session="session-id"]
|
||||
```
|
||||
|
||||
**Examples**:
|
||||
```bash
|
||||
# Execute current session
|
||||
/workflow:execute
|
||||
/workflow-execute
|
||||
|
||||
# Resume and execute session
|
||||
/workflow:execute --resume-session=WFS-2024-01-15
|
||||
/workflow-execute --resume-session=WFS-2024-01-15
|
||||
```
|
||||
|
||||
### replan
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
**Syntax**:
|
||||
```bash
|
||||
/workflow:multi-cli-plan [-y|--yes] <task description> [--max-rounds=3] [--tools=gemini,codex] [--mode=parallel|serial]
|
||||
/workflow-multi-cli-plan [-y|--yes] <task description> [--max-rounds=3] [--tools=gemini,codex] [--mode=parallel|serial]
|
||||
```
|
||||
|
||||
**Options**:
|
||||
@@ -231,10 +231,10 @@
|
||||
**Examples**:
|
||||
```bash
|
||||
# Multi-CLI planning
|
||||
/workflow:multi-cli-plan "design microservice architecture"
|
||||
/workflow-multi-cli-plan "design microservice architecture"
|
||||
|
||||
# Specify tools and rounds
|
||||
/workflow:multi-cli-plan --tools=gemini,codex --max-rounds=5 "database migration plan"
|
||||
/workflow-multi-cli-plan --tools=gemini,codex --max-rounds=5 "database migration plan"
|
||||
```
|
||||
|
||||
### brainstorm-with-file
|
||||
|
||||
@@ -133,7 +133,7 @@ ccw cli -p "Create a React component implementing user login form" --tool qwen -
|
||||
### 2.4.1 Start Planning Workflow
|
||||
|
||||
```
|
||||
/workflow:plan
|
||||
/workflow-plan
|
||||
```
|
||||
|
||||
This launches the PlanEx workflow, including the following steps:
|
||||
@@ -259,7 +259,7 @@ A: Select based on task type:
|
||||
**Q: When to use which workflow?**
|
||||
|
||||
A: Select based on task objective:
|
||||
- New feature development → `/workflow:plan`
|
||||
- New feature development → `/workflow-plan`
|
||||
- Problem diagnosis → `/debug-with-file`
|
||||
- Code review → `/review-code`
|
||||
- Refactoring planning → `/refactor-cycle`
|
||||
@@ -294,7 +294,7 @@ npm install
|
||||
| Command | Function |
|
||||
| --- | --- |
|
||||
| `/workflow:session:start` | Start session |
|
||||
| `/workflow:plan` | Planning workflow |
|
||||
| `/workflow-plan` | Planning workflow |
|
||||
| `/brainstorm` | Brainstorming |
|
||||
| `/review-code` | Code review |
|
||||
| `ccw memory list` | View Memory |
|
||||
|
||||
@@ -165,7 +165,7 @@ graph LR
|
||||
|
||||
| Task Objective | Recommended Workflow | Command |
|
||||
| --- | --- | --- |
|
||||
| New feature development | PlanEx | `/workflow:plan` |
|
||||
| New feature development | PlanEx | `/workflow-plan` |
|
||||
| Bug fix | Lifecycle | `/debug-with-file` |
|
||||
| Code refactoring | IterDev | `/refactor-cycle` |
|
||||
| Technical decision | Brainstorm | `/brainstorm-with-file` |
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
| Workflow | Core Command | Use Case | Roles |
|
||||
| --- | --- | --- | --- |
|
||||
| **PlanEx** | `/workflow:plan` | New feature development, requirement implementation | planner, executor |
|
||||
| **PlanEx** | `/workflow-plan` | New feature development, requirement implementation | planner, executor |
|
||||
| **IterDev** | `/refactor-cycle` | Code refactoring, technical debt handling | developer, reviewer |
|
||||
| **Lifecycle** | `/unified-execute-with-file` | Complete development cycle | analyzer, developer, tester, reviewer |
|
||||
| **Issue** | `/issue:*` | Issue-driven development | discoverer, planner, executor |
|
||||
@@ -30,7 +30,7 @@
|
||||
### 4.2.2 Launch Method
|
||||
|
||||
```shell
|
||||
/workflow:plan
|
||||
/workflow-plan
|
||||
```
|
||||
|
||||
Or describe requirements directly:
|
||||
@@ -286,7 +286,7 @@ graph LR
|
||||
|
||||
| Requirement | Recommended Workflow | Command |
|
||||
| --- | --- | --- |
|
||||
| New feature development | PlanEx | `/workflow:plan` |
|
||||
| New feature development | PlanEx | `/workflow-plan` |
|
||||
| Code refactoring | IterDev | `/refactor-cycle` |
|
||||
| Complete development | Lifecycle | `/unified-execute-with-file` |
|
||||
| Issue management | Issue | `/issue:*` |
|
||||
|
||||
@@ -284,7 +284,7 @@ graph LR
|
||||
|
||||
| Scenario | Workflow | Command |
|
||||
| --- | --- | --- |
|
||||
| New Feature | PlanEx | `/workflow:plan` |
|
||||
| New Feature | PlanEx | `/workflow-plan` |
|
||||
| Bug Fix | Lifecycle | `/unified-execute-with-file` |
|
||||
| Refactoring | IterDev | `/refactor-cycle` |
|
||||
| Decision | Brainstorm | `/brainstorm-with-file` |
|
||||
|
||||
@@ -40,8 +40,8 @@ Create a simple workflow in under 5 minutes:
|
||||
|
||||
# Or use specific workflow commands
|
||||
/workflow:init # Initialize project state
|
||||
/workflow:plan "Add OAuth2 authentication" # Create implementation plan
|
||||
/workflow:execute # Execute planned tasks
|
||||
/workflow-plan "Add OAuth2 authentication" # Create implementation plan
|
||||
/workflow-execute # Execute planned tasks
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
| **team-coordinate** | Universal team coordinator (dynamic roles) | `/team-coordinate` |
|
||||
| **team-lifecycle** | Full lifecycle team | `/team-lifecycle` |
|
||||
| **team-planex** | Plan-and-execute team | `/team-planex` |
|
||||
| **workflow-plan** | Unified planning skill | `/workflow:plan` |
|
||||
| **workflow-execute** | Agent-coordinated execution | `/workflow:execute` |
|
||||
| **workflow-plan** | Unified planning skill | `/workflow-plan` |
|
||||
| **workflow-execute** | Agent-coordinated execution | `/workflow-execute` |
|
||||
| **memory-capture** | Memory capture | `/memory-capture` |
|
||||
| **review-code** | Multi-dimensional code review | `/review-code` |
|
||||
| **brainstorm** | Brainstorming | `/brainstorm` |
|
||||
@@ -176,14 +176,14 @@ memory/
|
||||
|
||||
```bash
|
||||
# Quick task
|
||||
/workflow:lite-plan "Fix login bug"
|
||||
/workflow-lite-plan "Fix login bug"
|
||||
|
||||
# Full development
|
||||
/workflow:plan "Add user notifications"
|
||||
/workflow:execute
|
||||
/workflow-plan "Add user notifications"
|
||||
/workflow-execute
|
||||
|
||||
# TDD development
|
||||
/workflow:tdd "Implement payment processing"
|
||||
/workflow-tdd "Implement payment processing"
|
||||
```
|
||||
|
||||
### 3. Use Memory Management
|
||||
@@ -231,7 +231,7 @@ memory/
|
||||
2. **Workflow Selection**:
|
||||
- Super simple → `workflow-lite-plan`
|
||||
- Complex features → `workflow-plan` → `workflow-execute`
|
||||
- TDD → `workflow-tdd`
|
||||
- TDD → `workflow-tdd-plan`
|
||||
- Test fixes → `workflow-test-fix`
|
||||
|
||||
3. **Memory Management**:
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
| Skill | Function | Trigger |
|
||||
|-------|----------|---------|
|
||||
| `workflow-plan` | Unified planning skill (4-stage workflow) | `/workflow:plan` |
|
||||
| `workflow-execute` | Agent-coordinated execution | `/workflow:execute` |
|
||||
| `workflow-lite-plan` | Lightweight quick planning | `/workflow:lite-plan` |
|
||||
| `workflow-multi-cli-plan` | Multi-CLI collaborative planning | `/workflow:multi-cli-plan` |
|
||||
| `workflow-tdd` | TDD workflow | `/workflow:tdd` |
|
||||
| `workflow-plan` | Unified planning skill (4-stage workflow) | `/workflow-plan` |
|
||||
| `workflow-execute` | Agent-coordinated execution | `/workflow-execute` |
|
||||
| `workflow-lite-plan` | Lightweight quick planning | `/workflow-lite-plan` |
|
||||
| `workflow-multi-cli-plan` | Multi-CLI collaborative planning | `/workflow-multi-cli-plan` |
|
||||
| `workflow-tdd-plan` | TDD workflow | `/workflow-tdd` |
|
||||
| `workflow-test-fix` | Test-fix workflow | `/workflow:test-fix` |
|
||||
| `workflow-skill-designer` | Skill design workflow | `/workflow:skill-designer` |
|
||||
| `workflow-wave-plan` | Wave batch planning | `/workflow:wave-plan` |
|
||||
@@ -34,8 +34,8 @@
|
||||
|
||||
**Trigger**:
|
||||
```shell
|
||||
/workflow:plan <task-description>
|
||||
/workflow:plan-verify --session <session-id>
|
||||
/workflow-plan <task-description>
|
||||
/workflow-plan-verify --session <session-id>
|
||||
/workflow:replan --session <session-id> [task-id] "requirements"
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
**Mode Detection**:
|
||||
```javascript
|
||||
// Skill trigger determines mode
|
||||
skillName === 'workflow:plan-verify' → 'verify'
|
||||
skillName === 'workflow-plan-verify' → 'verify'
|
||||
skillName === 'workflow:replan' → 'replan'
|
||||
default → 'plan'
|
||||
```
|
||||
@@ -107,10 +107,10 @@ Plan Confirmation (User Decision Gate):
|
||||
|
||||
**Trigger**:
|
||||
```shell
|
||||
/workflow:execute
|
||||
/workflow:execute --resume-session="WFS-auth"
|
||||
/workflow:execute --yes
|
||||
/workflow:execute -y --with-commit
|
||||
/workflow-execute
|
||||
/workflow-execute --resume-session="WFS-auth"
|
||||
/workflow-execute --yes
|
||||
/workflow-execute -y --with-commit
|
||||
```
|
||||
|
||||
**Features**:
|
||||
@@ -189,7 +189,7 @@ Phase 5: Completion
|
||||
|
||||
**Trigger**:
|
||||
```shell
|
||||
/workflow:lite-plan <simple-task>
|
||||
/workflow-lite-plan <simple-task>
|
||||
```
|
||||
|
||||
**Features**:
|
||||
@@ -211,7 +211,7 @@ Phase 5: Completion
|
||||
|
||||
**Trigger**:
|
||||
```shell
|
||||
/workflow:multi-cli-plan <task>
|
||||
/workflow-multi-cli-plan <task>
|
||||
```
|
||||
|
||||
**Features**:
|
||||
@@ -226,13 +226,13 @@ Phase 5: Completion
|
||||
|
||||
---
|
||||
|
||||
### workflow-tdd
|
||||
### workflow-tdd-plan
|
||||
|
||||
**One-Liner**: TDD workflow — Test-driven development process
|
||||
|
||||
**Trigger**:
|
||||
```shell
|
||||
/workflow:tdd <feature-description>
|
||||
/workflow-tdd <feature-description>
|
||||
```
|
||||
|
||||
**Features**:
|
||||
@@ -334,7 +334,7 @@ Wave 2: Issue 6-10 → Parallel planning → Parallel execution
|
||||
1. **Choose the right workflow**:
|
||||
- Super simple tasks → `workflow-lite-plan`
|
||||
- Complex features → `workflow-plan` → `workflow-execute`
|
||||
- TDD development → `workflow-tdd`
|
||||
- TDD development → `workflow-tdd-plan`
|
||||
- Test fixes → `workflow-test-fix`
|
||||
- Skill creation → `workflow-skill-designer`
|
||||
|
||||
|
||||
@@ -627,7 +627,7 @@ Skill(skill="team-ultra-analyze")
|
||||
|
||||
**Purpose**: Unified planning skill with 4-phase workflow
|
||||
|
||||
**Triggers**: `workflow:plan`, `workflow:plan-verify`, `workflow:replan`
|
||||
**Triggers**: `workflow-plan`, `workflow-plan-verify`, `workflow:replan`
|
||||
|
||||
**Description**: Plan verification and interactive replanning.
|
||||
|
||||
@@ -655,7 +655,7 @@ Skill(skill="workflow-plan")
|
||||
|
||||
**Purpose**: Lightweight planning and execution skill
|
||||
|
||||
**Triggers**: `workflow:lite-plan`, `workflow:lite-execute`
|
||||
**Triggers**: `workflow-lite-plan`, `workflow:lite-execute`
|
||||
|
||||
**Description**: Route to lite-plan or lite-execute with prompt enhancement.
|
||||
|
||||
@@ -677,7 +677,7 @@ Skill(skill="workflow-lite-plan")
|
||||
|
||||
**Purpose**: Multi-CLI collaborative planning and execution skill
|
||||
|
||||
**Triggers**: `workflow:multi-cli-plan`, `workflow:lite-execute`
|
||||
**Triggers**: `workflow-multi-cli-plan`, `workflow:lite-execute`
|
||||
|
||||
**Description**: Route to multi-cli-plan or lite-execute with prompt enhancement.
|
||||
|
||||
@@ -699,7 +699,7 @@ Skill(skill="workflow-multi-cli-plan")
|
||||
|
||||
**Purpose**: Coordinate agent execution for workflow tasks
|
||||
|
||||
**Triggers**: `workflow:execute`
|
||||
**Triggers**: `workflow-execute`
|
||||
|
||||
**Description**: Automatic session discovery, parallel task processing, and status tracking.
|
||||
|
||||
@@ -716,11 +716,11 @@ Skill(skill="workflow-execute")
|
||||
|
||||
---
|
||||
|
||||
### workflow-tdd
|
||||
### workflow-tdd-plan
|
||||
|
||||
**Purpose**: Unified TDD workflow skill
|
||||
|
||||
**Triggers**: `workflow:tdd-plan`, `workflow:tdd-verify`
|
||||
**Triggers**: `workflow-tdd-plan`, `workflow-tdd-verify`
|
||||
|
||||
**Description**: 6-phase TDD planning with Red-Green-Refactor task chain generation.
|
||||
|
||||
@@ -740,7 +740,7 @@ Skill(skill="workflow-execute")
|
||||
**Pattern**: Red-Green-Refactor
|
||||
|
||||
```bash
|
||||
Skill(skill="workflow-tdd")
|
||||
Skill(skill="workflow-tdd-plan")
|
||||
```
|
||||
|
||||
---
|
||||
@@ -749,7 +749,7 @@ Skill(skill="workflow-tdd")
|
||||
|
||||
**Purpose**: Unified test-fix pipeline
|
||||
|
||||
**Triggers**: `workflow:test-fix-gen`, `workflow:test-cycle-execute`, `test fix workflow`
|
||||
**Triggers**: `workflow-test-fix`, `workflow-test-fix`, `test fix workflow`
|
||||
|
||||
**Description**: Combines test generation with iterative test-cycle execution.
|
||||
|
||||
@@ -851,9 +851,9 @@ Skill(skill="workflow-execute")
|
||||
**Use Case**: Test-driven development with Red-Green-Refactor cycle
|
||||
|
||||
```bash
|
||||
Skill(skill="workflow-tdd", args="--mode tdd-plan")
|
||||
Skill(skill="workflow-tdd-plan", args="--mode tdd-plan")
|
||||
Skill(skill="workflow-execute")
|
||||
Skill(skill="workflow-tdd", args="--mode tdd-verify")
|
||||
Skill(skill="workflow-tdd-plan", args="--mode tdd-verify")
|
||||
```
|
||||
|
||||
---
|
||||
@@ -1028,7 +1028,7 @@ Skill(skill="skill-tuning")
|
||||
| Category | Skills |
|
||||
|----------|--------|
|
||||
| Session Commands | workflow session start, resume, list, complete, solidify, sync |
|
||||
| Dependent Skills | workflow-plan, workflow-tdd, workflow-test-fix |
|
||||
| Dependent Skills | workflow-plan, workflow-tdd-plan, workflow-test-fix |
|
||||
|
||||
### Issue Management
|
||||
|
||||
@@ -1055,12 +1055,12 @@ Quick reference for skill triggers:
|
||||
| `brainstorm`, `头脑风暴` | brainstorm |
|
||||
| `review code`, `code review`, `审查代码` | review-code |
|
||||
| `manage issue` | issue-manage |
|
||||
| `workflow:plan` | workflow-plan |
|
||||
| `workflow:execute` | workflow-execute |
|
||||
| `workflow:lite-plan` | workflow-lite-plan |
|
||||
| `workflow:multi-cli-plan` | workflow-multi-cli-plan |
|
||||
| `workflow:tdd-plan` | workflow-tdd |
|
||||
| `workflow:test-fix-gen` | workflow-test-fix |
|
||||
| `workflow-plan` | workflow-plan |
|
||||
| `workflow-execute` | workflow-execute |
|
||||
| `workflow-lite-plan` | workflow-lite-plan |
|
||||
| `workflow-multi-cli-plan` | workflow-multi-cli-plan |
|
||||
| `workflow-tdd-plan` | workflow-tdd-plan |
|
||||
| `workflow-test-fix` | workflow-test-fix |
|
||||
| `team lifecycle` | team-lifecycle-v4 |
|
||||
| `team brainstorm` | team-brainstorm |
|
||||
| `team frontend` | team-frontend |
|
||||
|
||||
@@ -54,12 +54,12 @@ Skills are reusable, domain-specific capabilities that CCW can execute. Each ski
|
||||
|
||||
| Skill | Triggers | Description |
|
||||
|-------|----------|-------------|
|
||||
| [workflow-plan](./core-skills.md#workflow-plan) | `workflow:plan` | 4-phase planning with verification |
|
||||
| [workflow-lite-plan](./core-skills.md#workflow-lite-plan) | `workflow:lite-plan` | Lightweight planning |
|
||||
| [workflow-multi-cli-plan](./core-skills.md#workflow-multi-cli-plan) | `workflow:multi-cli-plan` | Multi-CLI collaborative planning |
|
||||
| [workflow-execute](./core-skills.md#workflow-execute) | `workflow:execute` | Task execution coordination |
|
||||
| [workflow-tdd](./core-skills.md#workflow-tdd) | `workflow:tdd-plan` | TDD with Red-Green-Refactor |
|
||||
| [workflow-test-fix](./core-skills.md#workflow-test-fix) | `workflow:test-fix-gen` | Test-fix pipeline |
|
||||
| [workflow-plan](./core-skills.md#workflow-plan) | `workflow-plan` | 4-phase planning with verification |
|
||||
| [workflow-lite-plan](./core-skills.md#workflow-lite-plan) | `workflow-lite-plan` | Lightweight planning |
|
||||
| [workflow-multi-cli-plan](./core-skills.md#workflow-multi-cli-plan) | `workflow-multi-cli-plan` | Multi-CLI collaborative planning |
|
||||
| [workflow-execute](./core-skills.md#workflow-execute) | `workflow-execute` | Task execution coordination |
|
||||
| [workflow-tdd-plan](./core-skills.md#workflow-tdd-plan) | `workflow-tdd-plan` | TDD with Red-Green-Refactor |
|
||||
| [workflow-test-fix](./core-skills.md#workflow-test-fix) | `workflow-test-fix` | Test-fix pipeline |
|
||||
| [workflow-skill-designer](./core-skills.md#workflow-skill-designer) | `design workflow skill` | Meta-skill for workflow creation |
|
||||
|
||||
## Workflow Combinations
|
||||
@@ -84,9 +84,9 @@ Skill(skill="workflow-execute")
|
||||
|
||||
#### Test-Driven Development
|
||||
```bash
|
||||
Skill(skill="workflow-tdd", args="--mode tdd-plan")
|
||||
Skill(skill="workflow-tdd-plan", args="--mode tdd-plan")
|
||||
Skill(skill="workflow-execute")
|
||||
Skill(skill="workflow-tdd", args="--mode tdd-verify")
|
||||
Skill(skill="workflow-tdd-plan", args="--mode tdd-verify")
|
||||
```
|
||||
|
||||
## Using Skills
|
||||
@@ -180,13 +180,13 @@ ccw brainstorm
|
||||
# - Data refresh intervals
|
||||
|
||||
# Step 2: Plan implementation
|
||||
ccw workflow:plan "Build user dashboard with configurable widgets"
|
||||
ccw workflow-plan "Build user dashboard with configurable widgets"
|
||||
# Outputs: IMPL-001.json with task breakdown
|
||||
|
||||
# Step 3: Execute with team
|
||||
ccw team lifecycle
|
||||
# Or use quick iteration:
|
||||
ccw workflow:lite-plan && ccw workflow:execute
|
||||
ccw workflow-lite-plan && ccw workflow-execute
|
||||
|
||||
# Step 4: Review and refine
|
||||
ccw review-code
|
||||
@@ -206,7 +206,7 @@ ccw workflow:debug-with-file
|
||||
# Creates hypothesis, instruments code, analyzes logs
|
||||
|
||||
# Step 3: Apply fix
|
||||
ccw workflow:execute --task "Fix N+1 query in user endpoint"
|
||||
ccw workflow-execute --task "Fix N+1 query in user endpoint"
|
||||
```
|
||||
|
||||
### Example 3: Code Migration
|
||||
@@ -249,7 +249,7 @@ ccw review-cycle --max-iterations 3
|
||||
|
||||
### Tips for Best Results
|
||||
|
||||
1. **Start Small**: Begin with `workflow:lite-plan` for simple tasks
|
||||
1. **Start Small**: Begin with `workflow-lite-plan` for simple tasks
|
||||
2. **Use Memory**: Capture insights with `memory:capture` for future reference
|
||||
3. **Verify Plans**: Always review generated plans before execution
|
||||
4. **Iterate**: Use `review-cycle` for continuous improvement
|
||||
@@ -264,7 +264,7 @@ Skills use these proven patterns:
|
||||
| Orchestrator + Workers | team-lifecycle-v4 |
|
||||
| Generator-Critic Loop | team-iterdev |
|
||||
| Wave Pipeline | team-planex |
|
||||
| Red-Green-Refactor | workflow-tdd |
|
||||
| Red-Green-Refactor | workflow-tdd-plan |
|
||||
|
||||
::: info See Also
|
||||
- [Core Skills Reference](./core-skills.md) - Detailed skill documentation
|
||||
|
||||
@@ -22,12 +22,12 @@ Quick reference guide for all **32 CCW built-in skills**.
|
||||
|
||||
| Skill | Trigger | Purpose |
|
||||
|-------|---------|---------|
|
||||
| **workflow-plan** | `workflow:plan`, `workflow:plan-verify`, `workflow:replan` | 4-phase planning workflow with verification and interactive replanning |
|
||||
| **workflow-lite-plan** | `workflow:lite-plan`, `workflow:lite-execute` | Lightweight planning and execution skill |
|
||||
| **workflow-multi-cli-plan** | `workflow:multi-cli-plan` | Multi-CLI collaborative planning with ACE context engine |
|
||||
| **workflow-execute** | `workflow:execute` | Coordinate agent execution for workflow tasks |
|
||||
| **workflow-tdd** | `workflow:tdd-plan`, `workflow:tdd-verify` | TDD workflow with Red-Green-Refactor task chain |
|
||||
| **workflow-test-fix** | `workflow:test-fix-gen`, `workflow:test-cycle-execute` | Unified test-fix pipeline with adaptive strategy |
|
||||
| **workflow-plan** | `workflow-plan`, `workflow-plan-verify`, `workflow:replan` | 4-phase planning workflow with verification and interactive replanning |
|
||||
| **workflow-lite-plan** | `workflow-lite-plan`, `workflow:lite-execute` | Lightweight planning and execution skill |
|
||||
| **workflow-multi-cli-plan** | `workflow-multi-cli-plan` | Multi-CLI collaborative planning with ACE context engine |
|
||||
| **workflow-execute** | `workflow-execute` | Coordinate agent execution for workflow tasks |
|
||||
| **workflow-tdd-plan** | `workflow-tdd-plan`, `workflow-tdd-verify` | TDD workflow with Red-Green-Refactor task chain |
|
||||
| **workflow-test-fix** | `workflow-test-fix`, `workflow-test-fix` | Unified test-fix pipeline with adaptive strategy |
|
||||
| **workflow-skill-designer** | `design workflow skill`, `create workflow skill` | Meta-skill for designing orchestrator+phases structured workflow skills |
|
||||
|
||||
## Team Skills
|
||||
@@ -87,7 +87,7 @@ Skill(skill="workflow-plan", args="--mode verify")
|
||||
/ccw "team planex: OAuth2 implementation"
|
||||
|
||||
# Direct skill triggers (in some contexts)
|
||||
workflow:plan
|
||||
workflow-plan
|
||||
team lifecycle
|
||||
```
|
||||
|
||||
@@ -98,12 +98,12 @@ team lifecycle
|
||||
| `brainstorm`, `头脑风暴` | brainstorm |
|
||||
| `review code`, `code review`, `审查代码` | review-code |
|
||||
| `workflow:review-cycle` | review-cycle |
|
||||
| `workflow:plan` | workflow-plan |
|
||||
| `workflow:lite-plan` | workflow-lite-plan |
|
||||
| `workflow:multi-cli-plan` | workflow-multi-cli-plan |
|
||||
| `workflow:execute` | workflow-execute |
|
||||
| `workflow:tdd-plan` | workflow-tdd |
|
||||
| `workflow:test-fix-gen` | workflow-test-fix |
|
||||
| `workflow-plan` | workflow-plan |
|
||||
| `workflow-lite-plan` | workflow-lite-plan |
|
||||
| `workflow-multi-cli-plan` | workflow-multi-cli-plan |
|
||||
| `workflow-execute` | workflow-execute |
|
||||
| `workflow-tdd-plan` | workflow-tdd-plan |
|
||||
| `workflow-test-fix` | workflow-test-fix |
|
||||
| `team lifecycle` | team-lifecycle-v4 (or v5) |
|
||||
| `team planex` | team-planex |
|
||||
| `team iterdev` | team-iterdev |
|
||||
@@ -156,9 +156,9 @@ The latest team-lifecycle-v5 uses the team-worker agent with dynamic role assign
|
||||
| Orchestrator + Workers | team-lifecycle-v4, team-testing, team-quality-assurance |
|
||||
| Generator-Critic Loop | team-iterdev |
|
||||
| Wave Pipeline | team-planex |
|
||||
| Red-Green-Refactor | workflow-tdd |
|
||||
| Red-Green-Refactor | workflow-tdd-plan |
|
||||
| Pure Orchestrator | workflow-plan, workflow-lite-plan |
|
||||
| Progressive Phase Loading | workflow-plan, workflow-tdd, team-lifecycle-v5 |
|
||||
| Progressive Phase Loading | workflow-plan, workflow-tdd-plan, team-lifecycle-v5 |
|
||||
|
||||
::: info See Also
|
||||
- [Core Skills Detail](./core-skills.md) - Detailed skill documentation
|
||||
|
||||
@@ -7,7 +7,7 @@ This page provides practical examples of CCW workflow artifacts with sensitive i
|
||||
## Example 1: Lite Plan Output
|
||||
|
||||
### plan.json
|
||||
This is an output from `workflow:lite-plan` command.
|
||||
This is an output from `workflow-lite-plan` command.
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -53,7 +53,7 @@ This is an output from `workflow:lite-plan` command.
|
||||
|
||||
```shell
|
||||
# Execute the plan
|
||||
ccw workflow:execute --session WFS-001
|
||||
ccw workflow-execute --session WFS-001
|
||||
```
|
||||
|
||||
---
|
||||
@@ -388,7 +388,7 @@ To use these examples in your own projects:
|
||||
1. **Copy the structure** that matches your needs
|
||||
2. **Modify fields** to fit your requirements
|
||||
3. **Remove sensitive information**
|
||||
4. **Test the output** with `ccw workflow:execute`
|
||||
4. **Test the output** with `ccw workflow-execute`
|
||||
|
||||
::: tip
|
||||
These examples are generated by CCW workflow tools. Run relevant commands to generate similar outputs for your projects.
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
- `-y, --yes` - 跳过所有确认
|
||||
|
||||
**映射技能**:
|
||||
- workflow-lite-plan, workflow-plan, workflow-execute, workflow-tdd
|
||||
- workflow-lite-plan, workflow-plan, workflow-execute, workflow-tdd-plan
|
||||
- workflow-test-fix, workflow-multi-cli-plan, review-cycle, brainstorm
|
||||
- team-planex, team-iterdev, team-lifecycle, team-issue
|
||||
- team-testing, team-quality-assurance, team-brainstorm, team-uidesign
|
||||
@@ -363,7 +363,7 @@ workflow req-plan-with-file
|
||||
|
||||
**描述**:自动会话发现、并行任务处理和状态跟踪。
|
||||
|
||||
**触发器**:`workflow:execute`
|
||||
**触发器**:`workflow-execute`
|
||||
|
||||
```bash
|
||||
workflow execute
|
||||
|
||||
@@ -146,7 +146,7 @@ graph TD
|
||||
| `workflow-lite-plan` | 轻量级规划工作流 |
|
||||
| `workflow-plan` | 完整规划工作流 |
|
||||
| `workflow-execute` | 执行工作流 |
|
||||
| `workflow-tdd` | TDD 工作流 |
|
||||
| `workflow-tdd-plan` | TDD 工作流 |
|
||||
| `review-cycle` | 代码审查循环 |
|
||||
|
||||
## 对比
|
||||
|
||||
@@ -30,13 +30,13 @@
|
||||
| 命令 | 功能 | 难度 |
|
||||
| --- | --- | --- |
|
||||
| [`/workflow:lite-lite-lite`](./workflow.md#lite-lite-lite) | 超轻量级多工具分析和直接执行 | Intermediate |
|
||||
| [`/workflow:lite-plan`](./workflow.md#lite-plan) | 轻量级交互式规划工作流 | Intermediate |
|
||||
| [`/workflow-lite-plan`](./workflow.md#lite-plan) | 轻量级交互式规划工作流 | Intermediate |
|
||||
| [`/workflow:lite-execute`](./workflow.md#lite-execute) | 基于内存计划执行任务 | Intermediate |
|
||||
| [`/workflow:lite-fix`](./workflow.md#lite-fix) | 轻量级 Bug 诊断和修复 | Intermediate |
|
||||
| [`/workflow:plan`](./workflow.md#plan) | 5 阶段规划工作流 | Intermediate |
|
||||
| [`/workflow:execute`](./workflow.md#execute) | 协调代理执行工作流任务 | Intermediate |
|
||||
| [`/workflow-plan`](./workflow.md#plan) | 5 阶段规划工作流 | Intermediate |
|
||||
| [`/workflow-execute`](./workflow.md#execute) | 协调代理执行工作流任务 | Intermediate |
|
||||
| [`/workflow:replan`](./workflow.md#replan) | 交互式工作流重新规划 | Intermediate |
|
||||
| [`/workflow:multi-cli-plan`](./workflow.md#multi-cli-plan) | 多 CLI 协作规划 | Intermediate |
|
||||
| [`/workflow-multi-cli-plan`](./workflow.md#multi-cli-plan) | 多 CLI 协作规划 | Intermediate |
|
||||
| [`/workflow:review`](./workflow.md#review) | 实现后审查 | Intermediate |
|
||||
| [`/workflow:clean`](./workflow.md#clean) | 智能代码清理 | Intermediate |
|
||||
| [`/workflow:init`](./workflow.md#init) | 初始化项目状态 | Intermediate |
|
||||
@@ -127,10 +127,10 @@
|
||||
|
||||
```bash
|
||||
# 创建实施计划
|
||||
/workflow:plan "添加 OAuth2 认证,支持 Google 和 GitHub 提供商"
|
||||
/workflow-plan "添加 OAuth2 认证,支持 Google 和 GitHub 提供商"
|
||||
|
||||
# 使用自动模式执行
|
||||
/workflow:execute --yes
|
||||
/workflow-execute --yes
|
||||
```
|
||||
|
||||
### 代码审查
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
| --- | --- | --- |
|
||||
| `workflow` | 标准实现 | workflow-plan skill |
|
||||
| `review` | 代码审查 | review-cycle skill |
|
||||
| `tdd` | TDD 开发 | workflow-tdd skill |
|
||||
| `tdd` | TDD 开发 | workflow-tdd-plan skill |
|
||||
| `test` | 测试生成/修复 | workflow-test-fix skill |
|
||||
| `docs` | 文档会话 | memory-manage skill |
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
|
||||
### design-sync
|
||||
|
||||
**功能**: 同步最终设计系统引用到头脑风暴工件,准备供 `/workflow:plan` 消费。
|
||||
**功能**: 同步最终设计系统引用到头脑风暴工件,准备供 `/workflow-plan` 消费。
|
||||
|
||||
**语法**:
|
||||
```bash
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`lite-lite-lite`](#lite-lite-lite) | 超轻量级多工具分析和直接执行 | `/workflow:lite-lite-lite [-y] <任务>` |
|
||||
| [`lite-plan`](#lite-plan) | 轻量级交互式规划工作流 | `/workflow:lite-plan [-y] [-e] "任务"` |
|
||||
| [`lite-plan`](#lite-plan) | 轻量级交互式规划工作流 | `/workflow-lite-plan [-y] [-e] "任务"` |
|
||||
| [`lite-execute`](#lite-execute) | 基于内存计划执行任务 | `/workflow:lite-execute [-y] [--in-memory] [任务]` |
|
||||
| [`lite-fix`](#lite-fix) | 轻量级 Bug 诊断和修复 | `/workflow:lite-fix [-y] [--hotfix] "Bug 描述"` |
|
||||
|
||||
@@ -19,15 +19,15 @@
|
||||
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`plan`](#plan) | 5 阶段规划工作流 | `/workflow:plan [-y] "描述"\|file.md` |
|
||||
| [`execute`](#execute) | 协调代理执行工作流任务 | `/workflow:execute [-y] [--resume-session=ID]` |
|
||||
| [`plan`](#plan) | 5 阶段规划工作流 | `/workflow-plan [-y] "描述"\|file.md` |
|
||||
| [`execute`](#execute) | 协调代理执行工作流任务 | `/workflow-execute [-y] [--resume-session=ID]` |
|
||||
| [`replan`](#replan) | 交互式工作流重新规划 | `/workflow:replan [-y] [--session ID] [task-id] "需求"` |
|
||||
|
||||
### 协作工作流
|
||||
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`multi-cli-plan`](#multi-cli-plan) | 多 CLI 协作规划 | `/workflow:multi-cli-plan [-y] <任务> [--max-rounds=N]` |
|
||||
| [`multi-cli-plan`](#multi-cli-plan) | 多 CLI 协作规划 | `/workflow-multi-cli-plan [-y] <任务> [--max-rounds=N]` |
|
||||
| [`brainstorm-with-file`](#brainstorm-with-file) | 交互式头脑风暴 | `/workflow:brainstorm-with-file [-y] [-c] "想法"` |
|
||||
| [`analyze-with-file`](#analyze-with-file) | 交互式协作分析 | `/workflow:analyze-with-file [-y] [-c] "主题"` |
|
||||
| [`debug-with-file`](#debug-with-file) | 交互式假设驱动调试 | `/workflow:debug-with-file [-y] "Bug 描述"` |
|
||||
@@ -37,16 +37,16 @@
|
||||
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`tdd-plan`](#tdd-plan) | TDD 规划工作流 | `/workflow:tdd-plan "功能描述"` |
|
||||
| [`tdd-verify`](#tdd-verify) | 验证 TDD 工作流合规性 | `/workflow:tdd-verify [--session ID]` |
|
||||
| [`tdd-plan`](#tdd-plan) | TDD 规划工作流 | `/workflow-tdd-plan "功能描述"` |
|
||||
| [`tdd-verify`](#tdd-verify) | 验证 TDD 工作流合规性 | `/workflow-tdd-verify [--session ID]` |
|
||||
|
||||
### 测试工作流
|
||||
|
||||
| 命令 | 功能 | 语法 |
|
||||
| --- | --- | --- |
|
||||
| [`test-fix-gen`](#test-fix-gen) | 创建测试修复工作流会话 | `/workflow:test-fix-gen (session-id\|"描述"\|file.md)` |
|
||||
| [`test-fix-gen`](#test-fix-gen) | 创建测试修复工作流会话 | `/workflow-test-fix (session-id\|"描述"\|file.md)` |
|
||||
| [`test-gen`](#test-gen) | 从实现会话创建测试会话 | `/workflow:test-gen source-session-id` |
|
||||
| [`test-cycle-execute`](#test-cycle-execute) | 执行测试修复工作流 | `/workflow:test-cycle-execute [--resume-session=ID]` |
|
||||
| [`test-cycle-execute`](#test-cycle-execute) | 执行测试修复工作流 | `/workflow-test-fix [--resume-session=ID]` |
|
||||
|
||||
### 审查工作流
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
| --- | --- | --- |
|
||||
| [`clean`](#clean) | 智能代码清理 | `/workflow:clean [-y] [--dry-run] ["焦点区域"]` |
|
||||
| [`init`](#init) | 初始化项目状态 | `/workflow:init [--regenerate]` |
|
||||
| [`plan-verify`](#plan-verify) | 验证规划一致性 | `/workflow:plan-verify [--session session-id]` |
|
||||
| [`plan-verify`](#plan-verify) | 验证规划一致性 | `/workflow-plan-verify [--session session-id]` |
|
||||
|
||||
## 命令详解
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
**语法**:
|
||||
```bash
|
||||
/workflow:lite-plan [-y|--yes] [-e|--explore] "任务描述" | file.md
|
||||
/workflow-lite-plan [-y|--yes] [-e|--explore] "任务描述" | file.md
|
||||
```
|
||||
|
||||
**选项**:
|
||||
@@ -105,10 +105,10 @@
|
||||
**示例**:
|
||||
```bash
|
||||
# 基础规划
|
||||
/workflow:lite-plan "添加用户头像功能"
|
||||
/workflow-lite-plan "添加用户头像功能"
|
||||
|
||||
# 带探索
|
||||
/workflow:lite-plan -e "重构认证模块"
|
||||
/workflow-lite-plan -e "重构认证模块"
|
||||
```
|
||||
|
||||
### lite-execute
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
**语法**:
|
||||
```bash
|
||||
/workflow:plan [-y|--yes] "文本描述" | file.md
|
||||
/workflow-plan [-y|--yes] "文本描述" | file.md
|
||||
```
|
||||
|
||||
**阶段**:
|
||||
@@ -172,10 +172,10 @@
|
||||
**示例**:
|
||||
```bash
|
||||
# 从描述规划
|
||||
/workflow:plan "实现用户通知系统"
|
||||
/workflow-plan "实现用户通知系统"
|
||||
|
||||
# 从文件规划
|
||||
/workflow:plan requirements.md
|
||||
/workflow-plan requirements.md
|
||||
```
|
||||
|
||||
### execute
|
||||
@@ -184,16 +184,16 @@
|
||||
|
||||
**语法**:
|
||||
```bash
|
||||
/workflow:execute [-y|--yes] [--resume-session="session-id"]
|
||||
/workflow-execute [-y|--yes] [--resume-session="session-id"]
|
||||
```
|
||||
|
||||
**示例**:
|
||||
```bash
|
||||
# 执行当前会话
|
||||
/workflow:execute
|
||||
/workflow-execute
|
||||
|
||||
# 恢复并执行会话
|
||||
/workflow:execute --resume-session=WFS-2024-01-15
|
||||
/workflow-execute --resume-session=WFS-2024-01-15
|
||||
```
|
||||
|
||||
### replan
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
**语法**:
|
||||
```bash
|
||||
/workflow:multi-cli-plan [-y|--yes] <任务描述> [--max-rounds=3] [--tools=gemini,codex] [--mode=parallel|serial]
|
||||
/workflow-multi-cli-plan [-y|--yes] <任务描述> [--max-rounds=3] [--tools=gemini,codex] [--mode=parallel|serial]
|
||||
```
|
||||
|
||||
**选项**:
|
||||
@@ -231,10 +231,10 @@
|
||||
**示例**:
|
||||
```bash
|
||||
# 多 CLI 规划
|
||||
/workflow:multi-cli-plan "设计微服务架构"
|
||||
/workflow-multi-cli-plan "设计微服务架构"
|
||||
|
||||
# 指定工具和轮数
|
||||
/workflow:multi-cli-plan --tools=gemini,codex --max-rounds=5 "数据库迁移方案"
|
||||
/workflow-multi-cli-plan --tools=gemini,codex --max-rounds=5 "数据库迁移方案"
|
||||
```
|
||||
|
||||
### brainstorm-with-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 |
|
||||
|
||||
@@ -165,7 +165,7 @@ graph LR
|
||||
|
||||
| 任务目标 | 推荐工作流 | 命令 |
|
||||
| --- | --- | --- |
|
||||
| 新功能开发 | PlanEx | `/workflow:plan` |
|
||||
| 新功能开发 | PlanEx | `/workflow-plan` |
|
||||
| Bug 修复 | Lifecycle | `/debug-with-file` |
|
||||
| 代码重构 | IterDev | `/refactor-cycle` |
|
||||
| 技术决策 | Brainstorm | `/brainstorm-with-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:*` |
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
| **team-coordinate** | 通用团队协调器(动态角色) | `/team-coordinate` |
|
||||
| **team-lifecycle** | 全生命周期团队 | `/team-lifecycle` |
|
||||
| **team-planex** | 边规划边执行团队 | `/team-planex` |
|
||||
| **workflow-plan** | 统一规划技能 | `/workflow:plan` |
|
||||
| **workflow-execute** | 代理协调执行 | `/workflow:execute` |
|
||||
| **workflow-plan** | 统一规划技能 | `/workflow-plan` |
|
||||
| **workflow-execute** | 代理协调执行 | `/workflow-execute` |
|
||||
| **memory-capture** | 记忆捕获 | `/memory-capture` |
|
||||
| **review-code** | 多维度代码审查 | `/review-code` |
|
||||
| **brainstorm** | 头脑风暴 | `/brainstorm` |
|
||||
@@ -176,14 +176,14 @@ memory/
|
||||
|
||||
```bash
|
||||
# 快速任务
|
||||
/workflow:lite-plan "Fix login bug"
|
||||
/workflow-lite-plan "Fix login bug"
|
||||
|
||||
# 完整开发
|
||||
/workflow:plan "Add user notifications"
|
||||
/workflow:execute
|
||||
/workflow-plan "Add user notifications"
|
||||
/workflow-execute
|
||||
|
||||
# TDD 开发
|
||||
/workflow:tdd "Implement payment processing"
|
||||
/workflow-tdd "Implement payment processing"
|
||||
```
|
||||
|
||||
### 3. 使用记忆管理
|
||||
@@ -231,7 +231,7 @@ memory/
|
||||
2. **工作流选择**:
|
||||
- 超简单 → `workflow-lite-plan`
|
||||
- 复杂功能 → `workflow-plan` → `workflow-execute`
|
||||
- TDD → `workflow-tdd`
|
||||
- TDD → `workflow-tdd-plan`
|
||||
- 测试修复 → `workflow-test-fix`
|
||||
|
||||
3. **记忆管理**:
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
| Skill | 功能 | 触发方式 |
|
||||
| --- | --- | --- |
|
||||
| `workflow-plan` | 统一规划技能(4 阶段工作流) | `/workflow:plan` |
|
||||
| `workflow-execute` | 代理协调执行 | `/workflow:execute` |
|
||||
| `workflow-lite-plan` | 轻量级快速规划 | `/workflow:lite-plan` |
|
||||
| `workflow-multi-cli-plan` | 多 CLI 协作规划 | `/workflow:multi-cli-plan` |
|
||||
| `workflow-tdd` | TDD 工作流 | `/workflow:tdd` |
|
||||
| `workflow-plan` | 统一规划技能(4 阶段工作流) | `/workflow-plan` |
|
||||
| `workflow-execute` | 代理协调执行 | `/workflow-execute` |
|
||||
| `workflow-lite-plan` | 轻量级快速规划 | `/workflow-lite-plan` |
|
||||
| `workflow-multi-cli-plan` | 多 CLI 协作规划 | `/workflow-multi-cli-plan` |
|
||||
| `workflow-tdd-plan` | TDD 工作流 | `/workflow-tdd` |
|
||||
| `workflow-test-fix` | 测试修复工作流 | `/workflow:test-fix` |
|
||||
| `workflow-skill-designer` | Skill 设计工作流 | `/workflow:skill-designer` |
|
||||
| `workflow-wave-plan` | Wave 批处理规划 | `/workflow:wave-plan` |
|
||||
@@ -34,8 +34,8 @@
|
||||
|
||||
**触发**:
|
||||
```shell
|
||||
/workflow:plan <task-description>
|
||||
/workflow:plan-verify --session <session-id>
|
||||
/workflow-plan <task-description>
|
||||
/workflow-plan-verify --session <session-id>
|
||||
/workflow:replan --session <session-id> [task-id] "requirements"
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
**模式检测**:
|
||||
```javascript
|
||||
// Skill 触发器决定模式
|
||||
skillName === 'workflow:plan-verify' → 'verify'
|
||||
skillName === 'workflow-plan-verify' → 'verify'
|
||||
skillName === 'workflow:replan' → 'replan'
|
||||
default → 'plan'
|
||||
```
|
||||
@@ -107,10 +107,10 @@ Phase 4: task-generate-agent --session sessionId
|
||||
|
||||
**触发**:
|
||||
```shell
|
||||
/workflow:execute
|
||||
/workflow:execute --resume-session="WFS-auth"
|
||||
/workflow:execute --yes
|
||||
/workflow:execute -y --with-commit
|
||||
/workflow-execute
|
||||
/workflow-execute --resume-session="WFS-auth"
|
||||
/workflow-execute --yes
|
||||
/workflow-execute -y --with-commit
|
||||
```
|
||||
|
||||
**功能**:
|
||||
@@ -189,7 +189,7 @@ Phase 5: 完成
|
||||
|
||||
**触发**:
|
||||
```shell
|
||||
/workflow:lite-plan <simple-task>
|
||||
/workflow-lite-plan <simple-task>
|
||||
```
|
||||
|
||||
**功能**:
|
||||
@@ -211,7 +211,7 @@ Phase 5: 完成
|
||||
|
||||
**触发**:
|
||||
```shell
|
||||
/workflow:multi-cli-plan <task>
|
||||
/workflow-multi-cli-plan <task>
|
||||
```
|
||||
|
||||
**功能**:
|
||||
@@ -226,13 +226,13 @@ Phase 5: 完成
|
||||
|
||||
---
|
||||
|
||||
### workflow-tdd
|
||||
### workflow-tdd-plan
|
||||
|
||||
**一句话定位**: TDD 工作流 — 测试驱动的开发流程
|
||||
|
||||
**触发**:
|
||||
```shell
|
||||
/workflow:tdd <feature-description>
|
||||
/workflow-tdd <feature-description>
|
||||
```
|
||||
|
||||
**功能**:
|
||||
@@ -334,7 +334,7 @@ Wave 2: Issue 6-10 → 并行规划 → 并行执行
|
||||
1. **选择合适的工作流**:
|
||||
- 超简单任务 → `workflow-lite-plan`
|
||||
- 复杂功能 → `workflow-plan` → `workflow-execute`
|
||||
- TDD 开发 → `workflow-tdd`
|
||||
- TDD 开发 → `workflow-tdd-plan`
|
||||
- 测试修复 → `workflow-test-fix`
|
||||
- Skill 创建 → `workflow-skill-designer`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user