Skip to content

Commit ffd5282

Browse files
author
catlog22
committed
Refactor team collaboration skills and update documentation
- Renamed `team-lifecycle-v5` to `team-lifecycle` across various documentation files for consistency. - Updated references in code examples and usage sections to reflect the new skill name. - Added a new command file for the `monitor` functionality in the `team-iterdev` skill, detailing the coordinator's monitoring events and task management. - Introduced new components for dynamic pipeline visualization and session coordinates display in the frontend. - Implemented utility functions for pipeline stage detection and status derivation based on message history. - Enhanced the team role panel to map members to their respective pipeline roles with status indicators. - Updated Chinese documentation to reflect the changes in skill names and descriptions.
1 parent 5e96722 commit ffd5282

132 files changed

Lines changed: 2920 additions & 18898 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/agents/team-worker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
22
name: team-worker
33
description: |
4-
Unified worker agent for team-lifecycle-v5. Contains all shared team behavior
4+
Unified worker agent for team-lifecycle. Contains all shared team behavior
55
(Phase 1 Task Discovery, Phase 5 Report + Fast-Advance, Message Bus, Consensus
66
Handling, Inner Loop lifecycle). Loads role-specific Phase 2-4 logic from a
77
role_spec markdown file passed in the prompt.
88
99
Examples:
1010
- Context: Coordinator spawns analyst worker
11-
user: "role: analyst\nrole_spec: .claude/skills/team-lifecycle-v5/role-specs/analyst.md\nsession: .workflow/.team/TLS-xxx"
11+
user: "role: analyst\nrole_spec: .claude/skills/team-lifecycle/role-specs/analyst.md\nsession: .workflow/.team/TLS-xxx"
1212
assistant: "Loading role spec, discovering RESEARCH-* tasks, executing Phase 2-4 domain logic"
1313
commentary: Agent parses prompt, loads role spec, runs built-in Phase 1 then role-specific Phase 2-4 then built-in Phase 5
1414
1515
- Context: Coordinator spawns writer worker with inner loop
16-
user: "role: writer\nrole_spec: .claude/skills/team-lifecycle-v5/role-specs/writer.md\ninner_loop: true"
16+
user: "role: writer\nrole_spec: .claude/skills/team-lifecycle/role-specs/writer.md\ninner_loop: true"
1717
assistant: "Loading role spec, processing all DRAFT-* tasks in inner loop"
1818
commentary: Agent detects inner_loop=true, loops Phase 1-5 for each same-prefix task
1919
color: green
2020
---
2121

22-
You are a **team-lifecycle-v5 worker agent**. You execute a specific role within a team pipeline. Your behavior is split into:
22+
You are a **team-lifecycle worker agent**. You execute a specific role within a team pipeline. Your behavior is split into:
2323

2424
- **Built-in phases** (Phase 1, Phase 5): Task discovery, reporting, fast-advance, inner loop — defined below.
2525
- **Role-specific phases** (Phase 2-4): Loaded from a role_spec markdown file.

.claude/skills/ccw-help/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ Team Skills 使用 `team-worker` agent 架构,Coordinator 编排流水线,Wo
146146
| Skill | 用途 | 架构 |
147147
|-------|------|------|
148148
| `team-planex` | 规划+执行 wave pipeline | planner + executor, 适合清晰 issue/roadmap |
149-
| `team-lifecycle-v5` | 完整生命周期 (spec/impl/test) | team-worker agents with role-specs |
149+
| `team-lifecycle` | 完整生命周期 (spec/impl/test) | team-worker agents with role-specs |
150150
| `team-lifecycle-v4` | 优化版生命周期 | Optimized pipeline |
151151
| `team-lifecycle-v3` | 基础版生命周期 | All roles invoke unified skill |
152-
| `team-coordinate-v2` | 通用动态团队协调 | 运行时动态生成 role-specs |
152+
| `team-coordinate` | 通用动态团队协调 | 运行时动态生成 role-specs |
153153
| `team-coordinate` | 通用团队协调 v1 | Dynamic role generation |
154154
| `team-brainstorm` | 团队头脑风暴 | Multi-perspective analysis |
155155
| `team-frontend` | 前端开发团队 | Frontend specialists |
@@ -163,7 +163,7 @@ Team Skills 使用 `team-worker` agent 架构,Coordinator 编排流水线,Wo
163163
| `team-uidesign` | UI 设计团队 | Design system + prototyping |
164164
| `team-ultra-analyze` | 深度协作分析 | Deep collaborative analysis |
165165
| `team-executor` | 轻量执行 (恢复会话) | Resume existing sessions |
166-
| `team-executor-v2` | 轻量执行 v2 | Improved session resumption |
166+
| `team-executor` | 轻量执行 v2 | Improved session resumption |
167167

