# ๐Ÿš€ Claude Code Workflow (CCW) *The Neural Network for Software Development*
**Languages:** [English](README.md) | [ไธญๆ–‡](README_CN.md)
**Transform your development chaos into orchestrated brilliance** *Where AI agents collaborate, complexity becomes clarity, and your codebase evolves into living documentation*
--- ## ๐ŸŒŸ What Makes CCW Revolutionary? Imagine having a **team of expert AI developers** working alongside you 24/7. CCW isn't just another workflow toolโ€”it's a **living, breathing development ecosystem** that thinks, learns, and adapts to your project's DNA. ### ๐ŸŽญ Meet Your AI Dream Team - **๐Ÿง  Conceptual Planning Agent**: Your visionary architect who sees the big picture - **โšก Action Planning Agent**: The strategic executor who turns dreams into roadmaps - **๐Ÿ’ป Code Developer**: Your tireless coding companion who implements with precision - **๐Ÿ” Code Review Agent**: The perfectionist who ensures quality never slips - **๐Ÿ“š Memory Gemini Bridge**: Your project historian who keeps everything documented ### ๐ŸŽฏ The Magic Happens in Three Layers #### **๐Ÿ—‚๏ธ JSON-Only Data Model: Your Project's Brain** Think of it as your project's **neural memory**โ€”every decision, every task, every plan lives in pure, lightning-fast JSON. No more out-of-sync documentation nightmares! - โšก **Sub-millisecond queries**: Your project responds faster than you can think - ๐Ÿ”„ **Zero synchronization issues**: Single source of truth, always - ๐ŸŽฏ **Pure data architecture**: Clean, fast, reliable #### **๐ŸŽช Marker File Session Management: Instant Context Switching** Like having **multiple development personalities** you can switch between instantly: ```bash ls .workflow/.active-* # See your active sessions at a glance ``` - ๐Ÿƒโ€โ™‚๏ธ **Atomic operations**: Session switching in microseconds - ๐Ÿ”ง **Self-healing**: Automatic conflict resolution - ๐Ÿ“ˆ **Infinite scalability**: Hundreds of concurrent sessions, zero performance hit #### **๐Ÿงฌ Progressive Complexity: Grows With Your Ambitions** CCW **reads your project's mind** and adapts its sophistication: | Your Project | CCW's Response | What You Get | |-------------|----------------|--------------| | **Quick fix** (<5 tasks) | ๐ŸŽฏ Minimal mode | Streamlined, no-nonsense workflow | | **Feature work** (5-15 tasks) | โš™๏ธ Enhanced mode | Smart tracking + automated documentation | | **Major project** (>15 tasks) | ๐Ÿฐ Full suite | Complete orchestration + multi-level planning | --- ## ๐ŸŽจ The Developer Experience Revolution ### ๐ŸŒŠ From Chaos to Flow State **Before CCW:** ``` ๐Ÿ˜ฐ "Where did I leave off?" ๐Ÿ“ "Is my documentation current?" ๐Ÿค” "What was the architecture again?" โฐ "I've been stuck on this for hours..." ``` **After CCW:** ```bash /workflow:session:resume "oauth-implementation" # Instant context recovery /context --format=hierarchy # See everything, beautifully organized /gemini:analyze "authentication flow patterns" # AI-powered insights /codex:exec "@{src/auth/**/*} implement JWT refresh tokens" # Autonomous execution ``` ### ๐ŸŽญ Your Workflow Becomes a Story #### ๐ŸŽช **Act I: The Brainstorming Symphony** ```bash /workflow:brainstorm "Payment gateway integration" \ --perspectives=system-architect,security-expert,data-architect ``` Watch as **multiple AI experts** collaborate in real-time, each bringing their specialized knowledge to create a comprehensive foundation. #### ๐ŸŽฏ **Act II: The Strategic Phase** ```bash /workflow:plan --from-brainstorming ``` Your brainstorming insights transform into **crystal-clear implementation roadmaps** with dependency tracking and risk analysis. #### โšก **Act III: The Execution Ballet** ```bash /task:execute IMPL-1 --mode=auto /gemini:execute IMPL-2.1 # Analysis-focused tasks /codex:exec "@{src/api/**/*} implement payment validation" # Development tasks ``` Watch your code **write itself** while maintaining the highest quality standards. --- ## ๐Ÿ› ๏ธ Dual-CLI Superpowers ### ๐Ÿ” **Gemini: Your Project Detective** *"Tell me everything about this codebase"* ```bash gemini --all-files -p "@{src/**/*} @{CLAUDE.md} Analyze the authentication patterns and security implications" ``` **Gemini sees patterns you've never noticed**, understands architectural decisions, and provides insights that would take hours to discover manually. ### ๐Ÿค– **Codex: Your Autonomous Developer** *"Build this feature while I grab coffee"* ```bash codex --full-auto "@{**/*} Create a complete user dashboard with real-time notifications and responsive design" ``` **Codex doesn't just suggestโ€”it implements**, tests, documents, and even handles edge cases you forgot to mention. --- ## ๐Ÿ—๏ธ Architecture That Scales With Your Dreams ### ๐ŸŒณ Living Documentation System Forget static README files. CCW creates a **living, breathing documentation ecosystem**: ``` ๐Ÿ“ Your Project/ โ”œโ”€โ”€ CLAUDE.md # ๐ŸŒ Project Universe View โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ CLAUDE.md # ๐Ÿข Domain Architecture โ”‚ โ”œโ”€โ”€ components/ โ”‚ โ”‚ โ”œโ”€โ”€ CLAUDE.md # ๐Ÿงฉ Component Patterns โ”‚ โ”‚ โ””โ”€โ”€ auth/ โ”‚ โ”‚ โ””โ”€โ”€ CLAUDE.md # ๐Ÿ” Implementation Details ``` **Each layer knows exactly what it should contain**โ€”no more, no less. Your documentation **updates itself** as your code evolves. ### ๐Ÿง  Intelligence That Never Sleeps #### ๐ŸŽฏ **Context-Aware Updates** ```bash /update-memory-related # "What changed? Let me update the docs intelligently" ``` CCW uses **git-aware change detection** to update only what matters, keeping your documentation **fresh and relevant**. #### ๐ŸŒŠ **Full Project Synchronization** ```bash /update-memory-full # "Let me refresh everything from scratch" ``` Perfect for onboarding new team members or after major architectural changes. --- ## โšก Quick Start: From Zero to Hero ### ๐Ÿš€ One-Line Installation ```powershell Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content ``` ### ๐ŸŽฏ Essential Setup Configure Gemini CLI integration: ```json { "contextFileName": "CLAUDE.md" // The magic connection } ``` ### ๐ŸŽช Your First Workflow ```bash # 1. ๐ŸŽญ Start with vision /workflow:session:start "Build an AI-powered todo app" # 2. ๐Ÿง  Gather perspectives /workflow:brainstorm "Todo app architecture" \ --perspectives=ui-designer,system-architect,data-architect # 3. ๐Ÿ“‹ Create the master plan /workflow:plan --from-brainstorming # 4. โšก Execute with precision /workflow:execute --type=complex --auto-create-tasks # 5. ๐ŸŽฏ Watch the magic happen /context --format=hierarchy ``` --- ## ๐ŸŽญ Command Arsenal ### ๐Ÿง  **Intelligence Commands** | Command | Superpower | Example | |---------|------------|---------| | `/gemini:mode:auto` | ๐ŸŽฏ **Smart Template Selection** | Auto-detects bug reports, feature requests, architecture questions | | `/codex:mode:auto` | ๐Ÿค– **Autonomous Development** | Full-stack feature implementation while you focus on strategy | | `/enhance-prompt` | ๐Ÿ’ก **Context Amplification** | Transforms vague requests into precise technical specifications | ### ๐ŸŽช **Workflow Orchestration** | Command | Magic | Result | |---------|-------|---------| | `/workflow:brainstorm` | ๐ŸŽญ **Multi-Expert Collaboration** | 5 AI specialists collaborate on your challenge | | `/workflow:plan-deep` | ๐Ÿ—๏ธ **Architectural Mastery** | 3-level deep planning with dependency mapping | | `/workflow:execute` | โšก **Intelligent Automation** | Complexity-aware task orchestration | ### ๐Ÿ”ง **Task Mastery** | Command | Power | Impact | |---------|-------|---------| | `/task:breakdown` | ๐Ÿงฉ **Smart Decomposition** | Complex tasks โ†’ manageable chunks | | `/task:replan` | ๐Ÿ”„ **Adaptive Intelligence** | Requirements changed? No problem. | | `/context` | ๐ŸŽฏ **Omniscient Awareness** | See everything, understand everything | --- ## ๐ŸŒŸ Real-World Scenarios ### ๐Ÿš€ **Scenario: Building a SaaS Platform** ```bash # Day 1: Vision /workflow:session:start "Multi-tenant SaaS platform with real-time collaboration" /workflow:brainstorm "SaaS architecture design" --perspectives=business-analyst,system-architect,security-expert # Day 2: Foundation /workflow:plan-deep --complexity=high --depth=3 /task:create "Authentication & Authorization System" /task:create "Multi-tenant Database Architecture" /task:create "Real-time Communication Layer" # Week 1-4: Implementation /codex:mode:auto "Implement JWT-based authentication with role management" /codex:mode:auto "Create tenant isolation middleware" /codex:mode:auto "Build WebSocket-based collaboration features" # Ongoing: Maintenance /update-memory-related # After each feature /workflow:issue:create "Add OAuth2 integration" /workflow:review --auto-fix ``` ### ๐Ÿ› **Scenario: Emergency Bug Fix** ```bash # The Crisis /workflow:session:start "Critical payment processing bug in production" # The Investigation /gemini:analyze "Payment flow failures in @{src/payments/**/*} - analyze error patterns" # The Solution /codex:exec "@{src/payments/**/*} Fix payment validation race condition" # The Recovery /workflow:review --auto-fix /update-memory-related ``` ### ๐Ÿ”’ **Scenario: Security Audit** ```bash # The Audit /workflow:brainstorm "Security vulnerability assessment" --perspectives=security-expert,penetration-tester # The Analysis /gemini:mode:auto "Comprehensive security analysis of authentication system" # The Remediation /codex:mode:auto "Implement security fixes for identified vulnerabilities" # The Documentation /update-memory-full # Complete security documentation update ``` --- ## ๐ŸŽฏ Why Developers Are Obsessed ### ๐Ÿง  **Cognitive Superpowers** - **๐Ÿ”ฎ Perfect Memory**: Never lose context again - **โšก Instant Expertise**: AI specialists at your fingertips - **๐ŸŽฏ Laser Focus**: Complex projects become manageable steps - **๐Ÿ“š Living Knowledge**: Documentation that grows with your code ### ๐Ÿ’ช **Productivity Amplification** - **10x Faster Planning**: Multi-agent brainstorming in minutes - **5x Better Code Quality**: Built-in review and testing integration - **Zero Documentation Debt**: Self-updating project knowledge - **Infinite Scalability**: Handle projects of any complexity ### ๐ŸŽจ **Developer Joy** - **Flow State Preservation**: Never lose your train of thought - **Complexity Mastery**: Big problems become small wins - **Autonomous Assistance**: AI that actually helps, doesn't hinder - **Professional Growth**: Learn from AI experts in real-time --- ## ๐Ÿš€ The Future is Now CCW represents the **evolution of software development**โ€”from manual, error-prone processes to **intelligent, adaptive workflows** that scale with your ambitions. ### ๐ŸŒŸ **What's Next?** - ๐Ÿค **Enhanced Multi-AI Collaboration**: Even more specialized agents - ๐ŸŒ **Real-time Team Synchronization**: Distributed teams, unified flow - ๐Ÿ“Š **Predictive Project Analytics**: AI that predicts and prevents issues - ๐Ÿ”ง **Custom Agent Training**: Teach CCW your unique patterns --- ## ๐Ÿค Join the Revolution ```bash # Fork the future git clone https://github.com/catlog22/Claude-Code-Workflow.git cd Claude-Code-Workflow # Make it yours git checkout -b feature/my-amazing-contribution # Share the magic git push origin feature/my-amazing-contribution ``` ---
**๐ŸŽญ Claude Code Workflow (CCW)** *Where software development becomes an art form* **Transform โ€ข Orchestrate โ€ข Elevate** --- *Licensed under MIT โ€ข Built with โค๏ธ by the community โ€ข Powered by AI* [โญ Star us on GitHub](https://github.com/catlog22/Claude-Code-Workflow) โ€ข [๐Ÿ“– Full Documentation](https://github.com/catlog22/Claude-Code-Workflow/wiki) โ€ข [๐Ÿ’ฌ Join Our Community](https://github.com/catlog22/Claude-Code-Workflow/discussions)