修复所有命令文件的usage格式:斜杠改为冒号

统一命令调用格式从 /workflow/session/list 改为 /workflow:session:list

## 修复范围
- workflow/session/: 6个子命令 (start, pause, resume, list, status, switch)
- workflow/issue/: 4个子命令 (create, list, update, close)
- workflow/: 3个主命令 (plan, execute, review)
- task/: 4个命令 (create, execute, breakdown, replan)
- gemini/: 3个命令 (chat, execute, analyze)

## 格式统一
- usage行: /workflow:session:list
- examples: /workflow:session:start "任务"
- 标题: # Command (/workflow:session:start)
- 内容引用: 所有命令路径统一使用冒号格式

## 验证完成
 24个命令文件全部采用统一格式
 所有examples和内容引用保持一致
 parent字段同步更新

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-08 16:32:41 +08:00
parent 44b26555a5
commit 754f9b8da0
21 changed files with 150 additions and 347 deletions

View File

@@ -1,13 +1,13 @@
---
name: workflow-execute
description: Coordinate agents for existing workflow tasks with automatic discovery
usage: /workflow/execute
usage: /workflow:execute
argument-hint: none
examples:
- /workflow/execute
- /workflow:execute
---
# Workflow Execute Command (/workflow/execute)
# Workflow Execute Command (/workflow:execute)
## Overview
Coordinates multiple agents for executing existing workflow tasks through automatic discovery and intelligent task orchestration. Analyzes workflow folders, checks task statuses, and coordinates agent execution based on discovered plans.
@@ -222,7 +222,7 @@ mark_dependent_tasks_ready(task_dependencies)
```bash
# No active session found
❌ No active workflow session found
→ Use: /workflow/session/start "project name" first
→ Use: /workflow:session:start "project name" first
# No executable tasks
⚠️ All tasks completed or blocked
@@ -248,18 +248,18 @@ mark_dependent_tasks_ready(task_dependencies)
### Next Actions
```bash
# After /workflow/execute completion
# After /workflow:execute completion
/context # View updated task status
/task/execute impl-X # Execute specific remaining tasks
/workflow/review # Move to review phase when complete
/task:execute impl-X # Execute specific remaining tasks
/workflow:review # Move to review phase when complete
```
## Related Commands
- `/context` - View discovered tasks and current status
- `/task/execute` - Execute individual tasks (user-controlled)
- `/workflow/session/status` - Check session progress and dependencies
- `/workflow/review` - Move to review phase after completion
- `/task:execute` - Execute individual tasks (user-controlled)
- `/workflow:session:status` - Check session progress and dependencies
- `/workflow:review` - Move to review phase after completion
---