@techwavedev/agi-agent-kit 1.1.7 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +142 -1
  2. package/README.md +195 -15
  3. package/bin/init.js +154 -5
  4. package/package.json +6 -3
  5. package/templates/base/AGENTS.md +54 -23
  6. package/templates/base/README.md +327 -0
  7. package/templates/base/directives/memory_integration.md +95 -0
  8. package/templates/base/execution/memory_manager.py +309 -0
  9. package/templates/base/execution/session_boot.py +218 -0
  10. package/templates/base/execution/session_init.py +320 -0
  11. package/templates/base/requirements.txt +45 -6
  12. package/templates/base/skill-creator/SKILL_skillcreator.md +3 -3
  13. package/templates/skills/knowledge/design-md/README.md +0 -0
  14. package/templates/skills/knowledge/design-md/SKILL.md +0 -0
  15. package/templates/skills/knowledge/design-md/examples/DESIGN.md +0 -0
  16. package/templates/skills/knowledge/intelligent-routing/SKILL.md +237 -164
  17. package/templates/skills/knowledge/notebooklm-rag/SKILL.md +216 -0
  18. package/templates/skills/knowledge/notebooklm-rag/requirements.txt +9 -0
  19. package/templates/skills/knowledge/notebooklm-rag/scripts/ask_question.py +237 -0
  20. package/templates/skills/knowledge/notebooklm-rag/scripts/auth_manager.py +307 -0
  21. package/templates/skills/knowledge/notebooklm-rag/scripts/browser_utils.py +101 -0
  22. package/templates/skills/knowledge/notebooklm-rag/scripts/cleanup_manager.py +87 -0
  23. package/templates/skills/knowledge/notebooklm-rag/scripts/config.py +45 -0
  24. package/templates/skills/knowledge/notebooklm-rag/scripts/notebook_manager.py +334 -0
  25. package/templates/skills/knowledge/notebooklm-rag/scripts/run.py +92 -0
  26. package/templates/skills/knowledge/notebooklm-rag/scripts/setup_environment.py +68 -0
  27. package/templates/skills/knowledge/parallel-agents/SKILL.md +345 -73
  28. package/templates/skills/knowledge/plugin-discovery/SKILL.md +581 -0
  29. package/templates/skills/knowledge/plugin-discovery/scripts/platform_setup.py +1083 -0
  30. package/templates/skills/knowledge/react-components/README.md +0 -0
  31. package/templates/skills/knowledge/react-components/SKILL.md +0 -0
  32. package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +0 -0
  33. package/templates/skills/knowledge/react-components/package-lock.json +0 -0
  34. package/templates/skills/knowledge/react-components/package.json +0 -0
  35. package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +0 -0
  36. package/templates/skills/knowledge/react-components/resources/component-template.tsx +0 -0
  37. package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +0 -0
  38. package/templates/skills/knowledge/react-components/resources/style-guide.json +0 -0
  39. package/templates/skills/knowledge/react-components/scripts/validate.js +0 -0
  40. package/templates/skills/knowledge/self-update/SKILL.md +0 -0
  41. package/templates/skills/knowledge/self-update/scripts/update_kit.py +0 -0
  42. package/templates/skills/knowledge/stitch-loop/README.md +0 -0
  43. package/templates/skills/knowledge/stitch-loop/SKILL.md +3 -3
  44. package/templates/skills/knowledge/stitch-loop/examples/SITE.md +0 -0
  45. package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +0 -0
  46. package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +0 -0
  47. package/templates/skills/knowledge/stitch-loop/resources/site-template.md +0 -0
  48. package/templates/skills/stitch-loop/SKILL.md +3 -3
  49. package/templates/skills/core/qdrant-memory/scripts/__pycache__/embedding_utils.cpython-314.pyc +0 -0
  50. package/templates/skills/core/qdrant-memory/scripts/__pycache__/init_collection.cpython-314.pyc +0 -0
  51. package/templates/skills/knowledge/SKILLS_CATALOG.md +0 -796
  52. package/templates/skills/knowledge/jira/scripts/__pycache__/jira_client.cpython-314.pyc +0 -0
  53. package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +0 -71
  54. package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +0 -24
  55. package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +0 -34
  56. package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +0 -19
