mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
统一命令调用格式从 /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>
2.1 KiB
2.1 KiB
name, description, usage, parent
| name | description | usage | parent |
|---|---|---|---|
| workflow-session-list | List all workflow sessions with status | /workflow:session:list | /workflow:session |
List Workflow Sessions (/workflow/session/list)
Purpose
Display all workflow sessions with their current status, progress, and metadata.
Usage
/workflow/session/list
Output Format
Active Session (Highlighted)
✅ WFS-oauth-integration (ACTIVE)
Description: Implement OAuth2 authentication
Phase: IMPLEMENTATION
Created: 2025-09-07 14:30:00
Directory: .workflow/WFS-oauth-integration/
Progress: 3/5 tasks completed
Paused Sessions
⏸️ WFS-user-profile (PAUSED)
Description: Build user profile management
Phase: PLANNING
Created: 2025-09-06 10:15:00
Last active: 2025-09-07 09:20:00
Directory: .workflow/WFS-user-profile/
Completed Sessions
✅ WFS-bug-fix-123 (COMPLETED)
Description: Fix login security vulnerability
Completed: 2025-09-05 16:45:00
Directory: .workflow/WFS-bug-fix-123/
Status Indicators
- ✅ ACTIVE: Currently active session (has marker file)
- ⏸️ PAUSED: Session paused, can be resumed
- ✅ COMPLETED: Session finished successfully
- ❌ FAILED: Session ended with errors
- 🔄 INTERRUPTED: Session was interrupted unexpectedly
Session Discovery
Searches for:
.workflow/WFS-*directories- Reads
workflow-session.jsonfrom each - Checks for
.active-*marker files - Sorts by last activity date
Quick Actions
For each session, shows available actions:
- Resume:
/workflow/session/resume(paused sessions) - Switch:
/workflow/session/switch <session-id> - View:
/context <session-id>
Empty State
If no sessions exist:
No workflow sessions found.
Create a new session:
/workflow/session/start "your task description"
Error Handling
- Directory access: Handles permission issues
- Corrupted sessions: Shows warning but continues listing
- Missing metadata: Shows partial info with warnings
Result: Complete overview of all workflow sessions and their current state