View workflow execution progress and statistics in real time
Usage
/status # 顯示當前工作流狀態
/status [workflow-id] # 顯示特定工作流狀態
/status --list # 列出所有工作流歷史
/status --dag # 顯示任務依賴 DAG 圖
Flags: --list | --dag | --json | --html | -o <file>
Output Format
Terminal output (default)
╭──────────────────────────────────────────────────────────╮
│ 🎯 user-auth-feature │
│ 狀態: 執行中 | 品質: 82/100 │
╰──────────────────────────────────────────────────────────╯
進度: [████████████░░░░░░] 65%
RESEARCH ✅ → PLAN ✅ → TASKS ✅ → IMPLEMENT 🔄 → REVIEW ⏳ → VERIFY ⏳
↑
當前階段
┌─────────────┬─────────────┬─────────────┬─────────────┐
│ TDD 守護者 │ 安全審計員 │ 效能優化師 │ 維護性專家 │
│ ✅ │ 🔄 │ ⏳ │ ⏳ │
└─────────────┴─────────────┴─────────────┴─────────────┘
任務進度: 3/5 完成
├── ✅ TEST-001: 登入功能測試
├── ✅ T-F-001: 實作登入功能
├── 🔄 T-F-002: 實作註冊功能
└── ⏳ T-F-003: 實作密碼重設
Memory: .claude/memory/implement/user-auth/
Other formats
| Format | Description | Example |
|---|---|---|
--json |
Programmatic processing | /status --json |
--markdown |
Markdown + Mermaid | /status -o report.md |
--html |
Interactive Dashboard | /status --html -o dashboard.html |
Execution Method
Run the underlying CLI tool:
python shared/tools/workflow-status.py {args}
Display the output directly to the user.
Parameter Mapping
| Skill Parameter | CLI Parameter |
|---|---|
/status |
python workflow-status.py |
/status user-auth |
python workflow-status.py --id user-auth |
/status --list |
python workflow-status.py --list |
/status --dag |
python workflow-status.py --dag |
/status --json |
python workflow-status.py --json |
/status --html -o dash.html |
python workflow-status.py --html -o dash.html |
Workflow History
/status --list Show all workflow history:
╭──────────────────────────────────────────────────────────╮
│ 📋 工作流歷史 │
╰──────────────────────────────────────────────────────────╯
最近 5 個工作流:
│ ID │ 任務 │ 狀態 │ 品質 │ 日期 │
├─────────────────────┼─────────────────┼─────────┼───────┼────────────┤
│ user-auth-feature │ 用戶認證功能 │ 🔄執行中│ 82 │ 2026-01-26 │
│ api-refactor │ API 重構 │ ✅完成 │ 91 │ 2026-01-25 │
統計:
總計: 12 | 完成: 9 | 失敗: 2 | 執行中: 1
平均品質分數: 84.5
Task DAG Visualization
/status --dag Generate a Mermaid task dependency graph:
graph TD
subgraph Wave1["Wave 1"]
TEST001["✅ TEST-001: 登入測試"]
TEST002["✅ TEST-002: 註冊測試"]
end
subgraph Wave2["Wave 2"]
TF001["✅ T-F-001: 登入功能"]
TF002["🔄 T-F-002: 註冊功能"]
end
subgraph Wave3["Wave 3"]
TF003["⏳ T-F-003: 密碼重設"]
end
TEST001 --> TF001
TEST002 --> TF002
TF001 --> TF003
TF002 --> TF003
style TEST001 fill:#4ade80
style TEST002 fill:#4ade80
style TF001 fill:#4ade80
style TF002 fill:#fbbf24
style TF003 fill:#9ca3af
Status Icons
| Icon | Status | Description |
|---|---|---|
| ⏳ | pending | Waiting to execute |
| 🔄 | running | Executing |
| ✅ | completed | Completed successfully |
| ❌ | failed | Execution failed |
| ⏭️ | skipped | Skipped |
Progress Calculation
stage_weights:
RESEARCH: 0.15
PLAN: 0.15
TASKS: 0.10
IMPLEMENT: 0.35
REVIEW: 0.15
VERIFY: 0.10
# 公式: progress = sum(weight * stage_completion)
Output Location
Status information source:
.claude/memory/
├── workflows/[id]/meta.yaml # 完整工作流
├── research/[id]/meta.yaml # 研究階段
├── plans/[id]/meta.yaml # 計劃階段
├── tasks/[id]/tasks.yaml # 任務定義
└── implement/[id]/meta.yaml # 實作階段
Related Modules
| Module | Purpose |
|---|---|
| workflow-status.py | CLI core tool |
| dag-validator.py | DAG validation + Mermaid |
| display.md | Progress display specification |