@@ -1,64 +1,330 @@
1
1
  ---
2
2
  name: parallel-agents
3
- description: Multi-agent orchestration patterns. Use when multiple independent tasks can run with different domain expertise or when comprehensive analysis requires multiple perspectives.
4
- allowed-tools: Read, Glob, Grep
3
+ description: Platform-adaptive multi-agent orchestration. Uses Claude Code Agent Teams when available, subagents as fallback, and sequential persona switching on other platforms. Use when multiple independent tasks can run with different domain expertise or when comprehensive analysis requires multiple perspectives.
4
+ version: 2.0.0
5
5
  ---
6
6
 
7
- # Native Parallel Agents
7
+ # Multi-Agent Orchestration
8
8
 
9
- > Orchestration through Antigravity's built-in Agent Tool
9
+ > Platform-adaptive parallel agent coordination
10
10
 
11
11
  ## Overview
12
12
 
13
- This skill enables coordinating multiple specialized agents through Antigravity's native agent system. Unlike external scripts, this approach keeps all orchestration within Antigravity's control.
13
+ This skill enables coordinating multiple specialized agents across different AI platforms. It automatically detects the runtime environment and selects the best orchestration strategy:
14
14
 
15
- ## When to Use Orchestration
15
+ | Platform | Strategy | Parallelism | Mechanism |
16
+ | ------------------------------------- | ------------------- | ------------------- | ------------------------------ |
17
+ | **Claude Code** (with Agent Teams) | Native Agent Teams | ✅ True parallel | tmux/in-process sessions |
18
+ | **Claude Code** (without Agent Teams) | Subagents | ✅ Background tasks | `Task()` tool, `context: fork` |
19
+ | **Kiro IDE** | Autonomous Agent | ✅ Async parallel | Sandbox environments, PRs |
20
+ | **Gemini / Antigravity** | Sequential Personas | ❌ Sequential | Persona switching via `@agent` |
21
+ | **Opencode / Other** | Sequential Personas | ❌ Sequential | Persona switching via `@agent` |
16
22
 
