fix: update command references and improve documentation for workflow commands

This commit is contained in:
catlog22
2026-03-04 14:11:15 +08:00
parent fb0f56bfc0
commit b203ada9c5
16 changed files with 50 additions and 83 deletions

View File

@@ -47,7 +47,7 @@ graph TD
| Type | Trigger Keywords | Workflow |
|------|------------------|----------|
| **Bug Fix** | urgent, production, critical + fix, bug | lite-fix |
| **Bug Fix** | urgent, production, critical + fix, bug | debug-with-file |
| **Brainstorming** | brainstorm, ideation | brainstorm-with-file |
| **Debug Document** | debug document, hypothesis | debug-with-file |
| **Collaborative Analysis** | analyze document | analyze-with-file |
@@ -163,4 +163,4 @@ Both commands support the `--yes` flag for auto mode:
- [Workflow Commands](./workflow.md)
- [Session Management](./session.md)
- [CLI Invocation System](../features/cli.md)
- [CLI Invocation System](../../features/cli.md)

View File

@@ -31,7 +31,6 @@
| Command | Function | Difficulty |
|---------|----------|------------|
| [`/workflow-lite-planex`](./workflow.md#lite-plan) | Lightweight interactive planning workflow | 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:replan`](./workflow.md#replan) | Interactive workflow replanning | Intermediate |
@@ -229,5 +228,5 @@ ccw cli -p "Review code quality" --tool gemini --mode analysis --rule analysis-r
## Related Documentation
- [Skills Reference](../skills/)
- [CLI Invocation System](../features/cli.md)
- [Workflow Guide](../guide/ch04-workflow-basics.md)
- [CLI Invocation System](../../features/cli.md)
- [Workflow Guide](../../guide/ch04-workflow-basics.md)

View File

@@ -11,7 +11,6 @@
| Command | Function | Syntax |
|---------|----------|--------|
| [`lite-plan`](#lite-plan) | Lightweight interactive planning workflow | `/workflow-lite-planex [-y] [-e] "task"` |
| [`lite-fix`](#lite-fix) | Lightweight bug diagnosis and fix | `/workflow:lite-fix [-y] [--hotfix] "bug description"` |
### Standard Workflows
@@ -86,27 +85,6 @@
/workflow-lite-planex -e "refactor authentication module"
```
### lite-fix
**Function**: Lightweight bug diagnosis and fix workflow, supporting intelligent severity assessment and optional hotfix mode.
**Syntax**:
```bash
/workflow:lite-fix [-y|--yes] [--hotfix] "bug description or issue reference"
```
**Options**:
- `--hotfix`: Hotfix mode (quick fix for production incidents)
**Examples**:
```bash
# Bug fix
/workflow:lite-fix "login returns 500 error"
# Hotfix
/workflow:lite-fix --hotfix "payment gateway timeout"
```
### plan
**Function**: 5-phase planning workflow, outputting IMPL_PLAN.md and task JSON.