Files
Claude-Code-Workflow/.claude/commands/workflow/review.md
catlog22 445ac823ba Initial release: Claude Code Workflow (CCW) v2.0
🚀 Revolutionary AI-powered development workflow orchestration system

## 🔥 Core Innovations
- **Document-State Separation**: Markdown for planning, JSON for execution state
- **Progressive Complexity Management**: Level 0-2 adaptive workflow depth
- **5-Agent Orchestration**: Specialized AI agents with context preservation
- **Session-First Architecture**: Auto-discovery and state inheritance

## 🏗️ Key Features
- Intelligent workflow orchestration (Simple/Medium/Complex patterns)
- Real-time document-state synchronization with conflict resolution
- Hierarchical task management with 3-level JSON structure
- Gemini CLI integration with 12+ specialized templates
- Comprehensive file output generation for all workflow commands

## 📦 Installation
Remote one-liner installation:
```
iex (iwr -useb https://raw.githubusercontent.com/catlog22/Claude-CCW/main/install-remote.ps1)
```

## 🎯 System Architecture
4-layer intelligent development architecture:
1. Command Layer - Smart routing and version management
2. Agent Layer - 5 specialized development agents
3. Workflow Layer - Gemini templates and task orchestration
4. Memory Layer - Distributed documentation and auto-sync

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 17:39:54 +08:00

1.8 KiB

name, description, usage, argument-hint, examples
name description usage argument-hint examples
workflow-review Execute review phase for quality validation /workflow:review [--auto-fix]
optional
auto-fix identified issues
/workflow:review
/workflow:review --auto-fix

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

    # 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

    {
      "current_phase": "REVIEW",
      "phases": {
        "REVIEW": {
          "status": "completed",
          "output": "REVIEW.md",
          "test_results": {
            "passed": 45,
            "failed": 0,
            "coverage": 85
          }
        }
      }
    }
    

Auto-fix Option

/workflow:review --auto-fix
  • 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
  • /workflow:implement - Must complete first
  • /task:status - Check task completion
  • /workflow:status - View overall status