17
- ✅ **Good for:**
18
- - Complex tasks requiring multiple expertise domains
19
- - Code analysis from security, performance, and quality perspectives
20
- - Comprehensive reviews (architecture + security + testing)
21
- - Feature implementation needing backend + frontend + database work
23
+ ---
24
+
25
+ ## Platform Detection
26
+
27
+ Before orchestrating, detect the current platform:
28
+
29
+ ```
30
+ IF environment has CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
31
+ → Use Agent Teams (Strategy A)
32
+ ELSE IF environment is Claude Code (has Task tool, /agents command)
33
+ → Use Subagents (Strategy B)
34
+ ELSE IF environment is Kiro IDE (.kiro/, POWER.md, autonomous agent available)
35
+ → Use Autonomous Agent (Strategy D)
36
+ ELSE
37
+ → Use Sequential Personas (Strategy C)
38
+ ```
39
+
40
+ > **Important**: Always announce which strategy is being used so the user knows what to expect.
41
+
42
+ ---
43
+
44
+ ## Strategy A: Claude Code Agent Teams (Preferred)
45
+
46
+ > **Requires**: `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` in settings or environment.
47
+
48
+ Agent Teams spawn **true parallel Claude Code sessions** as teammates. Each teammate runs in its own context with full tool access.
49
+
50
+ ### Enabling Agent Teams
51
+
52
+ Users must enable via `settings.json` or environment:
53
+
54
+ ```json
55
+ { "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }
56
+ ```
57
+
58
+ ### How to Orchestrate with Agent Teams
59
+
60
+ **The lead agent (you) acts as Team Leader.** When a complex multi-domain task is detected:
61
+
62
+ 1. **Analyze** the task and identify independent work streams
63
+ 2. **Spawn teammates** with clear, self-contained prompts
64
+ 3. **Assign tasks** to each teammate
65
+ 4. **Monitor** progress and steer if needed
66
+ 5. **Synthesize** results when teammates complete
67
+
68
+ #### Spawn a Team
69
+
70
+ ```
71
+ Create an agent team with 3 teammates:
72
+ - "security-reviewer": Review the auth module at src/auth/ for security vulnerabilities. Focus on token handling and session management.
73
+ - "api-specialist": Analyze the API layer at src/api/ for best practices, error handling, and performance.
74
+ - "test-engineer": Identify test gaps across the project, focus on untested edge cases.
75
+
76
+ Use Sonnet for each teammate.
77
+ ```
78
+
79
+ #### Team Display Modes
80
+
81
+ | Mode | How | Best For |
82
+ | --------------- | ---------------------------------------------- | ----------------- |
83
+ | **In-process** | All in one terminal. `Shift+Up/Down` to switch | Simple setups |
84
+ | **Split panes** | Each gets own tmux/iTerm2 pane | Visual monitoring |
85
+
86
+ ```json
87
+ { "teammateMode": "in-process" }
88
+ ```
89
+
90
+ #### Team Communication
91
+
92
+ - **Message teammate**: Tell the lead to message a specific teammate
93
+ - **Broadcast**: Send to all teammates (use sparingly — costs scale)
94
+ - **Task list**: Shared task board visible to all agents (`Ctrl+T`)
95
+ - **Idle notifications**: Teammates auto-notify lead when done
96
+
97
+ #### Quality Gates via Hooks
98
+
99
+ ```json
100
+ {
101
+ "hooks": {
102
+ "TeammateIdle": [
103
+ { "command": "npm test", "description": "Run tests before idle" }
104
+ ],
105
+ "TaskCompleted": [
106
+ { "command": "./scripts/lint.sh", "description": "Lint on completion" }
107
+ ]
108
+ }
109
+ }
110
+ ```
111
+
112
+ #### Cleanup
113
+
114
+ ```
115
+ Clean up the team
116
+ ```
117
+
118
+ ### Agent Teams Best Practices
119
+
120
+ 1. **Give enough context** — teammates don't share the lead's full conversation
121
+ 2. **Size tasks well** — not too small (overhead), not too large (risk)
122
+ 3. **Avoid file conflicts** — assign non-overlapping file sets to each teammate
123
+ 4. **Wait before synthesizing** — let all teammates finish before combining results
124
+ 5. **Start with research** — use research/review tasks before implementation tasks
125
+
126
+ ---
127
+
128
+ ## Strategy B: Claude Code Subagents (Fallback on Claude Code)
129
+
130
+ > When Agent Teams aren't enabled on Claude Code, use **subagents** for parallel work.
131
+
132
+ Subagents are isolated Claude Code sessions spawned via the `Task` tool. They can run in **foreground** (blocking) or **background** (concurrent).
133
+
134
+ ### Built-in Subagents
135
+
136
+ | Agent | Model | Purpose |
137
+ | ------------------- | -------- | ------------------------------ |
138
+ | **Explore** | Haiku | Fast read-only codebase search |
139
+ | **Plan** | Inherits | Research during plan mode |
140
+ | **General-purpose** | Inherits | Complex multi-step operations |
141
+
142
+ ### Custom Subagents
143
+
144
+ Define in `.claude/agents/` or `~/.claude/agents/`:
145
+
146
+ ```markdown
147
+ ---
148
+ name: security-reviewer
149
+ description: Reviews code for security vulnerabilities
150
+ tools: Read, Grep, Glob, Bash
151
+ model: sonnet
152
+ permissionMode: acceptEdits
153
+ skills:
154
+ - vulnerability-scanner
155
+ memory: project
156
+ ---
157
+
158
+ You are a security reviewer. Analyze code for vulnerabilities, focusing on:
159
+
160
+ - Authentication and authorization flaws
161
+ - Input validation issues
162
+ - Secret exposure risks
163
+ - Dependency vulnerabilities
164
+
165
+ Report with severity ratings. Check your memory for patterns seen before.
166
+ ```
167
+
168
+ ### Subagent Frontmatter Reference
169
+
170
+ | Field | Purpose | Values |
171
+ | ----------------- | ------------------- | ---------------------------------------------------------------------------- |
172
+ | `name` | Identifier | Any string |
173
+ | `description` | When to invoke | Auto-delegation hint |
174
+ | `tools` | Allowed tools | `Read`, `Grep`, `Glob`, `Bash`, `Write`, `Edit`, `Task(agent)` |
175
+ | `disallowedTools` | Blocked tools | Same as above |
176
+ | `model` | AI model | `sonnet`, `opus`, `haiku`, `inherit` |
177
+ | `permissionMode` | Permission handling | `default`, `acceptEdits`, `dontAsk`, `delegate`, `bypassPermissions`, `plan` |
178
+ | `skills` | Preloaded skills | List of skill names |
179
+ | `mcpServers` | MCP servers | Server names from config |
180
+ | `hooks` | Lifecycle hooks | Hook definitions |
181
+ | `memory` | Persistent memory | `user`, `project`, `local` |
182
+ | `maxTurns` | Turn limit | Number |
183
+
184
+ ### Invoking Subagents
185
+
186
+ **Foreground** (blocking):
187
+
188
+ ```
189
+ Use the security-reviewer subagent to audit the authentication module
190
+ ```
191
+
192
+ **Background** (concurrent):
193
+
194
+ ```
195
+ Run the security-reviewer subagent in the background to audit auth while I continue working
196
+ ```
197
+
198
+ **Parallel research**:
22
199
 
