mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
更新所有命令文档以提高可读性和一致性: - 移除所有表情符号(⚠️, ✅, ❌, ▸等),使用纯文本替代 - 统一标题格式,改进章节结构 - 简化状态指示器和格式标记 - 添加三个新的命令模板规范文档 新增文档: - COMMAND_FLOW_STANDARD.md - 标准命令流程规范 - COMMAND_TEMPLATE_EXECUTOR.md - 执行器命令模板 - COMMAND_TEMPLATE_ORCHESTRATOR.md - 编排器命令模板 影响范围: - CLI命令(cli-init, codex-execute, discuss-plan, execute) - 内存管理命令(skill-memory, tech-research, workflow-skill-memory) - 任务管理命令(breakdown, create, execute, replan) - 工作流命令(所有workflow相关命令) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.8 KiB
2.8 KiB
name, description, argument-hint
| name | description | argument-hint |
|---|---|---|
| workflow:status | Generate on-demand views from JSON task data | [optional: task-id] |
Workflow Status Command (/workflow:status)
Overview
Generates on-demand views from JSON task data. No synchronization needed - all views are calculated from the current state of JSON files.
Usage
/workflow:status # Show current workflow overview
/workflow:status impl-1 # Show specific task details
/workflow:status --validate # Validate workflow integrity
Implementation Flow
Step 1: Find Active Session
find .workflow/ -name ".active-*" -type f 2>/dev/null | head -1
Step 2: Load Session Data
cat .workflow/WFS-session/workflow-session.json
Step 3: Scan Task Files
find .workflow/WFS-session/.task/ -name "*.json" -type f 2>/dev/null
Step 4: Generate Task Status
cat .workflow/WFS-session/.task/impl-1.json | jq -r '.status'
Step 5: Count Task Progress
find .workflow/WFS-session/.task/ -name "*.json" -type f | wc -l
find .workflow/WFS-session/.summaries/ -name "*.md" -type f 2>/dev/null | wc -l
Step 6: Display Overview
# Workflow Overview
**Session**: WFS-session-name
**Progress**: 3/8 tasks completed
## Active Tasks
- [IN PROGRESS] impl-1: Current task in progress
- [ ] impl-2: Next pending task
## Completed Tasks
- [COMPLETED] impl-0: Setup completed
Simple Bash Commands
Basic Operations
- Find active session:
find .workflow/ -name ".active-*" -type f - Read session info:
cat .workflow/session/workflow-session.json - List tasks:
find .workflow/session/.task/ -name "*.json" -type f - Check task status:
cat task.json | jq -r '.status' - Count completed:
find .summaries/ -name "*.md" -type f | wc -l
Task Status Check
- pending: Not started yet
- active: Currently in progress
- completed: Finished with summary
- blocked: Waiting for dependencies
Validation Commands
# Check session exists
test -f .workflow/.active-* && echo "Session active"
# Validate task files
for f in .workflow/session/.task/*.json; do jq empty "$f" && echo "Valid: $f"; done
# Check summaries match
find .task/ -name "*.json" -type f | wc -l
find .summaries/ -name "*.md" -type f 2>/dev/null | wc -l
Simple Output Format
Default Overview
Session: WFS-user-auth
Status: ACTIVE
Progress: 5/12 tasks
Current: impl-3 (Building API endpoints)
Next: impl-4 (Adding authentication)
Completed: impl-1, impl-2
Task Details
Task: impl-1
Title: Build authentication module
Status: completed
Agent: code-developer
Created: 2025-09-15
Completed: 2025-09-15
Summary: .summaries/impl-1-summary.md
Validation Results
Session file valid
8 task files found
3 summaries found
5 tasks pending completion