Co-Pilot / 辅助式
更新于 a month ago

claude-code-workflow

Ccatlog22
1.2k
catlog22/claude-code-workflow
80
Agent 评分

💡 摘要

Claude Code Workflow 是一个多代理 AI 开发框架,协调各种 CLI 工具以实现高效的编码工作流程。

🎯 适合人群

寻求简化工作流程的软件开发人员协调多代理任务的项目经理管理 CI/CD 管道的 DevOps 工程师探索多代理系统的 AI 研究人员监督项目架构的技术负责人

🤖 AI 吐槽:这就像是编码的瑞士军刀——只要别指望它能修理你的咖啡机。

安全分析中风险

自述文件暗示了潜在的风险,例如 CLI 工具的网络访问和依赖供应链漏洞。为了减轻风险,确保所有依赖项来自可信来源并定期更新。

English | 中文


✨ Key Features

🎯 4-Level Workflows

From lite-lite-lite (instant) to brainstorm (multi-role analysis)

🔄 Multi-CLI Orchestration

Gemini, Qwen, Codex, Claude - auto-select or manual

⚡ Dependency-Aware Parallelism

Agent parallel execution without worktree complexity

🔧 Issue Workflow

Post-development maintenance with optional worktree isolation

📦 JSON-First State

.task/IMPL-*.json as single source of truth

🖥️ Dashboard

Visual session management, CodexLens search, graph explorer

📖 New? See Workflow Guide for the complete 4-level workflow system.


🚀 Quick Start

Install CCW

npm install -g claude-code-workflow ccw install -m Global

Choose Your Workflow Level

Workflow Examples

# Level 1: Instant execution /workflow:lite-lite-lite "Fix typo in README" # Level 2: Lightweight planning /workflow:lite-plan "Add JWT authentication" /workflow:lite-fix "User upload fails with 413 error" # Level 3: Standard planning with session /workflow:plan "Implement payment gateway integration" /workflow:execute # Level 4: Multi-role brainstorming /workflow:brainstorm:auto-parallel "Design real-time collaboration system" --count 5 /workflow:plan --session WFS-xxx /workflow:execute

🛠️ CLI Tool Installation


🎭 Semantic CLI Invocation

Users can semantically specify CLI tools in prompts - the system automatically invokes the corresponding CLI.

Basic Invocation

| User Prompt | System Action | |-------------|---------------| | "Use Gemini to analyze the auth module" | Auto-invoke gemini CLI for analysis | | "Let Codex review this code" | Auto-invoke codex CLI for review | | "Ask Qwen about performance optimization" | Auto-invoke qwen CLI for consultation |

Multi-CLI Orchestration

| Pattern | User Prompt Example | |---------|---------------------| | Collaborative | "Use Gemini and Codex to collaboratively analyze security vulnerabilities" | | Parallel | "Have Gemini, Codex, and Qwen analyze the architecture in parallel" | | Iterative | "Use Gemini to diagnose, then Codex to fix, iterate until resolved" | | Pipeline | "Gemini designs the solution, Codex implements, Claude reviews" |

# Single CLI invocation User: "Use Gemini to analyze the database query performance" → System auto-calls: gemini CLI with analysis task # Collaborative analysis User: "Use Gemini and Codex to collaboratively review the authentication flow" → System auto-calls: gemini + codex CLIs, synthesizes results # Parallel multi-perspective User: "Have all available CLIs analyze this architecture design in parallel" → System auto-calls: gemini, codex, qwen in parallel → merged report # Sequential pipeline User: "Use Gemini to plan the refactoring, then Codex to implement it" → System auto-calls: gemini (plan) → codex (implement) sequentially

Custom CLI Registration

Register any API as a custom CLI via Dashboard interface:

ccw view # Open Dashboard → Status → API Settings → Add Custom CLI

| Field | Example | |-------|---------| | Name | deepseek | | Endpoint | https://api.deepseek.com/v1/chat | | API Key | your-api-key |

⚙️ Register once, invoke semantically forever - no code changes needed.


🔍 ACE Tool Configuration

ACE (Augment Context Engine) provides powerful semantic code search.

| Method | Link | |--------|------| | Official | Augment MCP Documentation | | Proxy | ace-tool (GitHub) |


📚 CodexLens Local Search

⚠️ In Development: CodexLens is under iterative optimization. Some features may be unstable.

# Enter codex-lens directory cd codex-lens # Install dependencies pip install -e . # Initialize index codexlens index /path/to/project

Open Dashboard via ccw view, manage indexes and execute searches in CodexLens Manager.


💻 CCW CLI Commands

🌟 Recommended Commands (Main Features)

Quick Examples:

# /ccw - Auto workflow selection (Main Process) /ccw "Add user authentication" # Auto-selects workflow based on intent /ccw "Fix memory leak in WebSocket" # Detects bugfix workflow /ccw "Implement with TDD" # Routes to TDD workflow # /ccw-coordinator - Manual chain orchestration (External CLI) /ccw-coordinator "Implement OAuth2 system" # Analyzes → Recommends chain → User confirms → Executes

Key Differences:

| Aspect | /ccw | /ccw-coordinator | |--------|------|------------------| | Execution | Main proc

五维分析
清晰度8/10
创新性8/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 支持多种 CLI 工具以应对不同任务
  • 轻松促进复杂工作流程
  • 基于 JSON 的状态管理增强了清晰度

缺点

  • 新用户的学习曲线陡峭
  • 对外部 CLI 工具的依赖可能会使设置复杂化
  • 某些功能仍在开发中

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 catlog22.