23
- ❌ **Not for:**
24
- - Simple, single-domain tasks
25
- - Quick fixes or small changes
26
- - Tasks where one agent suffices
200
+ ```
201
+ Research the authentication, database, and API modules in parallel using separate subagents
202
+ ```
203
+
204
+ **Chaining**:
27
205
 
206
+ ```
207
+ Use the code-reviewer subagent to find issues, then use the optimizer subagent to fix them
208
+ ```
209
+
210
+ ### Restricting Subagent Spawning
211
+
212
+ A coordinator can restrict which subagents it spawns:
213
+
214
+ ```markdown
28
215
  ---
216
+ name: coordinator
217
+ description: Coordinates work across specialized agents
218
+ tools: Task(worker, researcher), Read, Bash
219
+ ---
220
+ ```
221
+
222
+ This coordinator can only spawn `worker` and `researcher` subagents.
223
+
224
+ ---
225
+
226
+ ## Strategy C: Sequential Personas (Universal Fallback)
227
+
228
+ > For Gemini, Opencode, and other platforms without native agent parallelism.
229
+
230
+ ### How It Works
29
231
 
30
- ## Native Agent Invocation
232
+ The AI adopts different specialist personas sequentially, passing context between phases:
233
+
234
+ ```
235
+ 🤖 Applying knowledge of @security-auditor...
236
+ [Security analysis]
237
+
238
+ 🤖 Applying knowledge of @backend-specialist...
239
+ [API analysis, informed by security findings]
240
+
241
+ 🤖 Applying knowledge of @test-engineer...
242
+ [Test gap analysis, informed by both previous analyses]
243
+ ```
244
+
245
+ ### Native Agent Invocation
246
+
247
+ **Single Agent:**
31
248
 
32
- ### Single Agent
33
249
  ```
34
250
  Use the security-auditor agent to review authentication
35
251
  ```
36
252
 
