mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +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>
85 lines
1.7 KiB
Markdown
85 lines
1.7 KiB
Markdown
---
|
|
name: workflow-review
|
|
description: Execute review phase for quality validation
|
|
usage: /workflow:review
|
|
argument-hint: none
|
|
examples:
|
|
- /workflow:review
|
|
---
|
|
|
|
# Workflow Review Command (/workflow:review)
|
|
|
|
## Overview
|
|
Final phase for quality validation, testing, and completion.
|
|
|
|
## Core Principles
|
|
**Session Management:** @~/.claude/workflows/session-management-principles.md
|
|
|
|
## Review Process
|
|
|
|
1. **Validation Checks**
|
|
- All tasks completed
|
|
- Tests passing
|
|
- Code quality metrics
|
|
- Documentation complete
|
|
|
|
2. **Generate Review Report**
|
|
```markdown
|
|
# Review Report
|
|
|
|
## Task Completion
|
|
- Total: 10
|
|
- Completed: 10
|
|
- Success Rate: 100%
|
|
|
|
## Quality Metrics
|
|
- Test Coverage: 85%
|
|
- Code Quality: A
|
|
- Documentation: Complete
|
|
|
|
## Issues Found
|
|
- Minor: 2
|
|
- Major: 0
|
|
- Critical: 0
|
|
```
|
|
|
|
3. **Update Session**
|
|
```json
|
|
{
|
|
"current_phase": "REVIEW",
|
|
"phases": {
|
|
"REVIEW": {
|
|
"status": "completed",
|
|
"output": "REVIEW.md",
|
|
"test_results": {
|
|
"passed": 45,
|
|
"failed": 0,
|
|
"coverage": 85
|
|
}
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
## Auto-fix (Default)
|
|
Auto-fix is enabled by default:
|
|
- Automatically fixes minor issues
|
|
- Runs formatters and linters
|
|
- Updates documentation
|
|
- Re-runs tests
|
|
|
|
## Completion Criteria
|
|
- All tasks marked complete
|
|
- Tests passing (configurable threshold)
|
|
- No critical issues
|
|
- Documentation updated
|
|
|
|
## Output Files
|
|
- `REVIEW.md` - Review report
|
|
- `workflow-session.json` - Updated with results
|
|
- `test-results.json` - Detailed test output
|
|
|
|
## Related Commands
|
|
- `/workflow:execute` - Must complete first
|
|
- `/task:status` - Check task completion
|
|
- `/workflow:status` - View overall status |