168168
### Standalone Skills (独立技能)
169169

.claude/skills/ccw-help/command.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -775,14 +775,14 @@
775775
"source": "../../../skills/team-coordinate/SKILL.md"
776776
},
777777
{
778-
"name": "team-coordinate-v2",
779-
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"team coordinate v2\".",
778+
"name": "team-coordinate",
779+
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"Team Coordinate \".",
780780
"category": "team",
781781
"is_team": true,
782782
"has_phases": false,
783783
"has_role_specs": false,
784784
"version": "",
785-
"source": "../../../skills/team-coordinate-v2/SKILL.md"
785+
"source": "../../../skills/team-coordinate/SKILL.md"
786786
},
787787
{
788788
"name": "team-executor",
@@ -795,14 +795,14 @@
795795
"source": "../../../skills/team-executor/SKILL.md"
796796
},
797797
{
798-
"name": "team-executor-v2",
799-
"description": "Lightweight session execution skill. Resumes existing team-coordinate-v2 sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"team executor v2\".",
798+
"name": "team-executor",
799+
"description": "Lightweight session execution skill. Resumes existing team-coordinate sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"Team Executor\".",
800800
"category": "team",
801801
"is_team": true,
802802
"has_phases": false,
803803
"has_role_specs": false,
804804
"version": "",
805-
"source": "../../../skills/team-executor-v2/SKILL.md"
805+
"source": "../../../skills/team-executor/SKILL.md"
806806
},
807807
{
808808
"name": "team-frontend",
@@ -855,14 +855,14 @@
855855
"source": "../../../skills/team-lifecycle-v4/SKILL.md"
856856
},
857857
{
858-
"name": "team-lifecycle-v5",
858+
"name": "team-lifecycle",
859859
"description": "Unified team skill for full lifecycle - spec/impl/test. Uses team-worker agent architecture with role-spec files for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents loaded with role-specific Phase 2-4 specs. Triggers on \"team lifecycle\".",
860860
"category": "team",
861861
"is_team": true,
862862
"has_phases": false,
863863
"has_role_specs": true,
864864
"version": "",
865-
"source": "../../../skills/team-lifecycle-v5/SKILL.md"
865+
"source": "../../../skills/team-lifecycle/SKILL.md"
866866
},
867867
{
868868
"name": "team-planex",

.claude/skills/ccw-help/index/all-skills.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,24 +130,24 @@
130130
"source": "../../../skills/team-brainstorm/SKILL.md"
131131
},
132132
{
133-
"name": "team-coordinate-v2",
134-
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"team coordinate v2\".",
133+
"name": "team-coordinate",
134+
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"Team Coordinate \".",
135135
"category": "team",
136136
"is_team": true,
137137
"has_phases": false,
138138
"has_role_specs": false,
139139
"version": "",
140-
"source": "../../../skills/team-coordinate-v2/SKILL.md"
140+
"source": "../../../skills/team-coordinate/SKILL.md"
141141
},
142142
{
143-
"name": "team-executor-v2",
144-
"description": "Lightweight session execution skill. Resumes existing team-coordinate-v2 sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"team executor v2\".",
143+
"name": "team-executor",
144+
"description": "Lightweight session execution skill. Resumes existing team-coordinate sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"Team Executor\".",
145145
"category": "team",
146146
"is_team": true,
147147
"has_phases": false,
148148
"has_role_specs": false,
149149
"version": "",
150-
"source": "../../../skills/team-executor-v2/SKILL.md"
150+
"source": "../../../skills/team-executor/SKILL.md"
151151
},
152152
{
153153
"name": "team-frontend",
@@ -180,14 +180,14 @@
180180
"source": "../../../skills/team-iterdev/SKILL.md"
181181
},
182182
{
183-
"name": "team-lifecycle-v5",
183+
"name": "team-lifecycle",
184184
"description": "Unified team skill for full lifecycle - spec/impl/test. Uses team-worker agent architecture with role-spec files for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents loaded with role-specific Phase 2-4 specs. Triggers on \"team lifecycle\".",
185185
"category": "team",
186186
"is_team": true,
187187
"has_phases": false,
188188
"has_role_specs": true,
189189
"version": "",
190-
"source": "../../../skills/team-lifecycle-v5/SKILL.md"
190+
"source": "../../../skills/team-lifecycle/SKILL.md"
191191
},
192192
{
193193
"name": "team-perf-opt",

.claude/skills/ccw-help/index/skills-by-category.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,24 +139,24 @@
139139
"source": "../../../skills/team-brainstorm/SKILL.md"
140140
},
141141
{
142-
"name": "team-coordinate-v2",
143-
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"team coordinate v2\".",
142+
"name": "team-coordinate",
143+
"description": "Universal team coordination skill with dynamic role generation. Uses team-worker agent architecture with role-spec files. Only coordinator is built-in -- all worker roles are generated at runtime as role-specs and spawned via team-worker agent. Beat/cadence model for orchestration. Triggers on \"Team Coordinate \".",
144144
"category": "team",
145145
"is_team": true,
146146
"has_phases": false,
147147
"has_role_specs": false,
148148
"version": "",
149-
"source": "../../../skills/team-coordinate-v2/SKILL.md"
149+
"source": "../../../skills/team-coordinate/SKILL.md"
150150
},
151151
{
152-
"name": "team-executor-v2",
153-
"description": "Lightweight session execution skill. Resumes existing team-coordinate-v2 sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"team executor v2\".",
152+
"name": "team-executor",
153+
"description": "Lightweight session execution skill. Resumes existing team-coordinate sessions for pure execution via team-worker agents. No analysis, no role generation -- only loads and executes. Session path required. Triggers on \"Team Executor\".",
154154
"category": "team",
155155
"is_team": true,
156156
"has_phases": false,
157157
"has_role_specs": false,
158158
"version": "",
159-
"source": "../../../skills/team-executor-v2/SKILL.md"
159+
"source": "../../../skills/team-executor/SKILL.md"
160160
},
161161
{
162162
"name": "team-frontend",
@@ -189,14 +189,14 @@
189189
"source": "../../../skills/team-iterdev/SKILL.md"
190190
},
191191
{
192-
"name": "team-lifecycle-v5",
192+
"name": "team-lifecycle",
193193
"description": "Unified team skill for full lifecycle - spec/impl/test. Uses team-worker agent architecture with role-spec files for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents loaded with role-specific Phase 2-4 specs. Triggers on \"team lifecycle\".",
194194
"category": "team",
195195
"is_team": true,
196196
"has_phases": false,
197197
"has_role_specs": true,
198198
"version": "",
199-
"source": "../../../skills/team-lifecycle-v5/SKILL.md"
199+
"source": "../../../skills/team-lifecycle/SKILL.md"
200200
},
201201
{
202202
"name": "team-perf-opt",

.claude/skills/team-brainstorm/SKILL.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ ideator chall- synthe- evalua-
3030
(tw) = team-worker agent
3131
```
3232

33+
## Command Execution Protocol
34+
35+
When coordinator needs to execute a command (dispatch, monitor):
36+
37+
1. **Read the command file**: `roles/coordinator/commands/<command-name>.md`
38+
2. **Follow the workflow** defined in the command file (Phase 2-4 structure)
39+
3. **Commands are inline execution guides** -- NOT separate agents or subprocesses
40+
4. **Execute synchronously** -- complete the command workflow before proceeding
41+
3342
## Role Router
3443

3544
### Input Parsing

.claude/skills/team-brainstorm/roles/challenger.md

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)