37
- ### Sequential Chain
253
+ **Sequential Chain:**
254
+
38
255
  ```
39
256
  First, use the explorer-agent to discover project structure.
40
257
  Then, use the backend-specialist to review API endpoints.
41
258
  Finally, use the test-engineer to identify test gaps.
42
259
  ```
43
260
 
44
- ### With Context Passing
261
+ **With Context Passing:**
262
+
45
263
  ```
46
264
  Use the frontend-specialist to analyze React components.
47
265
  Based on those findings, have the test-engineer generate component tests.
48
266
  ```
49
267
 
50
- ### Resume Previous Work
268
+ ---
269
+
270
+ ## Strategy D: Kiro Autonomous Agent (On Kiro IDE)
271
+
272
+ > Kiro's Autonomous Agent provides async parallel task execution in sandboxed environments — the team-level equivalent of Claude Code's Agent Teams, but asynchronous and PR-based.
273
+
274
+ ### How It Works
275
+
276
+ Unlike Claude Code Agent Teams (which are real-time interactive sessions), Kiro's Autonomous Agent:
277
+
278
+ - **Runs tasks in isolated sandbox environments** — full dev setup, no local impact
279
+ - **Opens pull requests** for each completed task — you review asynchronously
280
+ - **Maintains context** across tasks, repos, and PRs
281
+ - **Learns from your code reviews** — adapts to team patterns over time
282
+ - **Works across multiple repos** — coordinates related changes into linked PRs
283
+
284
+ ### When to Use
285
+
286
+ ✅ **Best for:**
287
+
288
+ - Async workflows where multiple tasks can run overnight or during focus time
289
+ - Cross-repo changes (e.g., update API contract + client SDK + documentation)
290
+ - Routine fixes, follow-ups, and status updates
291
+ - Tasks that benefit from sandboxed execution (no risk to local environment)
292
+
293
+ ❌ **Not ideal for:**
294
+
295
+ - Real-time interactive collaboration (use Agent Teams on Claude Code instead)
296
+ - Quick single-file fixes (use direct agent invocation)
297
+
298
+ ### Example: Multi-Task Delegation
299
+
51
300
  ```
52
- Resume agent [agentId] and continue with additional requirements.
301
+ Create a Kiro task:
302
+ - "Refactor authentication module to use JWT refresh tokens"
303
+ - Repository: backend-api
304
+ - Let Kiro plan the implementation, execute in sandbox, and open a PR
305
+
306
+ Create another Kiro task:
307
+ - "Update the React login flow to handle JWT refresh"
308
+ - Repository: frontend-app
309
+ - Reference the backend PR for API contract changes
53
310
  ```
54
311
 
312
+ Both tasks run in parallel in isolated environments. When complete, you get two linked PRs to review.
313
+
314
+ ### Integration with Kiro Powers
315
+
316
+ The Autonomous Agent automatically uses installed Powers for expertise. If the Supabase Power is installed and the task involves database changes, the agent activates the Supabase Power for best-practice guidance.
317
+
55
318
  ---
56
319
 
57
- ## Orchestration Patterns
320
+ ## Orchestration Patterns (Platform-Independent)
321
+
322
+ These patterns work across all strategies. The platform dictates whether they run in parallel or sequentially.
58
323
 
59
324
  ### Pattern 1: Comprehensive Analysis
325
+
60
326
  ```
61
- Agents: explorer-agent → [domain-agents] → synthesis
327
+ Agents: explorer → [domain-agents] → synthesis
62
328
 
63
329
  1. explorer-agent: Map codebase structure
64
330
  2. security-auditor: Security posture
@@ -68,7 +334,13 @@ Agents: explorer-agent → [domain-agents] → synthesis
68
334
  6. Synthesize all findings
69
335
  ```
70
336
 
