Skip to content

Latest commit

 

History

History
129 lines (106 loc) · 5.3 KB

File metadata and controls

129 lines (106 loc) · 5.3 KB

Analysis of catlog22/Claude-Code-Workflow

1. Overview

  • Repository: catlog22/Claude-Code-Workflow
  • Type: JSON-Driven Multi-Agent Framework (npm package)
  • Language: TypeScript
  • Version: v6.3.19
  • Status: ⭐ Mature, actively maintained
  • Main Purpose: A JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution.

2. Orchestration Pattern

  • Context-First Architecture: Pre-defined context gathering before execution
  • JSON-First State Management: Task state in .task/IMPL-*.json files
  • Multi-Model Strategy: Different AI models for different tasks (Gemini for analysis, Codex for implementation)
  • Layered Memory System: 4-tier documentation for appropriate context levels
  • Specialized Role-Based Agents: @code-developer, @test-fix-agent, etc.

3. Key Components

CLI Tools

Tool Default Model Use Case
gemini gemini-2.5-pro Analysis, planning
qwen qwen3-235b Alternative analysis
codex gpt-5.2 Long-running autonomous coding
opencode - OpenCode AI integration

Dashboard (ccw view)

  • Session Overview with status/progress
  • Task Management tracking
  • CodexLens Manager: FTS + Semantic + Hybrid search
  • Core Memory: Session clustering
  • MCP Manager: Configure MCP servers
  • Graph Explorer: Code relationship visualization

Workflow Commands

Command Purpose
/workflow:plan Create structured plan
/workflow:execute Execute plan with agents
/workflow:lite-plan Quick interactive planning
/workflow:lite-fix Bug fix workflow
/issue:queue Multi-queue Codex execution
/memory:load Load project context

Brainstorming Roles

  • API Designer, Data Architect, Product Manager
  • Product Owner, Scrum Master, System Architect
  • UI Designer, UX Expert, Subject Matter Expert

4. Four Key Questions

Question Answer
Limit Handling Multi-model fallback. Supports Gemini, Qwen, Codex, OpenCode. Can switch between models. Smart context loading to manage token limits.
Autonomy Autonomous multi-stage orchestration. Commands chain-invoke specialized agents. "Zero user intervention" execution. Issue multi-queue for Codex long-running work.
Task Exhaustion ⚠️ Session-based. Tasks stored in JSON. Resume/status commands for session management. User triggers new workflows.
Isolation ⚠️ JSON state isolation. Each session has .task/IMPL-*.json state file. No Docker/worktrees - runs in current directory.

5. Key Workflows

Lite-Plan (Quick Tasks)

/workflow:lite-plan "Add unit tests for auth"
  1. Task analysis + smart code exploration
  2. Answer clarification questions
  3. Review generated plan
  4. Choose execution: Agent / CLI (Gemini/Qwen/Codex)
  5. Watch live execution

Lite-Fix (Bug Fixes)

/workflow:lite-fix "User avatar upload fails with 413"
  1. Root cause diagnosis
  2. Impact assessment + risk scoring
  3. Fix strategy generation
  4. Risk-aware verification
  5. Execution dispatch

Full Workflow (Complex Projects)

/workflow:plan "Implement JWT login" → /workflow:execute

Issue Workflow (Long-Running)

/issue:plan → /issue:queue → /issue:execute

Recommended with Codex for autonomous long-running work.

6. Unique Features

  • Multi-CLI Orchestration: Gemini, Qwen, Codex, OpenCode integration
  • CodexLens: Native code indexing with FTS + Semantic + Hybrid search
  • Cross-Encoder Reranking: Dense + Reranker for improved search relevance
  • Role-Based Brainstorming: 9 specialized roles for parallel analysis
  • Dashboard UI: Session management, graph explorer, MCP manager
  • 4-Tier Memory System: Layered documentation prevents information overload
  • TDD Workflow: Red-Green-Refactor task chains
  • UI Design Workflow: Style extraction, layout capture, animation patterns

7. Comparison Notes

vs. Comparison
get-shit-done Both spec-driven. CCW has multi-model support; GSD focuses on subagent context isolation.
claude-task-master CCW is more comprehensive with dashboard, CodexLens, roles. Task Master is MCP-focused.
agents CCW has richer CLI orchestration; agents is simpler plugin-based.

8. Summary

Claude Code Workflow (CCW) is a comprehensive multi-agent development framework that transforms Claude Code into a powerful orchestration system. Key features:

  1. Multi-Model CLI: Gemini, Qwen, Codex, OpenCode orchestration
  2. Context-First: Smart context gathering before execution
  3. JSON State: Programmatic workflow management
  4. Role-Based Agents: 9 specialized brainstorming roles
  5. Dashboard UI: CodexLens, sessions, graph explorer
  6. Layered Memory: 4-tier documentation system

Best for:

  • Complex projects requiring structured planning
  • Teams needing multi-model flexibility
  • Projects with extensive code search/indexing needs
  • Developers who want enterprise-grade workflow management

"Transforms AI development from simple prompt chaining into a powerful orchestration system"