Skip to content

工作流对比表

CCW 工作流完整参考 - 按调用方式、流水线、用例、复杂度和自动链式行为对比所有工作流。

快速参考

工作流最佳用途级别自包含
workflow-lite-plan快速任务、Bug 修复2 (轻量级)
workflow-plan → workflow-execute复杂功能3-4 (标准)否 (需要 execute)
workflow-tdd-plan → workflow-executeTDD 开发3 (标准)否 (需要 execute)
workflow-test-fix测试生成/修复3 (标准)
workflow-multi-cli-plan多视角规划3 (标准)
brainstorm-with-file创意构思、探索4 (完整)否 (链式到 plan)
analyze-with-file深度分析3 (标准)否 (链式到 lite-plan)
debug-with-file假设驱动调试3 (标准)
collaborative-plan-with-file多代理规划3 (标准)否 (链式到 execute)
roadmap-with-file战略路线图4 (战略)否 (链式到 team-planex)
integration-test-cycle集成测试3 (标准)
refactor-cycle技术债务重构3 (标准)
review-cycle代码审查3 (标准)
spec-generator规格文档包4 (完整)否 (链式到 plan)
team-planexIssue 批量执行Team
team-lifecycle完整生命周期Team
issue pipelineIssue 管理2.5 (桥接)

完整对比表

工作流调用方式流水线用例级别自包含自动链式到
Plan+Execute 工作流
workflow-lite-plan/ccw "任务" (低/中复杂度自动选择)explore → plan → confirm → execute快速功能、Bug 修复、简单任务2 (轻量级)workflow-test-fix
workflow-plan/ccw "复杂功能" (高复杂度)session → context → convention → gen → verify/replan复杂功能规划、正式验证3-4 (标准)workflow-execute
workflow-execute/workflow-execute (plan 之后)session discovery → task processing → commit执行预生成的计划3 (标准)review-cycle (可选)
workflow-multi-cli-plan/ccw "multi-cli plan: ..."ACE context → CLI discussion → plan → execute多视角规划3 (标准)(内部交接)
TDD 工作流
workflow-tdd-plan/ccw "Implement with TDD"6阶段 TDD plan → verify测试驱动开发规划3 (标准)workflow-execute
workflow-test-fix/ccw "generate tests" 或自动链式session → context → analysis → gen → cycle测试生成、覆盖率提升3 (标准)(独立)
头脑风暴工作流
brainstorm/brainstorm "主题"mode detect → framework → parallel analysis → synthesis多视角创意构思4 (完整)是 (仅构思)workflow-plan
brainstorm-with-file/ccw "brainstorm: ..."brainstorm + documented artifacts带会话文档的创意构思4 (完整)workflow-plan → execute
collaborative-plan-with-file/ccw "collaborative plan: ..."understanding → parallel agents → plan-note.md多代理协作规划3 (标准)unified-execute-with-file
分析工作流
analyze-with-file/ccw "analyze: ..."multi-CLI analysis → discussion.md深度理解、架构探索3 (标准)workflow-lite-plan
debug-with-file/ccw "debug: ..."hypothesis-driven iteration → debug.log系统化调试3 (标准)(独立)
审查工作流
review-cycle/ccw "review code"discovery → analysis → aggregation → deep-dive → completion代码审查、质量门禁3 (标准)fix mode (如有发现)
规格工作流
spec-generator/ccw "specification: ..."study → discovery → brief → PRD → architecture → epics完整规格文档包4 (完整)是 (仅文档)workflow-plan / team-planex
团队工作流
team-planex/ccw "team planex: ..."coordinator → planner wave → executor wave基于 Issue 的并行执行Team(完整流水线)
team-lifecycle/ccw "team lifecycle: ..."spec pipeline → impl pipeline从规格到验证的完整生命周期Team(完整生命周期)
team-arch-opt(架构优化)architecture analysis → optimization架构优化Team(完整)
循环工作流
integration-test-cycle/ccw "integration test: ..."explore → test dev → test-fix cycle → reflection带迭代的集成测试3 (标准)(自迭代)
refactor-cycle/ccw "refactor: ..."discover → prioritize → execute → validate技术债务发现与重构3 (标准)(自迭代)
Issue 工作流
issue pipeline/ccw "use issue workflow"discover → plan → queue → execute结构化 Issue 管理2.5 (桥接)(完整流水线)
路线图工作流
roadmap-with-file/ccw "roadmap: ..."strategic roadmap → issue creation → execution-plan战略需求拆解4 (战略)team-planex