337
+ **On Claude Code Agent Teams**: Steps 2-5 run as parallel teammates
338
+ **On Claude Code Subagents**: Steps 2-5 run as background subagents
339
+ **On Kiro IDE**: Steps 2-5 dispatched as autonomous agent tasks (async, PR-based)
340
+ **On Other Platforms**: Steps 1-5 run sequentially with context passing
341
+
71
342
  ### Pattern 2: Feature Review
343
+
72
344
  ```
73
345
  Agents: affected-domain-agents → test-engineer
74
346
 
@@ -79,6 +351,7 @@ Agents: affected-domain-agents → test-engineer
79
351
  ```
80
352
 
81
353
  ### Pattern 3: Security Audit
354
+
82
355
  ```
83
356
  Agents: security-auditor → penetration-tester → synthesis
84
357
 
@@ -87,68 +360,75 @@ Agents: security-auditor → penetration-tester → synthesis
87
360
  3. Synthesize with prioritized remediation
88
361
  ```
89
362
 
90
- ---
91
-
92
- ## Available Agents
363
+ ### Pattern 4: Cross-Layer Feature Implementation
93
364
 
94
- | Agent | Expertise | Trigger Phrases |
95
- |-------|-----------|-----------------|
96
- | `orchestrator` | Coordination | "comprehensive", "multi-perspective" |
97
- | `security-auditor` | Security | "security", "auth", "vulnerabilities" |
98
- | `penetration-tester` | Security Testing | "pentest", "red team", "exploit" |
99
- | `backend-specialist` | Backend | "API", "server", "Node.js", "Express" |
100
- | `frontend-specialist` | Frontend | "React", "UI", "components", "Next.js" |
101
- | `test-engineer` | Testing | "tests", "coverage", "TDD" |
102
- | `devops-engineer` | DevOps | "deploy", "CI/CD", "infrastructure" |
103
- | `database-architect` | Database | "schema", "Prisma", "migrations" |
104
- | `mobile-developer` | Mobile | "React Native", "Flutter", "mobile" |
105
- | `api-designer` | API Design | "REST", "GraphQL", "OpenAPI" |
106
- | `debugger` | Debugging | "bug", "error", "not working" |
107
- | `explorer-agent` | Discovery | "explore", "map", "structure" |
108
- | `documentation-writer` | Documentation | "write docs", "create README", "generate API docs" |
109
- | `performance-optimizer` | Performance | "slow", "optimize", "profiling" |
110
- | `project-planner` | Planning | "plan", "roadmap", "milestones" |
111
- | `seo-specialist` | SEO | "SEO", "meta tags", "search ranking" |
112
- | `game-developer` | Game Development | "game", "Unity", "Godot", "Phaser" |
365
+ ```
366
+ Agents: database-architect → backend-specialist → frontend-specialist → test-engineer
113
367
 
114
- ---
368
+ 1. database-architect: Schema changes
369
+ 2. backend-specialist: API endpoints
370
+ 3. frontend-specialist: UI components
371
+ 4. test-engineer: Full-stack tests
372
+ ```
115
373
 
116
- ## Antigravity Built-in Agents
374
+ **On Agent Teams**: Split into backend teammate + frontend teammate + test teammate
117
375
 
118
- These work alongside custom agents:
376
+ ---
119
377
 
120
- | Agent | Model | Purpose |
121
- |-------|-------|---------|
122
- | **Explore** | Haiku | Fast read-only codebase search |
123
- | **Plan** | Sonnet | Research during plan mode |
124
- | **General-purpose** | Sonnet | Complex multi-step modifications |
378
+ ## Available Agents
125
379
 
