Skip to content

Team Workflows

CCW provides multiple team collaboration Skills that support multi-role coordination for complex tasks.

Team Skill Overview

SkillRolesPipelineUse Case
team-planex3 (planner + executor)Wave pipeline (边规划边执行)Planning and execution in parallel waves
team-iterdev5 (generator → critic → integrator → validator)Generator-critic loopIterative development with feedback cycles
team-lifecycle-v48 (spec → architect → impl → test)5-phase lifecycleFull spec → impl → test workflow
team-lifecycleVariable (team-worker)Built-in phasesLatest team-worker architecture
team-issue6 (explorer → planner → implementer → reviewer → integrator)5-phase issue resolutionMulti-role issue solving
team-testing5 (strategist → generator → executor → analyst)4-phase testingComprehensive test coverage
team-quality-assurance6 (scout → strategist → generator → executor → analyst)5-phase QAQuality assurance closed loop
team-brainstorm5 (coordinator → ideator → challenger → synthesizer → evaluator)5-phase brainstormingMulti-perspective ideation
team-uidesign4 (designer → developer → reviewer)CP-9 dual-trackUI design and implementation in parallel
team-frontend6 (frontend-lead → ui-developer → ux-engineer → component-dev → qa)Design integrationFrontend development with UI/UX integration
team-review4 (scanner → reviewer → fixer)4-phase code reviewCode scanning and automated fix
team-roadmap-dev4 (planner → executor → verifier)Phased executionRoadmap-driven development
team-tech-debt6 (scanner → assessor → planner → executor → validator)5-phase cleanupTechnical debt identification and resolution
team-ultra-analyze5 (explorer → analyst → discussant → synthesizer)4-phase analysisDeep collaborative codebase analysis
team-coordinateVariableGeneric coordinationGeneric team coordination (legacy)
team-coordinateVariable (team-worker)team-worker architectureModern team-worker coordination
team-executorVariableLightweight executionSession-based execution
team-executorVariable (team-worker)team-worker executionModern team-worker execution

Usage

Via /ccw Orchestrator

bash
# Automatic routing based on intent
/ccw "team planex: 用户认证系统"
/ccw "全生命周期: 通知服务开发"
/ccw "QA 团队: 质量保障支付流程"

# Team-based workflows
/ccw "team brainstorm: 新功能想法"
/ccw "team issue: 修复登录超时"
/ccw "team testing: 测试覆盖率提升"

Direct Skill Invocation

javascript
// Programmatic invocation
Skill(skill="team-lifecycle", args="Build user authentication system")
Skill(skill="team-planex", args="Implement OAuth2 with concurrent planning")
Skill(skill="team-quality-assurance", args="Quality audit of payment system")

// With mode selection
Skill(skill="workflow-plan", args="--mode replan")

Via Task Tool (for agent invocation)

javascript
// Spawn team worker agent
Task({
  subagent_type: "team-worker",
  description: "Spawn executor worker",
  team_name: "my-team",
  name: "executor",
  run_in_background: true,
  prompt: `## Role Assignment
role: executor
session: D:/project/.workflow/.team/my-session
session_id: my-session
team_name: my-team
requirement: Implement user authentication
inner_loop: true`
})

Detection Keywords

SkillKeywords (English)Keywords (中文)
team-planexteam planex, plan execute, wave pipeline团队规划执行, 波浪流水线
team-iterdevteam iterdev, iterative development迭代开发团队
team-lifecycleteam lifecycle, full lifecycle, spec impl test全生命周期, 规范实现测试
team-issueteam issue, resolve issue, issue team团队 issue, issue 解决团队
team-testingteam test, comprehensive test, test coverage测试团队, 全面测试
team-quality-assuranceteam qa, qa team, quality assuranceQA 团队, 质量保障团队
team-brainstormteam brainstorm, collaborative brainstorming团队头脑风暴, 协作头脑风暴
team-uidesignteam ui design, ui design team, dual trackUI 设计团队, 双轨设计
team-frontendteam frontend, frontend team前端开发团队
team-reviewteam review, code review team代码审查团队
team-roadmap-devteam roadmap, roadmap driven路线图驱动开发
team-tech-debttech debt cleanup, technical debt技术债务清理, 清理技术债
team-ultra-analyzeteam analyze, deep analysis, collaborative analysis深度协作分析

Team Skill Architecture

Version Evolution

VersionArchitectureStatus
v5team-worker (dynamic roles)Latest
v45-phase lifecycle with inline discussStable
v33-phase lifecycleLegacy
v2Generic coordinationObsolete

v5 Team Worker Architecture

The latest architecture uses the team-worker agent with dynamic role assignment based on phase prefixes:

PhasePrefixRole
AnalysisANALYSISdoc-analyst
DraftDRAFTdoc-writer
PlanningPLANplanner
ImplementationIMPLexecutor (code-developer, tdd-developer, etc.)
TestingTESTtester (test-fix-agent, etc.)
ReviewREVIEWreviewer

Role Types

TypePrefixDescription
OrchestratorCOORDManages workflow, coordinates agents
LeadSPEC, IMPL, TESTLeads phase, delegates to workers
WorkerVariousExecutes specific tasks

Workflow Patterns

Wave Pipeline (team-planex)

text
Wave 1: Plan ──────────────────────────────────┐
         ↓                                      │
Wave 2: Exec  ←────────────────────────────────┘

Wave 3: Plan → Exec → Plan → Exec → ...

Concurrent planning and execution - executor works on wave N while planner plans wave N+1.

Generator-Critic Loop (team-iterdev)

text
Generator → Output → Critic → Feedback → Generator

            Integrator → Validator

Iterative improvement through feedback cycles.

CP-9 Dual-Track (team-uidesign)

text
Design Track:  Designer → Tokens → Style

Implementation Track:        Developer → Components

                      Reviewer → Verify

Design and implementation proceed in parallel tracks.

5-Phase Lifecycle (team-lifecycle-v4)

text
1. Spec Planning (coordinator + spec-lead)
2. Architecture Design (architect)
3. Implementation Planning (impl-lead + dev team)
4. Test Planning (test-lead + qa-analyst)
5. Execution & Verification (all roles)

Linear progression through all lifecycle phases.

When to Use Each Team Skill

ScenarioRecommended Skill
Need parallel planning and executionteam-planex
Complex feature with multiple iterationsteam-iterdev
Full spec → impl → test workflowteam-lifecycle
Issue resolutionteam-issue
Comprehensive testingteam-testing
Quality auditteam-quality-assurance
New feature ideationteam-brainstorm
UI design + implementationteam-uidesign
Frontend-specific developmentteam-frontend
Code quality reviewteam-review
Large project with roadmapteam-roadmap-dev
Tech debt cleanupteam-tech-debt
Deep codebase analysisteam-ultra-analyze

See Also

Released under the MIT License.