工作流级别分类

级别工作流特点
2 (轻量级)workflow-lite-plan, docs快速执行、最少阶段
2.5 (桥接)issue pipeline, rapid-to-issue桥接到 Issue 工作流
3 (标准)workflow-plan, workflow-execute, workflow-tdd-plan, workflow-test-fix, review-cycle, debug-with-file, analyze-with-file, workflow-multi-cli-plan完整规划/执行、多阶段
4 (完整)brainstorm, spec-generator, brainstorm-with-file, roadmap-with-file完整探索、规格化
Teamteam-planex, team-lifecycle, team-arch-opt多代理并行执行
Cycleintegration-test-cycle, refactor-cycle带反思的自迭代

自动链式参考

源工作流自动链式到条件
workflow-lite-planworkflow-test-fix默认 (除非 skip-tests)
workflow-planworkflow-execute计划确认后
workflow-executereview-cycle用户通过 Phase 6 选择
workflow-tdd-planworkflow-executeTDD 计划验证后
brainstormworkflow-plan自动链式到正式规划
brainstorm-with-fileworkflow-plan → workflow-execute自动
analyze-with-fileworkflow-lite-plan自动
debug-with-file(无)独立
collaborative-plan-with-fileunified-execute-with-file自动
roadmap-with-fileteam-planex自动
spec-generatorworkflow-plan / team-planex用户选择
review-cyclefix mode如有发现

自包含 vs 多技能

工作流自包含说明
workflow-lite-plan完整 plan + execute
workflow-plan需要 workflow-execute
workflow-execute完整执行
workflow-tdd-plan需要 workflow-execute
workflow-test-fix完整生成 + 执行
brainstorm是 (构思)否 (实现)
review-cycle完整审查 + 可选修复
spec-generator是 (文档)否 (实现)
team-planex完整团队流水线
team-lifecycle完整生命周期
debug-with-file完整调试
integration-test-cycle自迭代
refactor-cycle自迭代

关键词检测参考

关键词模式检测到的工作流
urgent, critical, hotfix, 紧急, 严重bugfix-hotfix
from scratch, greenfield, new project, 从零开始, 全新greenfield
brainstorm, ideation, multi-perspective, 头脑风暴, 创意brainstorm
debug, hypothesis, systematic, 调试, 假设debug-with-file
analyze, understand, collaborative analysis, 分析, 理解analyze-with-file
roadmap, 路线图, 规划roadmap-with-file
specification, PRD, 产品需求, 规格spec-generator
integration test, 集成测试, 端到端integration-test-cycle
refactor, 技术债务, 重构refactor-cycle
team planex, wave pipeline, 团队执行team-planex
multi-cli, 多模型协作, 多CLIworkflow-multi-cli-plan
TDD, test-driven, 测试驱动workflow-tdd-plan
review, code review, 代码审查review-cycle
issue workflow, use issue workflow, Issue工作流issue pipeline

工作流选择指南

任务类型推荐工作流命令链
快速功能/ccw "..."lite-planex → test-fix
Bug 修复/ccw "fix ..."lite-planex --bugfix → test-fix
复杂功能/ccw "..." (自动检测)plan → execute → review → test-fix
探索分析/workflow:analyze-with-file "..."analysis → (可选) lite-planex
创意构思/workflow:brainstorm-with-file "..."brainstorm → plan → execute
调试/workflow:debug-with-file "..."hypothesis-driven debugging
Issue 管理/issue:new/issue:plan/issue:queue/issue:executeissue workflow
多 Issue 批量/issue:discover/issue:plan --all-pendingissue batch workflow
代码审查/cli:codex-review --uncommittedcodex review
团队协调team-lifecycleteam-planexteam workflow
TDD 开发/ccw "Implement with TDD"tdd-plan → execute
集成测试/ccw "integration test: ..."integration-test-cycle
技术债务/ccw "refactor: ..."refactor-cycle
规格文档/ccw "specification: ..."spec-generator → plan

从零开始开发路径

规模流水线复杂度
小型brainstorm-with-file → workflow-plan → workflow-execute3
中型brainstorm-with-file → workflow-plan → workflow-execute → workflow-test-fix3
大型brainstorm-with-file → workflow-plan → workflow-execute → review-cycle → workflow-test-fix4

相关文档

Released under the MIT License.