126
- Use **Explore** for quick searches, **custom agents** for domain expertise.
380
+ | Agent | Expertise | Trigger Phrases |
381
+ | ----------------------- | ---------------- | -------------------------------------- |
382
+ | `orchestrator` | Coordination | "comprehensive", "multi-perspective" |
383
+ | `security-auditor` | Security | "security", "auth", "vulnerabilities" |
384
+ | `penetration-tester` | Security Testing | "pentest", "red team", "exploit" |
385
+ | `backend-specialist` | Backend | "API", "server", "Node.js", "Express" |
386
+ | `frontend-specialist` | Frontend | "React", "UI", "components", "Next.js" |
387
+ | `test-engineer` | Testing | "tests", "coverage", "TDD" |
388
+ | `devops-engineer` | DevOps | "deploy", "CI/CD", "infrastructure" |
389
+ | `database-architect` | Database | "schema", "Prisma", "migrations" |
390
+ | `mobile-developer` | Mobile | "React Native", "Flutter", "mobile" |
391
+ | `api-designer` | API Design | "REST", "GraphQL", "OpenAPI" |
392
+ | `debugger` | Debugging | "bug", "error", "not working" |
393
+ | `explorer-agent` | Discovery | "explore", "map", "structure" |
394
+ | `documentation-writer` | Documentation | "write docs", "create README" |
395
+ | `performance-optimizer` | Performance | "slow", "optimize", "profiling" |
396
+ | `project-planner` | Planning | "plan", "roadmap", "milestones" |
397
+ | `seo-specialist` | SEO | "SEO", "meta tags", "search ranking" |
398
+ | `game-developer` | Game Development | "game", "Unity", "Godot", "Phaser" |
127
399
 
128
400
  ---
129
401
 
130
402
  ## Synthesis Protocol
131
403
 
132
- After all agents complete, synthesize:
404
+ After all agents/teammates complete, synthesize:
133
405
 
134
406
  ```markdown
135
407
  ## Orchestration Synthesis
136
408
 
137
409
  ### Task Summary
410
+
138
411
  [What was accomplished]
139
412
 
413
+ ### Strategy Used
414
+
415
+ [Agent Teams / Subagents / Sequential — and why]
416
+
140
417
  ### Agent Contributions
141
- | Agent | Finding |
142
- |-------|---------|
143
- | security-auditor | Found X |
418
+
419
+ | Agent | Finding |
420
+ | ------------------ | ------------ |
421
+ | security-auditor | Found X |
144
422
  | backend-specialist | Identified Y |
145
423
 
146
424
  ### Consolidated Recommendations
425
+
147
426
  1. **Critical**: [Issue from Agent A]
148
427
  2. **Important**: [Issue from Agent B]
149
428
  3. **Nice-to-have**: [Enhancement from Agent C]
150
429
 
151
430
  ### Action Items
431
+
152
432
  - [ ] Fix critical security issue
153
433
  - [ ] Refactor API endpoint
154
434
  - [ ] Add missing tests
@@ -158,18 +438,10 @@ After all agents complete, synthesize:
158
438
 
159
439
  ## Best Practices
160
440
 
161
- 1. **Available agents** - 17 specialized agents can be orchestrated
162
- 2. **Logical order** - Discovery Analysis Implementation Testing
163
- 3. **Share context** - Pass relevant findings to subsequent agents
164
- 4. **Single synthesis** - One unified report, not separate outputs
165
- 5. **Verify changes** - Always include test-engineer for code modifications
166
-
167
- ---
168
-
169
- ## Key Benefits
170
-
171
- - ✅ **Single session** - All agents share context
172
- - ✅ **AI-controlled** - Claude orchestrates autonomously
173
- - ✅ **Native integration** - Works with built-in Explore, Plan agents
174
- - ✅ **Resume support** - Can continue previous agent work
175
- - ✅ **Context passing** - Findings flow between agents
441
+ 1. **Platform-first** Always use the highest-capability strategy available
442
+ 2. **Announce strategy** Tell the user which orchestration mode is being used
443
+ 3. **Logical order** Discovery Analysis Implementation → Testing
444
+ 4. **Share context** Pass relevant findings between agents/teammates
445
+ 5. **Single synthesis** One unified report, not separate outputs
446
+ 6. **Verify changes** — Always include test-engineer for code modifications
447
+ 7. **Avoid file conflicts** — Assign non-overlapping file scopes to parallel agents