+
+## ๐ฏ **CCW Workflow System**
+
+*Advanced multi-agent orchestration for autonomous software development*
+
+**Built for developers, by developers, with AI-first principles**
+
+[](../README.md)
+[](https://github.com/catlog22/Claude-Code-Workflow/wiki)
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index d24c7421..6bb7ee98 100644
--- a/README.md
+++ b/README.md
@@ -1,54 +1,70 @@
-# Claude Code Workflow (CCW)
+# ๐ Claude Code Workflow (CCW)
-
-A comprehensive multi-agent automation framework for software development that orchestrates complex development tasks through intelligent workflow management and autonomous execution.
+---
-> **๐ฆ Latest Release v1.2**: Enhanced workflow diagrams, intelligent task saturation control, path-specific analysis system, and comprehensive documentation updates with detailed mermaid visualizations. See [CHANGELOG.md](CHANGELOG.md) for details.
+## ๐ Overview
-## Architecture Overview
+**Claude Code Workflow (CCW)** is a next-generation multi-agent automation framework for software development that orchestrates complex development tasks through intelligent workflow management and autonomous execution.
-Claude Code Workflow (CCW) is built on three core architectural principles enhanced with intelligent workflow orchestration:
+> **๐ฏ Latest Release v1.3**: Enhanced task decomposition standards, advanced search strategies with bash command combinations, free exploration phases for agents, and comprehensive workflow system improvements. See [CHANGELOG.md](CHANGELOG.md) for details.
-### **System Architecture Visualization**
+### ๐ Key Innovations
+
+- **๐ง Intelligent Task Decomposition**: New core standards prevent over-fragmentation with functional completeness principles
+- **๐ Advanced Search Strategies**: Powerful command combinations using ripgrep, grep, find, awk, sed for comprehensive analysis
+- **โก Free Exploration Phase**: Agents can gather supplementary context after structured analysis
+- **๐ฏ JSON-First Architecture**: Single source of truth with atomic session management
+- **๐ค Dual CLI Integration**: Gemini for analysis, Codex for autonomous development
+
+---
+
+## ๐๏ธ System Architecture
+
+### **๐ง Core Architectural Principles**
```mermaid
graph TB
- subgraph "CLI Interface Layer"
+ subgraph "๐ฅ๏ธ CLI Interface Layer"
CLI[CLI Commands]
GEM[Gemini CLI]
COD[Codex CLI]
- WRAPPER[Gemini Wrapper]
+ WRAPPER[Intelligent Gemini Wrapper]
end
- subgraph "Session Management"
- MARKER[".active-session marker"]
+ subgraph "๐ Session Management"
+ MARKER[".active-session markers"]
SESSION["workflow-session.json"]
WDIR[".workflow/ directories"]
end
- subgraph "Task System"
+ subgraph "๐ JSON-First Task System"
TASK_JSON[".task/impl-*.json"]
HIERARCHY["Task Hierarchy (max 2 levels)"]
STATUS["Task Status Management"]
+ DECOMP["Task Decomposition Engine"]
end
- subgraph "Agent Orchestration"
+ subgraph "๐ค Multi-Agent Orchestration"
PLAN_AGENT[Conceptual Planning Agent]
ACTION_AGENT[Action Planning Agent]
- CODE_AGENT[Code Developer]
+ CODE_AGENT[Code Developer Agent]
REVIEW_AGENT[Code Review Agent]
MEMORY_AGENT[Memory Gemini Bridge]
end
- CLI --> GEM
- CLI --> COD
CLI --> WRAPPER
WRAPPER --> GEM
+ CLI --> COD
GEM --> PLAN_AGENT
COD --> CODE_AGENT
@@ -57,459 +73,337 @@ graph TB
ACTION_AGENT --> TASK_JSON
CODE_AGENT --> TASK_JSON
- TASK_JSON --> HIERARCHY
+ TASK_JSON --> DECOMP
+ DECOMP --> HIERARCHY
HIERARCHY --> STATUS
SESSION --> MARKER
MARKER --> WDIR
```
-### **JSON-First Data Model**
-- **Single Source of Truth**: All workflow states and task definitions stored in structured `.task/impl-*.json` files
-- **Task-Specific Paths**: New `paths` field enables precise CLI analysis targeting concrete project paths
-- **Generated Views**: Markdown documents created on-demand from JSON data sources
-- **Data Consistency**: Eliminates synchronization issues through centralized data management
-- **Performance**: Direct JSON operations with sub-millisecond query response times
+### ๐๏ธ **Three-Pillar Foundation**
-### **Atomic Session Management**
-- **Marker File System**: Session state managed through atomic `.workflow/.active-[session]` files
-- **Instant Context Switching**: Zero-overhead session management and switching
-- **Conflict Resolution**: Automatic detection and resolution of session state conflicts
-- **Scalability**: Support for concurrent sessions without performance degradation
+| ๐๏ธ **JSON-First Data Model** | โก **Atomic Session Management** | ๐งฉ **Adaptive Complexity** |
+|---|---|---|
+| Single source of truth | Marker-based session state | Auto-adjusts to project size |
+| Sub-millisecond queries | Zero-overhead switching | Simple โ Medium โ Complex |
+| Generated Markdown views | Conflict-free concurrency | Task limit enforcement |
+| Data consistency guaranteed | Instant context switching | Intelligent decomposition |
-### **Adaptive Complexity Management**
-CCW automatically adjusts workflow structure based on project complexity:
+---
-| Complexity Level | Task Count | Structure | Features |
-|------------------|------------|-----------|----------|
-| **Simple** | <5 tasks | Single-level hierarchy | Minimal overhead, direct execution |
-| **Medium** | 5-15 tasks | Two-level task breakdown | Progress tracking, automated documentation |
-| **Complex** | >15 tasks | Three-level deep hierarchy | Full orchestration, multi-agent coordination |
+## โจ Major Enhancements v1.3
-## Major Enhancements Since v1.0
+### ๐ฏ **Core Task Decomposition Standards**
+Revolutionary task decomposition system with four core principles:
-### **๐ Intelligent Task Saturation Control**
-Advanced workflow planning prevents agent overload and optimizes task distribution across the system.
+1. **๐ฏ Functional Completeness Principle** - Complete, runnable functional units
+2. **๐ Minimum Size Threshold** - 3+ files or 200+ lines minimum
+3. **๐ Dependency Cohesion Principle** - Tightly coupled components together
+4. **๐ Hierarchy Control Rule** - Flat โค5, hierarchical 6-10, re-scope >10
-### **๐ง Gemini Wrapper Intelligence**
-Smart wrapper automatically manages token limits and approval modes based on task analysis:
-- Analysis keywords โ `--approval-mode default`
-- Development tasks โ `--approval-mode yolo`
-- Automatic `--all-files` flag management based on project size
+### ๐ **Advanced Search Strategies**
+Powerful command combinations for comprehensive codebase analysis:
-### **๐ฏ Path-Specific Analysis System**
-New task-specific path management enables precise CLI analysis targeting concrete project paths instead of wildcards.
+```bash
+# Pattern discovery with context
+rg -A 3 -B 3 'authenticate|login|jwt' --type ts --type js | head -50
-### **๐ Unified Template System**
-Cross-tool template compatibility with shared template library supporting both Gemini and Codex workflows.
+# Multi-tool analysis pipeline
+find . -name '*.ts' | xargs rg -l 'auth' | head -15
-### **โก Enhanced Performance**
-- Sub-millisecond JSON query response times
-- 10-minute execution timeout for complex operations
-- On-demand file creation reduces initialization overhead
-
-### **Command Execution Flow**
-
-```mermaid
-sequenceDiagram
- participant User
- participant CLI
- participant GeminiWrapper as Gemini Wrapper
- participant GeminiCLI as Gemini CLI
- participant CodexCLI as Codex CLI
- participant Agent
- participant TaskSystem as Task System
- participant FileSystem as File System
-
- User->>CLI: Command Request
- CLI->>CLI: Parse Command Type
-
- alt Analysis Task
- CLI->>GeminiWrapper: Analysis Request
- GeminiWrapper->>GeminiWrapper: Check Token Limit
- GeminiWrapper->>GeminiWrapper: Set Approval Mode
- GeminiWrapper->>GeminiCLI: Execute Analysis
- GeminiCLI->>FileSystem: Read Codebase
- GeminiCLI->>Agent: Route to Planning Agent
- else Development Task
- CLI->>CodexCLI: Development Request
- CodexCLI->>Agent: Route to Code Agent
- end
-
- Agent->>TaskSystem: Create/Update Tasks
- TaskSystem->>FileSystem: Save task JSON
- Agent->>Agent: Execute Task Logic
- Agent->>FileSystem: Apply Changes
- Agent->>TaskSystem: Update Task Status
- TaskSystem->>FileSystem: Regenerate Markdown Views
- Agent->>CLI: Return Results
- CLI->>User: Display Results
+# Interface extraction with awk
+rg '^\\s*interface\\s+\\w+' --type ts -A 5 | awk '/interface/{p=1} p&&/^}/{p=0;print}'
```
-## Complete Development Workflow Examples
+### ๐ **Free Exploration Phase**
+Agents can enter supplementary context gathering using bash commands (grep, find, rg, awk, sed) after completing structured pre-analysis steps.
+
+### ๐ง **Intelligent Gemini Wrapper**
+Smart automation with token management and approval modes:
+- **Analysis Detection**: Keywords trigger `--approval-mode default`
+- **Development Detection**: Action words trigger `--approval-mode yolo`
+- **Auto Token Management**: Handles `--all-files` based on project size
+- **Error Logging**: Comprehensive error tracking and recovery
+
+---
+
+## ๐ Complexity Management System
+
+CCW automatically adapts workflow structure based on project complexity:
+
+| **Complexity** | **Task Count** | **Structure** | **Features** |
+|---|---|---|---|
+| ๐ข **Simple** | <5 tasks | Single-level | Minimal overhead, direct execution |
+| ๐ก **Medium** | 5-10 tasks | Two-level hierarchy | Progress tracking, automated docs |
+| ๐ด **Complex** | >10 tasks | Force re-scoping | Multi-iteration planning required |
+
+---
+
+## ๐ ๏ธ Complete Command Reference
+
+### ๐ฎ **Core System Commands**
+
+| Command | Function | Example |
+|---------|----------|---------|
+| `๐ฏ /enhance-prompt` | Technical context enhancement | `/enhance-prompt "add auth system"` |
+| `๐ /context` | Unified context management | `/context --analyze --format=tree` |
+| `๐ /update-memory-full` | Complete documentation update | `/update-memory-full` |
+| `๐ /update-memory-related` | Smart context-aware updates | `/update-memory-related` |
+
+### ๐ **Gemini CLI Commands** (Analysis & Investigation)
+
+| Command | Purpose | Usage |
+|---------|---------|-------|
+| `๐ /gemini:analyze` | Deep codebase analysis | `/gemini:analyze "authentication patterns"` |
+| `๐ฌ /gemini:chat` | Direct Gemini interaction | `/gemini:chat "explain this architecture"` |
+| `โก /gemini:execute` | Intelligent execution | `/gemini:execute task-001` |
+| `๐ฏ /gemini:mode:auto` | Auto template selection | `/gemini:mode:auto "analyze security"` |
+| `๐ /gemini:mode:bug-index` | Bug analysis workflow | `/gemini:mode:bug-index "payment fails"` |
+
+### ๐ค **Codex CLI Commands** (Development & Implementation)
+
+| Command | Purpose | Usage |
+|---------|---------|-------|
+| `๐ /codex:analyze` | Development analysis | `/codex:analyze "optimization opportunities"` |
+| `๐ฌ /codex:chat` | Direct Codex interaction | `/codex:chat "implement JWT auth"` |
+| `โก /codex:execute` | Controlled development | `/codex:execute "refactor user service"` |
+| `๐ /codex:mode:auto` | **PRIMARY**: Full autonomous | `/codex:mode:auto "build payment system"` |
+| `๐ /codex:mode:bug-index` | Autonomous bug fixing | `/codex:mode:bug-index "fix race condition"` |
+
+### ๐ฏ **Workflow Management**
+
+#### ๐ Session Management
+| Command | Function | Usage |
+|---------|----------|-------|
+| `๐ /workflow:session:start` | Create new session | `/workflow:session:start "OAuth2 System"` |
+| `โธ๏ธ /workflow:session:pause` | Pause current session | `/workflow:session:pause` |
+| `โถ๏ธ /workflow:session:resume` | Resume session | `/workflow:session:resume "OAuth2 System"` |
+| `๐ /workflow:session:list` | List all sessions | `/workflow:session:list --active` |
+| `๐ /workflow:session:switch` | Switch sessions | `/workflow:session:switch "Payment Fix"` |
+
+#### ๐ฏ Workflow Operations
+| Command | Function | Usage |
+|---------|----------|-------|
+| `๐ญ /workflow:brainstorm` | Multi-agent planning | `/workflow:brainstorm "microservices architecture"` |
+| `๐ /workflow:plan` | Convert to executable plans | `/workflow:plan --from-brainstorming` |
+| `๐ /workflow:plan-deep` | Deep architectural planning | `/workflow:plan-deep "API redesign" --complexity=high` |
+| `โก /workflow:execute` | Implementation phase | `/workflow:execute --type=complex` |
+| `โ /workflow:review` | Quality assurance | `/workflow:review --auto-fix` |
+
+#### ๐ท๏ธ Task Management
+| Command | Function | Usage |
+|---------|----------|-------|
+| `โ /task:create` | Create implementation task | `/task:create "User Authentication"` |
+| `๐ /task:breakdown` | Decompose into subtasks | `/task:breakdown IMPL-1 --depth=2` |
+| `โก /task:execute` | Execute specific task | `/task:execute IMPL-1.1 --mode=auto` |
+| `๐ /task:replan` | Adapt to changes | `/task:replan IMPL-1 --strategy=adjust` |
+
+---
+
+## ๐ฏ Complete Development Workflows
+
+### ๐ **Complex Feature Development**
-### ๐ **Complex Feature Development Flow**
```mermaid
graph TD
- START[New Feature Request] --> SESSION["/workflow:session:start 'OAuth2 System'"]
+ START[๐ฏ New Feature Request] --> SESSION["/workflow:session:start 'OAuth2 System'"]
SESSION --> BRAINSTORM["/workflow:brainstorm --perspectives=system-architect,security-expert"]
- BRAINSTORM --> SYNTHESIS["/workflow:brainstorm:synthesis"]
- SYNTHESIS --> PLAN["/workflow:plan --from-brainstorming"]
+ BRAINSTORM --> PLAN["/workflow:plan --from-brainstorming"]
PLAN --> EXECUTE["/workflow:execute --type=complex"]
- EXECUTE --> TASKS["/task:breakdown impl-1 --depth=2"]
- TASKS --> IMPL["/task:execute impl-1.1"]
- IMPL --> REVIEW["/workflow:review --auto-fix"]
+ EXECUTE --> REVIEW["/workflow:review --auto-fix"]
REVIEW --> DOCS["/update-memory-related"]
+ DOCS --> COMPLETE[โ Complete]
```
-### ๐ฏ **Planning Method Selection Guide**
-| Project Type | Recommended Flow | Commands |
-|--------------|------------------|----------|
-| **Bug Fix** | Direct Planning | `/workflow:plan` โ `/task:execute` |
-| **Small Feature** | Gemini Analysis | `/gemini:mode:plan` โ `/workflow:execute` |
-| **Medium Feature** | Document + Gemini | Review docs โ `/gemini:analyze` โ `/workflow:plan` |
-| **Large System** | Full Brainstorming | `/workflow:brainstorm` โ synthesis โ `/workflow:plan-deep` |
+### ๐ฅ **Quick Development Examples**
-> ๐ **Comprehensive Workflow Diagrams**: For detailed system architecture, agent coordination, session management, and complete workflow variations, see [WORKFLOW_DIAGRAMS.md](WORKFLOW_DIAGRAMS.md).
+#### **๐ Full Stack Feature Implementation**
+```bash
+# 1. Initialize focused session
+/workflow:session:start "User Dashboard Feature"
-## Core Components
+# 2. Multi-perspective analysis
+/workflow:brainstorm "dashboard analytics system" \
+ --perspectives=system-architect,ui-designer,data-architect
-### Multi-Agent System
-- **Conceptual Planning Agent**: Strategic planning and architectural design
-- **Action Planning Agent**: Converts high-level concepts into executable implementation plans
-- **Code Developer**: Autonomous code implementation and refactoring
-- **Code Review Agent**: Quality assurance and compliance validation
-- **Memory Gemini Bridge**: Intelligent documentation management and updates
+# 3. Generate executable plan with task decomposition
+/workflow:plan --from-brainstorming
-### Dual CLI Integration
-- **Gemini CLI**: Deep codebase analysis, pattern recognition, and investigation workflows
-- **Codex CLI**: Autonomous development, code generation, and implementation automation
-- **Task-Specific Targeting**: Precise path management for focused analysis (replaces `--all-files`)
-- **Template System**: Unified template library for consistent workflow execution
-- **Cross-Platform Support**: Windows and Linux compatibility with unified path handling
+# 4. Autonomous implementation
+/codex:mode:auto "Implement user dashboard with analytics, charts, and real-time data"
-### Workflow Session Management
-- **Session Lifecycle**: Create, pause, resume, switch, and manage development sessions
-- **Context Preservation**: Maintains complete workflow state across session transitions
-- **Hierarchical Organization**: Structured workflow filesystem with automatic initialization
+# 5. Quality assurance and deployment
+/workflow:review --auto-fix
+/update-memory-related
+```
-### Intelligent Documentation System
-- **Living Documentation**: Four-tier hierarchical CLAUDE.md system that updates automatically
-- **Git Integration**: Context-aware updates based on repository changes
-- **Dual Update Modes**:
- - `related`: Updates only modules affected by recent changes
- - `full`: Complete project-wide documentation refresh
+#### **โก Rapid Bug Resolution**
+```bash
+# Quick bug fix workflow
+/workflow:session:start "Payment Processing Fix"
+/gemini:mode:bug-index "Payment validation fails on concurrent requests"
+/codex:mode:auto "Fix race condition in payment validation with proper locking"
+/workflow:review --auto-fix
+```
-## Installation
+#### **๐ Architecture Analysis & Refactoring**
+```bash
+# Deep architecture work
+/workflow:session:start "API Refactoring Initiative"
+/gemini:analyze "current API architecture patterns and technical debt"
+/workflow:plan-deep "microservices transition" --complexity=high --depth=3
+/codex:mode:auto "Refactor monolith to microservices following the analysis"
+```
-### Quick Installation
+---
+
+## ๐๏ธ Project Structure
+
+```
+๐ .claude/
+โโโ ๐ค agents/ # AI agent definitions
+โโโ ๐ฏ commands/ # CLI command implementations
+โ โโโ ๐ gemini/ # Gemini CLI commands
+โ โโโ ๐ค codex/ # Codex CLI commands
+โ โโโ ๐ฏ workflow/ # Workflow management
+โโโ ๐จ output-styles/ # Output formatting templates
+โโโ ๐ญ planning-templates/ # Role-specific planning
+โโโ ๐ฌ prompt-templates/ # AI interaction templates
+โโโ ๐ง scripts/ # Automation utilities
+โ โโโ ๐ gemini-wrapper # Intelligent Gemini wrapper
+โ โโโ ๐ read-task-paths.sh # Task path conversion
+โ โโโ ๐๏ธ get_modules_by_depth.sh # Project analysis
+โโโ ๐ ๏ธ workflows/ # Core workflow documentation
+โ โโโ ๐๏ธ workflow-architecture.md # System architecture
+โ โโโ ๐ intelligent-tools-strategy.md # Tool selection guide
+โ โโโ ๐ง tools-implementation-guide.md # Implementation details
+โโโ โ๏ธ settings.local.json # Local configuration
+
+๐ .workflow/ # Session workspace (auto-generated)
+โโโ ๐ท๏ธ .active-[session] # Active session markers
+โโโ ๐ WFS-[topic-slug]/ # Individual sessions
+ โโโ โ๏ธ workflow-session.json # Session metadata
+ โโโ ๐ .task/impl-*.json # Task definitions
+ โโโ ๐ IMPL_PLAN.md # Planning documents
+ โโโ โ TODO_LIST.md # Progress tracking
+ โโโ ๐ .summaries/ # Completion summaries
+```
+
+---
+
+## โก Performance & Technical Specs
+
+### ๐ **Performance Metrics**
+| Metric | Performance | Details |
+|--------|-------------|---------|
+| ๐ **Session Switching** | <10ms | Atomic marker file operations |
+| ๐ **JSON Queries** | <1ms | Direct JSON access, no parsing overhead |
+| ๐ **Doc Updates** | <30s | Medium projects, intelligent targeting |
+| ๐ **Context Loading** | <5s | Complex codebases with caching |
+| โก **Task Execution** | 10min timeout | Complex operations with error handling |
+
+### ๐ ๏ธ **System Requirements**
+- **๐ฅ๏ธ OS**: Windows 10+, Ubuntu 18.04+, macOS 10.15+
+- **๐ฆ Dependencies**: Git, Node.js (Gemini), Python 3.8+ (Codex)
+- **๐พ Storage**: ~50MB core + variable project data
+- **๐ง Memory**: 512MB minimum, 2GB recommended
+
+### ๐ **Integration Requirements**
+- **๐ Gemini CLI**: Required for analysis workflows
+- **๐ค Codex CLI**: Required for autonomous development
+- **๐ Git Repository**: Required for change tracking
+- **๐ฏ Claude Code IDE**: Recommended for optimal experience
+
+---
+
+## โ๏ธ Installation & Configuration
+
+### ๐ **Quick Installation**
```powershell
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
```
-### Verify Installation
+### โ **Verify Installation**
```bash
/workflow:session list
```
-### Required Configuration
-For Gemini CLI integration, configure your settings:
+### โ๏ธ **Essential Configuration**
+
+#### **Gemini CLI Setup**
```json
+// ~/.gemini/settings.json
{
"contextFileName": "CLAUDE.md"
}
```
-## Complete Command Reference
-
-### Core System Commands
-
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/enhance-prompt` | `/enhance-prompt ` | Enhance user inputs with technical context and structure |
-| `/context` | `/context [task-id\|--filter] [--analyze] [--format=tree\|list\|json]` | Unified context management with automatic data consistency |
-| `/update-memory-full` | `/update-memory-full` | Complete project-wide CLAUDE.md documentation update |
-| `/update-memory-related` | `/update-memory-related` | Context-aware documentation updates for changed modules |
-
-### Gemini CLI Commands (Analysis & Investigation)
-
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/gemini:analyze` | `/gemini:analyze [--all-files] [--save-session]` | Deep codebase analysis and pattern investigation |
-| `/gemini:chat` | `/gemini:chat [--all-files] [--save-session]` | Direct Gemini CLI interaction without templates |
-| `/gemini:execute` | `/gemini:execute [--yolo] [--debug]` | Intelligent execution with automatic context inference |
-| `/gemini:mode:auto` | `/gemini:mode:auto ""` | Automatic template selection based on input analysis |
-| `/gemini:mode:bug-index` | `/gemini:mode:bug-index ` | Specialized bug analysis and diagnostic workflows |
-| `/gemini:mode:plan` | `/gemini:mode:plan ` | Architecture and planning template execution |
-
-### Codex CLI Commands (Development & Implementation)
-
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/codex:analyze` | `/codex:analyze [patterns]` | Development-focused codebase analysis |
-| `/codex:chat` | `/codex:chat [patterns]` | Direct Codex CLI interaction |
-| `/codex:execute` | `/codex:execute [patterns]` | Controlled autonomous development |
-| `/codex:mode:auto` | `/codex:mode:auto ""` | **Primary Mode**: Full autonomous development |
-| `/codex:mode:bug-index` | `/codex:mode:bug-index ` | Autonomous bug fixing and resolution |
-| `/codex:mode:plan` | `/codex:mode:plan ` | Development planning and architecture |
-
-### Workflow Management Commands
-
-#### Session Management
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/workflow:session:start` | `/workflow:session:start ""` | Create and activate new workflow session |
-| `/workflow:session:pause` | `/workflow:session:pause` | Pause current active session |
-| `/workflow:session:resume` | `/workflow:session:resume ""` | Resume paused workflow session |
-| `/workflow:session:list` | `/workflow:session:list [--active\|--all]` | List workflow sessions with status |
-| `/workflow:session:switch` | `/workflow:session:switch ""` | Switch to different workflow session |
-| `/workflow:session:status` | `/workflow:session:status` | Display current session information |
-
-#### Workflow Operations
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/workflow:brainstorm` | `/workflow:brainstorm [--perspectives=role1,role2,...]` | Multi-agent conceptual planning |
-| `/workflow:plan` | `/workflow:plan [--from-brainstorming] [--skip-brainstorming]` | Convert concepts to executable plans |
-| `/workflow:plan-deep` | `/workflow:plan-deep [--complexity=high] [--depth=3]` | Deep architectural planning with comprehensive analysis |
-| `/workflow:execute` | `/workflow:execute [--type=simple\|medium\|complex] [--auto-create-tasks]` | Enter implementation phase |
-| `/workflow:review` | `/workflow:review [--auto-fix]` | Quality assurance and validation |
-
-#### Issue Management
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/workflow:issue:create` | `/workflow:issue:create "" [--priority=level] [--type=type]` | Create new project issue |
-| `/workflow:issue:list` | `/workflow:issue:list [--status=status] [--assigned=agent]` | List project issues with filtering |
-| `/workflow:issue:update` | `/workflow:issue:update [--status=status] [--assign=agent]` | Update existing issue |
-| `/workflow:issue:close` | `/workflow:issue:close [--reason=reason]` | Close resolved issue |
-
-### Task Management Commands
-
-| Command | Syntax | Description |
-|---------|--------|-------------|
-| `/task:create` | `/task:create "" [--type=type] [--priority=level] [--parent=parent-id]` | Create implementation tasks with hierarchy |
-| `/task:breakdown` | `/task:breakdown [--strategy=auto\|interactive] [--depth=1-3]` | Decompose tasks into manageable subtasks |
-| `/task:execute` | `/task:execute [--mode=auto\|guided] [--agent=type]` | Execute tasks with agent selection |
-| `/task:replan` | `/task:replan [task-id\|--all] [--reason] [--strategy=adjust\|rebuild]` | Adapt tasks to changing requirements |
-
-### Brainstorming Role Commands
-
-| Command | Description |
-|---------|-------------|
-| `/workflow:brainstorm:business-analyst` | Business requirements and market analysis |
-| `/workflow:brainstorm:data-architect` | Data modeling and architecture planning |
-| `/workflow:brainstorm:feature-planner` | Feature specification and user stories |
-| `/workflow:brainstorm:innovation-lead` | Technology innovation and emerging solutions |
-| `/workflow:brainstorm:product-manager` | Product strategy and roadmap planning |
-| `/workflow:brainstorm:security-expert` | Security analysis and threat modeling |
-| `/workflow:brainstorm:system-architect` | System design and technical architecture |
-| `/workflow:brainstorm:ui-designer` | User interface and experience design |
-| `/workflow:brainstorm:user-researcher` | User needs analysis and research insights |
-| `/workflow:brainstorm:synthesis` | Integrate and synthesize multiple perspectives |
-
-## Usage Workflows
-
-### Complex Feature Development
+#### **Optimized .geminiignore**
```bash
-# 1. Initialize workflow session
-/workflow:session:start "OAuth2 Authentication System"
-
-# 2. Multi-perspective analysis
-/workflow:brainstorm "OAuth2 implementation strategy" \
- --perspectives=system-architect,security-expert,data-architect
-
-# 3. Generate implementation plan
-/workflow:plan --from-brainstorming
-
-# 4. Create task hierarchy
-/task:create "Backend Authentication API"
-/task:breakdown IMPL-1 --strategy=auto --depth=2
-
-# 5. Execute development tasks
-/codex:mode:auto "Implement JWT token management system"
-/codex:mode:auto "Create OAuth2 provider integration"
-
-# 6. Review and validation
-/workflow:review --auto-fix
-
-# 7. Update documentation
-/update-memory-related
-```
-
-### Bug Analysis and Resolution
-```bash
-# 1. Create focused session
-/workflow:session:start "Payment Processing Bug Fix"
-
-# 2. Analyze issue
-/gemini:mode:bug-index "Payment validation fails on concurrent requests"
-
-# 3. Implement solution
-/codex:mode:auto "Fix race condition in payment validation logic"
-
-# 4. Verify resolution
-/workflow:review --auto-fix
-```
-
-### Project Documentation Management
-```bash
-# Daily development workflow
-/update-memory-related
-
-# After major changes
-git commit -m "Feature implementation complete"
-/update-memory-related
-
-# Project-wide refresh
-/update-memory-full
-
-# Module-specific updates
-cd src/api && /update-memory-related
-```
-
-## Directory Structure
-
-```
-.claude/
-โโโ agents/ # AI agent definitions and behaviors
-โโโ commands/ # CLI command implementations
-โโโ output-styles/ # Output formatting templates
-โโโ planning-templates/ # Role-specific planning approaches
-โโโ prompt-templates/ # AI interaction templates
-โโโ scripts/ # Automation and utility scripts
-โ โโโ read-task-paths.sh # Convert task JSON paths to @ format
-โ โโโ get_modules_by_depth.sh # Project structure analysis
-โโโ tech-stack-templates/ # Technology-specific configurations
-โโโ workflows/ # Core workflow documentation
-โ โโโ system-architecture.md # Architecture specifications
-โ โโโ data-model.md # JSON data model standards
-โ โโโ complexity-rules.md # Complexity management rules
-โ โโโ session-management-principles.md # Session system design
-โ โโโ file-structure-standards.md # Directory organization
-โ โโโ intelligent-tools-strategy.md # Tool selection strategy guide
-โ โโโ tools-implementation-guide.md # Tool implementation details
-โโโ settings.local.json # Local environment configuration
-
-.workflow/ # Session workspace (auto-generated)
-โโโ .active-[session-name] # Active session marker files
-โโโ WFS-[topic-slug]/ # Individual session directories
- โโโ workflow-session.json # Session metadata
- โโโ .task/impl-*.json # JSON task definitions
- โโโ IMPL_PLAN.md # Generated planning documents
- โโโ .summaries/ # Completion summaries
-```
-
-## Technical Specifications
-
-### Performance Metrics
-- **Session switching**: <10ms average
-- **JSON query response**: <1ms average
-- **Documentation updates**: <30s for medium projects
-- **Context loading**: <5s for complex codebases
-
-### System Requirements
-- **Operating System**: Windows 10+, Ubuntu 18.04+, macOS 10.15+
-- **Dependencies**: Git, Node.js (for Gemini CLI), Python 3.8+ (for Codex CLI)
-- **Storage**: ~50MB for core installation, variable for project data
-- **Memory**: 512MB minimum, 2GB recommended for complex workflows
-
-### Integration Requirements
-- **Gemini CLI**: Required for analysis workflows
-- **Codex CLI**: Required for autonomous development
-- **Git Repository**: Required for change tracking and documentation updates
-- **Claude Code IDE**: Recommended for optimal command integration
-
-## Configuration
-
-### Required Configuration
-For optimal CCW integration, configure Gemini CLI settings:
-
-```json
-// ~/.gemini/settings.json or .gemini/settings.json
-{
- "contextFileName": "CLAUDE.md"
-}
-```
-
-This setting ensures that CCW's intelligent documentation system integrates properly with Gemini CLI workflows.
-
-### .geminiignore Configuration
-
-To optimize Gemini CLI performance and reduce context noise, configure a `.geminiignore` file in your project root. This file excludes irrelevant files from analysis, providing cleaner context and faster processing.
-
-#### Creating .geminiignore
-Create `.geminiignore` in your project root:
-
-```bash
-# Exclude build outputs and dependencies
+# Performance optimization
/dist/
/build/
/node_modules/
/.next/
-# Exclude temporary files
+# Temporary files
*.tmp
*.log
/temp/
-# Exclude sensitive files
-/.env
-/config/secrets.*
-apikeys.txt
-
-# Exclude large data files
-*.csv
-*.json
-*.sql
-
-# Include important documentation (negation)
+# Include important docs
!README.md
-!CHANGELOG.md
!**/CLAUDE.md
```
-#### Configuration Benefits
-- **Improved Performance**: Faster analysis by excluding irrelevant files
-- **Better Context**: Cleaner analysis results without build artifacts
-- **Reduced Token Usage**: Lower costs by filtering out unnecessary content
-- **Enhanced Focus**: Better AI understanding through relevant context only
+---
-#### Best Practices
-- Always exclude `node_modules/`, `dist/`, `build/` directories
-- Filter out log files, temporary files, and build artifacts
-- Keep documentation files (use `!` to include specific patterns)
-- Update `.geminiignore` when project structure changes
-- Restart Gemini CLI session after modifying `.geminiignore`
+## ๐ค Contributing
-**Note**: Unlike `.gitignore`, `.geminiignore` only affects Gemini CLI operations and does not impact Git versioning.
+### ๐ ๏ธ **Development Setup**
+1. ๐ด Fork the repository
+2. ๐ฟ Create feature branch: `git checkout -b feature/enhancement-name`
+3. ๐ฆ Install dependencies
+4. โ Test with sample projects
+5. ๐ค Submit detailed pull request
-## Contributing
-
-### Development Setup
-1. Fork the repository
-2. Create feature branch: `git checkout -b feature/enhancement-name`
-3. Install dependencies: `npm install` or equivalent for your environment
-4. Make changes following existing patterns
-5. Test with sample projects
-6. Submit pull request with detailed description
-
-### Code Standards
-- Follow existing command structure patterns
-- Maintain backward compatibility for public APIs
-- Add tests for new functionality
-- Update documentation for user-facing changes
-- Use semantic versioning for releases
-
-## Support and Resources
-
-- **Documentation**: [Project Wiki](https://github.com/catlog22/Claude-Code-Workflow/wiki)
-- **Issues**: [GitHub Issues](https://github.com/catlog22/Claude-Code-Workflow/issues)
-- **Discussions**: [Community Forum](https://github.com/catlog22/Claude-Code-Workflow/discussions)
-- **Changelog**: [Release History](CHANGELOG.md)
-
-## License
-
-This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
+### ๐ **Code Standards**
+- โ Follow existing command patterns
+- ๐ Maintain backward compatibility
+- ๐งช Add tests for new functionality
+- ๐ Update documentation
+- ๐ท๏ธ Use semantic versioning
---
-**Claude Code Workflow (CCW)** - Professional software development workflow automation through intelligent agent coordination and autonomous execution capabilities.
\ No newline at end of file
+## ๐ Support & Resources
+
+
+
+| Resource | Link | Description |
+|----------|------|-------------|
+| ๐ **Documentation** | [Project Wiki](https://github.com/catlog22/Claude-Code-Workflow/wiki) | Comprehensive guides |
+| ๐ **Issues** | [GitHub Issues](https://github.com/catlog22/Claude-Code-Workflow/issues) | Bug reports & features |
+| ๐ฌ **Discussions** | [Community Forum](https://github.com/catlog22/Claude-Code-Workflow/discussions) | Community support |
+| ๐ **Changelog** | [Release History](CHANGELOG.md) | Version history |
+
+
+
+---
+
+## ๐ License
+
+This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
+
+---
+
+
+
+**๐ Claude Code Workflow (CCW)**
+
+*Professional software development workflow automation through intelligent multi-agent coordination and autonomous execution capabilities.*
+
+[](https://github.com/catlog22/Claude-Code-Workflow)
+
+