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

@@ -82,7 +82,7 @@ graph TD
| 优先级 | 类型 | 触发关键词 | 工作流 |
|--------|------|-----------|--------|
| 1 | Bug 修复 (紧急) | urgent, production, critical + fix, bug | lite-fix (--hotfix) |
| 1 | Bug 修复 (紧急) | urgent, production, critical + fix, bug | debug-with-file |
| 2 | 头脑风暴 | brainstorm, ideation, 头脑风暴, 创意, 发散思维 | brainstorm-with-file |
| 3 | 头脑风暴→Issue | brainstorm.*issue, 头脑风暴.*issue | issue:from-brainstorm |
| 4 | 调试文档 | debug.*document, hypothesis, 假设验证, 深度调试 | debug-with-file |
@@ -94,7 +94,7 @@ graph TD
| 10 | 重构 | refactor, 重构, tech.*debt, 技术债务 | refactor-cycle |
| 11 | 团队工作流 | team.*plan.*exec, 团队规划执行, wave pipeline | team-planex |
| 12 | 多CLI协作 | multi.*cli, 多CLI, 多模型协作 | multi-cli-plan |
| 13 | Bug 修复 | fix, bug, error, crash, fail, debug | lite-fix |
| 13 | Bug 修复 | fix, bug, error, crash, fail, debug | debug-with-file |
| 14 | Issue 批量 | issues?.*batch, 批量issue | issue:discover → execute |
| 15 | Issue 转换 | issue workflow, structured workflow | lite-plan → convert-to-plan |
| 16 | 探索 | uncertain, explore, 研究, what if | brainstorm → plan |
@@ -411,4 +411,4 @@ Task: <description>
- [工作流命令](./workflow.md)
- [会话管理](./session.md)
- [CLI 调用系统](../features/cli.md)
- [CLI 调用系统](../../features/cli.md)

View File

@@ -31,7 +31,6 @@
| 命令 | 功能 | 难度 |
| --- | --- | --- |
| [`/workflow-lite-planex`](./workflow.md#lite-plan) | 轻量级交互式规划工作流 | Intermediate |
| [`/workflow:lite-fix`](./workflow.md#lite-fix) | 轻量级 Bug 诊断和修复 | Intermediate |
| [`/workflow-plan`](./workflow.md#plan) | 5 阶段规划工作流 | Intermediate |
| [`/workflow-execute`](./workflow.md#execute) | 协调代理执行工作流任务 | Intermediate |
| [`/workflow:replan`](./workflow.md#replan) | 交互式工作流重新规划 | Intermediate |
@@ -227,5 +226,5 @@ ccw cli -p "审查代码质量" --tool gemini --mode analysis --rule analysis-re
## 相关文档
- [Skills 参考](../skills/)
- [CLI 调用系统](../features/cli.md)
- [工作流指南](../guide/ch04-workflow-basics.md)
- [CLI 调用系统](../../features/cli.md)
- [工作流指南](../../guide/ch04-workflow-basics.md)

View File

@@ -11,7 +11,6 @@
| 命令 | 功能 | 语法 |
| --- | --- | --- |
| [`lite-plan`](#lite-plan) | 轻量级交互式规划工作流 | `/workflow-lite-planex [-y] [-e] "任务"` |
| [`lite-fix`](#lite-fix) | 轻量级 Bug 诊断和修复 | `/workflow:lite-fix [-y] [--hotfix] "Bug 描述"` |
### 标准工作流
@@ -86,27 +85,6 @@
/workflow-lite-planex -e "重构认证模块"
```
### lite-fix
**功能**: 轻量级 Bug 诊断和修复工作流,支持智能严重程度评估和可选的热修复模式。
**语法**:
```bash
/workflow:lite-fix [-y|--yes] [--hotfix] "Bug 描述或 Issue 引用"
```
**选项**:
- `--hotfix`: 热修复模式(生产事故快速修复)
**示例**:
```bash
# Bug 修复
/workflow:lite-fix "登录时出现 500 错误"
# 热修复
/workflow:lite-fix --hotfix "支付网关超时"
```
### plan
**功能**: 5 阶段规划工作流,输出 IMPL_PLAN.md 和任务 JSON。

View File

@@ -114,6 +114,6 @@ Badge 徽章组件用于以紧凑形式显示状态、类别或标签。它通
## 相关组件
- [Card 卡片](/zh-CN/components/ui/card)
- [Button 按钮](/zh-CN/components/ui/button)
- [Avatar 头像](/zh-CN/components/ui/avatar)
- [Card 卡片](/zh/components/ui/card)
- [Button 按钮](/zh/components/ui/button)
- [Avatar 头像](/zh/components/ui/avatar)

View File

@@ -75,6 +75,6 @@ sidebar: auto
## 相关组件
- [Input 输入框](/zh-CN/components/ui/input)
- [Select 选择器](/zh-CN/components/ui/select)
- [Dialog 对话框](/zh-CN/components/ui/dialog)
- [Input 输入框](/zh/components/ui/input)
- [Select 选择器](/zh/components/ui/select)
- [Dialog 对话框](/zh/components/ui/dialog)

View File

@@ -102,6 +102,6 @@ sidebar: auto
## 相关组件
- [Button 按钮](/zh-CN/components/ui/button)
- [Badge 徽章](/zh-CN/components/ui/badge)
- [Separator 分隔线](/zh-CN/components/ui/separator)
- [Button 按钮](/zh/components/ui/button)
- [Badge 徽章](/zh/components/ui/badge)
- [Separator 分隔线](/zh/components/ui/separator)

View File

@@ -115,6 +115,6 @@ const state = ref('indeterminate')
## 相关组件
- [Input 输入框](/zh-CN/components/ui/input)
- [Select 选择器](/zh-CN/components/ui/select)
- [Radio Group 单选框组](/zh-CN/components/ui/radio-group)
- [Input 输入框](/zh/components/ui/input)
- [Select 选择器](/zh/components/ui/select)
- [Radio Group 单选框组](/zh/components/ui/radio-group)

View File

@@ -113,6 +113,6 @@ function Example() {
## 相关组件
- [Button 按钮](/zh-CN/components/ui/button)
- [Select 选择器](/zh-CN/components/ui/select)
- [Checkbox 复选框](/zh-CN/components/ui/checkbox)
- [Button 按钮](/zh/components/ui/button)
- [Select 选择器](/zh/components/ui/select)
- [Checkbox 复选框](/zh/components/ui/checkbox)

View File

@@ -122,6 +122,6 @@ const selectedValue = ref('')
## 相关组件
- [Input 输入框](/zh-CN/components/ui/input)
- [Checkbox 复选框](/zh-CN/components/ui/checkbox)
- [Button 按钮](/zh-CN/components/ui/button)
- [Input 输入框](/zh/components/ui/input)
- [Checkbox 复选框](/zh/components/ui/checkbox)
- [Button 按钮](/zh/components/ui/button)