@allthingsclaude/blueprints 0.1.1

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 (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +413 -0
  3. package/bin/cli.js +4 -0
  4. package/content/agents/audit.md +553 -0
  5. package/content/agents/bootstrap.md +386 -0
  6. package/content/agents/finalize.md +490 -0
  7. package/content/agents/handoff.md +207 -0
  8. package/content/agents/implement.md +350 -0
  9. package/content/agents/parallelize.md +484 -0
  10. package/content/agents/plan.md +309 -0
  11. package/content/agents/research-codebase.md +33 -0
  12. package/content/agents/research-docs.md +34 -0
  13. package/content/agents/research-web.md +34 -0
  14. package/content/commands/audit.md +54 -0
  15. package/content/commands/bootstrap.md +46 -0
  16. package/content/commands/brainstorm.md +76 -0
  17. package/content/commands/challenge.md +26 -0
  18. package/content/commands/cleanup.md +326 -0
  19. package/content/commands/critique.md +34 -0
  20. package/content/commands/debug.md +283 -0
  21. package/content/commands/explain.md +340 -0
  22. package/content/commands/finalize.md +49 -0
  23. package/content/commands/flush.md +29 -0
  24. package/content/commands/handoff.md +46 -0
  25. package/content/commands/implement.md +67 -0
  26. package/content/commands/kickoff.md +65 -0
  27. package/content/commands/parallelize.md +118 -0
  28. package/content/commands/pickup.md +30 -0
  29. package/content/commands/plan.md +38 -0
  30. package/content/commands/refactor.md +406 -0
  31. package/content/commands/research.md +58 -0
  32. package/content/commands/test.md +229 -0
  33. package/content/commands/verify.md +16 -0
  34. package/dist/cli.d.ts +3 -0
  35. package/dist/cli.d.ts.map +1 -0
  36. package/dist/cli.js +150 -0
  37. package/dist/cli.js.map +1 -0
  38. package/dist/index.d.ts +8 -0
  39. package/dist/index.d.ts.map +1 -0
  40. package/dist/index.js +7 -0
  41. package/dist/index.js.map +1 -0
  42. package/dist/installer.d.ts +49 -0
  43. package/dist/installer.d.ts.map +1 -0
  44. package/dist/installer.js +125 -0
  45. package/dist/installer.js.map +1 -0
  46. package/package.json +64 -0
@@ -0,0 +1,340 @@
1
+ ---
2
+ description: Generate detailed explanations of code, architecture, or features
3
+ argument-hint: [file path, component name, feature, or concept to explain]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Code Explainer
8
+
9
+ I'll provide a detailed, educational explanation of the code, architecture, or feature you're interested in.
10
+
11
+ ## Current Context
12
+
13
+ **Working Directory**: !`pwd`
14
+
15
+ **Project Structure**:
16
+ !`ls -la src/ 2>/dev/null | head -15`
17
+
18
+ ---
19
+
20
+ ## What to Explain
21
+
22
+ $ARGUMENTS
23
+
24
+ ---
25
+
26
+ ## Explanation Framework
27
+
28
+ Based on what you want to understand, I'll provide explanations at different levels:
29
+
30
+ ### For a **File**:
31
+ 1. **Purpose**: Why this file exists
32
+ 2. **Structure**: How it's organized
33
+ 3. **Key Components**: Main functions/classes/exports
34
+ 4. **Data Flow**: How data moves through it
35
+ 5. **Dependencies**: What it imports and why
36
+ 6. **Usage**: Where and how it's used
37
+
38
+ ### For a **Component/Function**:
39
+ 1. **Purpose**: What problem it solves
40
+ 2. **Interface**: Inputs, outputs, props
41
+ 3. **Implementation**: How it works step-by-step
42
+ 4. **State Management**: What state it manages
43
+ 5. **Side Effects**: External interactions
44
+ 6. **Usage Examples**: How to use it
45
+
46
+ ### For a **Feature**:
47
+ 1. **Overview**: What the feature does
48
+ 2. **Architecture**: Components involved
49
+ 3. **Data Flow**: End-to-end flow
50
+ 4. **Key Files**: Where the implementation lives
51
+ 5. **Entry Points**: Where it starts
52
+ 6. **Integration Points**: How it connects to rest of system
53
+
54
+ ### For an **Architecture Concept**:
55
+ 1. **Definition**: What the concept means
56
+ 2. **Why It's Used**: Benefits in this project
57
+ 3. **Implementation**: How it's applied here
58
+ 4. **Examples**: Concrete examples from codebase
59
+ 5. **Trade-offs**: Pros and cons
60
+ 6. **Related Patterns**: Connected concepts
61
+
62
+ ---
63
+
64
+ ## Explanation Output Format
65
+
66
+ ```markdown
67
+ # Understanding: [Topic]
68
+
69
+ ## Quick Summary
70
+
71
+ [2-3 sentence overview for someone in a hurry]
72
+
73
+ ---
74
+
75
+ ## The Big Picture
76
+
77
+ ### What Is This?
78
+
79
+ [Plain English explanation of what this is and why it exists]
80
+
81
+ ### Why Does It Matter?
82
+
83
+ [Why this is important in the context of the project]
84
+
85
+ ### Where Does It Fit?
86
+
87
+ ```
88
+ [ASCII diagram showing where this fits in the architecture]
89
+
90
+ ┌─────────────────────────────────────────────┐
91
+ │ Application │
92
+ ├─────────────────────────────────────────────┤
93
+ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
94
+ │ │ UI │ → │ State │ → │ API │ │
95
+ │ └─────────┘ └─────────┘ └─────────┘ │
96
+ │ ↑ ↑ ↓ │
97
+ │ └─────────────┴─────────────┘ │
98
+ │ │
99
+ │ [THIS COMPONENT] ←── You are here │
100
+ └─────────────────────────────────────────────┘
101
+ ```
102
+
103
+ ---
104
+
105
+ ## Deep Dive
106
+
107
+ ### How It Works
108
+
109
+ #### Step 1: [First thing that happens]
110
+
111
+ ```typescript
112
+ // Relevant code snippet with annotations
113
+ const example = doThing() // <- This does X because Y
114
+ ```
115
+
116
+ **What's happening**: [Explanation]
117
+
118
+ #### Step 2: [Second thing]
119
+
120
+ ```typescript
121
+ // Next relevant code
122
+ ```
123
+
124
+ **What's happening**: [Explanation]
125
+
126
+ #### Step 3: [And so on...]
127
+
128
+ ---
129
+
130
+ ### Key Concepts
131
+
132
+ #### [Concept 1 Name]
133
+
134
+ **Definition**: [What it means]
135
+
136
+ **In This Code**: [How it's applied]
137
+
138
+ **Example**:
139
+ ```typescript
140
+ // Example from the actual codebase
141
+ ```
142
+
143
+ #### [Concept 2 Name]
144
+
145
+ [Same structure...]
146
+
147
+ ---
148
+
149
+ ### Data Flow
150
+
151
+ ```
152
+ [Input]
153
+
154
+ ┌───────────────┐
155
+ │ [Process 1] │ "Transforms X into Y"
156
+ └───────────────┘
157
+
158
+ ┌───────────────┐
159
+ │ [Process 2] │ "Validates and enriches"
160
+ └───────────────┘
161
+
162
+ ┌───────────────┐
163
+ │ [Process 3] │ "Persists to database"
164
+ └───────────────┘
165
+
166
+ [Output]
167
+ ```
168
+
169
+ ---
170
+
171
+ ### File Structure
172
+
173
+ ```
174
+ src/
175
+ ├── feature/
176
+ │ ├── components/ # UI components
177
+ │ │ ├── Thing.tsx # [purpose] ← THIS FILE
178
+ │ │ └── Other.tsx # [purpose]
179
+ │ ├── hooks/ # Custom hooks
180
+ │ │ └── useThing.ts # [purpose]
181
+ │ ├── lib/ # Business logic
182
+ │ │ └── thing.ts # [purpose]
183
+ │ └── types/ # TypeScript types
184
+ │ └── thing.ts # [purpose]
185
+ ```
186
+
187
+ ---
188
+
189
+ ## Code Walkthrough
190
+
191
+ ### `path/to/file.ts`
192
+
193
+ ```typescript
194
+ // Line 1-10: Imports
195
+ import { x } from 'y' // We need X because...
196
+
197
+ // Line 12-25: Types
198
+ interface Props { // Defines what this component accepts
199
+ name: string // The user's display name
200
+ onSubmit: () => void // Called when form is submitted
201
+ }
202
+
203
+ // Line 27-50: Main Component
204
+ export function Component({ name, onSubmit }: Props) {
205
+ // Line 28: State setup
206
+ const [value, setValue] = useState('') // Tracks input value
207
+
208
+ // Line 31-35: Effect for side effects
209
+ useEffect(() => {
210
+ // This runs when X changes because we need to Y
211
+ }, [dependency])
212
+
213
+ // Line 37-45: Event handler
214
+ const handleClick = () => {
215
+ // Validates input, then calls onSubmit
216
+ }
217
+
218
+ // Line 47-60: Render
219
+ return (
220
+ // JSX that displays the UI
221
+ )
222
+ }
223
+ ```
224
+
225
+ ---
226
+
227
+ ## Common Questions
228
+
229
+ ### "Why is it done this way?"
230
+
231
+ [Explain the reasoning behind key design decisions]
232
+
233
+ ### "What would break if I changed X?"
234
+
235
+ [Explain dependencies and ripple effects]
236
+
237
+ ### "How do I modify this?"
238
+
239
+ [Guide for making common changes]
240
+
241
+ ### "Where should I add new feature Y?"
242
+
243
+ [Point to the right location based on the architecture]
244
+
245
+ ---
246
+
247
+ ## Related Files
248
+
249
+ | File | Relationship | Purpose |
250
+ |------|--------------|---------|
251
+ | `path/to/related.ts` | Imports from | Provides utility functions |
252
+ | `path/to/parent.tsx` | Uses this | Parent component that renders this |
253
+ | `path/to/types.ts` | Types from | Type definitions |
254
+
255
+ ---
256
+
257
+ ## Key Takeaways
258
+
259
+ 1. **[Takeaway 1]**: [One sentence summary]
260
+ 2. **[Takeaway 2]**: [One sentence summary]
261
+ 3. **[Takeaway 3]**: [One sentence summary]
262
+
263
+ ---
264
+
265
+ ## Next Steps for Learning
266
+
267
+ - [ ] Read `related/file.ts` to understand [concept]
268
+ - [ ] Try modifying [small thing] to see how it works
269
+ - [ ] Look at how [similar feature] is implemented
270
+ - [ ] Check the tests in `__tests__/` for usage examples
271
+ ```
272
+
273
+ ---
274
+
275
+ ## Explanation Depth Levels
276
+
277
+ ### Quick (1-2 minutes to read)
278
+ - Purpose and key points only
279
+ - Good for: "What is this file?"
280
+
281
+ ### Standard (5-10 minutes to read)
282
+ - Full explanation with code walkthrough
283
+ - Good for: "How does this work?"
284
+
285
+ ### Deep (15+ minutes to read)
286
+ - Architecture, history, design decisions
287
+ - Good for: "I need to maintain/extend this"
288
+
289
+ **Ask**: "Would you like a quick, standard, or deep explanation?"
290
+
291
+ ---
292
+
293
+ ## Visual Explanation Tools
294
+
295
+ ### ASCII Architecture Diagrams
296
+ ```
297
+ ┌─────────────────────────────────────┐
298
+ │ Frontend │
299
+ │ ┌─────────┐ ┌─────────┐ │
300
+ │ │ React │ ───→ │ Hooks │ │
301
+ │ └─────────┘ └─────────┘ │
302
+ └─────────────────────────────────────┘
303
+
304
+ ↓ tRPC / REST
305
+ ┌─────────────────────────────────────┐
306
+ │ Backend │
307
+ │ ┌─────────┐ ┌─────────┐ │
308
+ │ │ Routes │ ───→ │ Prisma │ │
309
+ │ └─────────┘ └─────────┘ │
310
+ └─────────────────────────────────────┘
311
+ ```
312
+
313
+ ### Data Flow Arrows
314
+ ```
315
+ User Input → Validation → Transform → API Call → Response → UI Update
316
+
317
+ Error Handling → Error Display
318
+ ```
319
+
320
+ ### State Transitions
321
+ ```
322
+ [Initial] ──load──→ [Loading] ──success──→ [Ready]
323
+
324
+ └──error──→ [Error] ──retry──→ [Loading]
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Explanation Best Practices
330
+
331
+ 1. **Start with WHY** before HOW
332
+ 2. **Use analogies** for complex concepts
333
+ 3. **Show real code** from the codebase
334
+ 4. **Highlight patterns** that repeat
335
+ 5. **Connect to the big picture**
336
+ 6. **Anticipate questions**
337
+
338
+ ---
339
+
340
+ Read the relevant files, analyze the structure, and provide a comprehensive explanation. Use Read to examine code, Grep to find related files, and Glob to understand file organization. Tailor the explanation depth to what seems most useful.
@@ -0,0 +1,49 @@
1
+ ---
2
+ description: Finalize work session - update plans, commit changes with proper message
3
+ argument-hint: [optional: commit message prefix or focus area]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Finalize Work Session
8
+
9
+ I'll finalize your work session by updating plans, creating a comprehensive git commit, and documenting any bottlenecks or key decisions.
10
+
11
+ ## Current Session State
12
+
13
+ **Working Directory**: !`pwd`
14
+
15
+ **Branch**: !`git branch --show-current`
16
+
17
+ **Status**:
18
+ !`git status --short`
19
+
20
+ **Changes Summary**:
21
+ !`git diff --stat`
22
+
23
+ **Active Plans**:
24
+ !`ls -1 .claude/temp/PLAN_*.md 2>/dev/null || echo "No active plans"`
25
+
26
+ ---
27
+
28
+ ## Additional Context
29
+
30
+ $ARGUMENTS
31
+
32
+ ---
33
+
34
+ ## Launching Finalize Agent
35
+
36
+ The finalize agent will systematically:
37
+
38
+ - ✅ Review all changes made in this session
39
+ - ✅ Update PLAN files by checking off completed tasks
40
+ - ✅ Analyze commit history to understand what was accomplished
41
+ - ✅ Generate a comprehensive commit message with `feat:` prefix
42
+ - ✅ Identify and document any bottlenecks or key decisions
43
+ - ✅ Create optional phase summary file for important findings
44
+ - ✅ Stage and commit all changes with proper attribution
45
+ - ✅ Provide session completion summary
46
+
47
+ **This will create a git commit with all your work.**
48
+
49
+ Use the Task tool to launch the finalize agent (subagent_type="general-purpose") which will autonomously finalize your session and create the commit.
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: Flush all temporary files in .claude/temp
3
+ argument-hint:
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Flush Temporary Files
8
+
9
+ I'll flush all temporary files from `.claude/temp/`.
10
+
11
+ ## Current Contents
12
+
13
+ !`ls -lh .claude/temp/ 2>/dev/null || echo "Temp directory is empty or doesn't exist"`
14
+
15
+ ---
16
+
17
+ ## Flushing
18
+
19
+ Now I'll remove all files from `.claude/temp/`:
20
+
21
+ !`rm -rf .claude/temp/* 2>/dev/null && echo "✅ Flushed .claude/temp/" || echo "✅ Nothing to flush"`
22
+
23
+ ## Verification
24
+
25
+ !`ls -lh .claude/temp/ 2>/dev/null || echo "Temp directory is now empty"`
26
+
27
+ ---
28
+
29
+ **Done!** All temporary handoffs, plans, and other temp files have been flushed.
@@ -0,0 +1,46 @@
1
+ ---
2
+ description: Generate comprehensive handoff documentation for context switching
3
+ argument-hint: [optional: focus area or notes]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Generate Session Handoff
8
+
9
+ I'll create a comprehensive handoff document to capture the current state of your work.
10
+
11
+ ## Current Session Context
12
+
13
+ **Working Directory**: !`pwd`
14
+
15
+ **Git Status**:
16
+ !`git status --short`
17
+
18
+ **Recent Commits** (last 5):
19
+ !`git log --oneline -5`
20
+
21
+ **Unstaged Changes**:
22
+ !`git diff --stat`
23
+
24
+ **Staged Changes**:
25
+ !`git diff --cached --stat`
26
+
27
+ ---
28
+
29
+ ## Additional Context
30
+
31
+ $ARGUMENTS
32
+
33
+ ---
34
+
35
+ ## Generating Handoff
36
+
37
+ Launching the handoff agent to analyze your work session and generate `.claude/temp/HANDOFF.md`...
38
+
39
+ The agent will:
40
+ - ✅ Review recent commits and current changes
41
+ - ✅ Read modified files to understand context
42
+ - ✅ Identify what's complete vs in-progress
43
+ - ✅ Document next steps and blockers
44
+ - ✅ Preserve key decisions and patterns
45
+
46
+ Use the Task tool to launch the handoff agent (subagent_type="handoff") which will autonomously generate the handoff document.
@@ -0,0 +1,67 @@
1
+ ---
2
+ description: Autonomously implement a plan using subagent
3
+ argument-hint: {NAME} [optional: starting phase or task]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Autonomous Plan Implementation
8
+
9
+ I'll launch the implementation agent to **autonomously execute** your plan.
10
+
11
+ ## Plan to Execute
12
+
13
+ $ARGUMENTS
14
+
15
+ ---
16
+
17
+ ## Available Plans
18
+
19
+ **Plans in .claude/temp/**:
20
+ !`ls -1 .claude/temp/PLAN_*.md 2>/dev/null || echo "No plans found"`
21
+
22
+ **Current Branch**: !`git branch --show-current`
23
+
24
+ **Working Directory**: !`pwd`
25
+
26
+ ---
27
+
28
+ ## Autonomous Execution Mode
29
+
30
+ Launching the **implement agent** which will work independently in a separate context.
31
+
32
+ ### What the Agent Will Do
33
+
34
+ - ✅ Load `.claude/temp/PLAN_{NAME}.md`
35
+ - ✅ Parse all phases, tasks, and dependencies
36
+ - ✅ Create comprehensive task tracking (TodoWrite)
37
+ - ✅ Execute tasks systematically with validation
38
+ - ✅ Update plan document as tasks complete
39
+ - ✅ Run type checks and linting after each task
40
+ - ✅ Validate each phase before proceeding
41
+ - ✅ Handle blockers (will pause and report)
42
+ - ✅ Adapt plan if better approaches discovered
43
+ - ✅ Return comprehensive summary when complete
44
+
45
+ ### What You'll See
46
+
47
+ The agent will:
48
+ - Work autonomously in a separate context
49
+ - Come back with a **summary report** of what was done
50
+ - Ask for your input if it encounters blockers
51
+ - Update you on progress periodically
52
+
53
+ **This is hands-off autonomous implementation.**
54
+
55
+ ### When to Use This
56
+
57
+ Use `/implement` when:
58
+ - You want the work done independently
59
+ - The plan is clear and self-contained
60
+ - You'll check back later for results
61
+ - You trust the autonomous execution
62
+
63
+ **Want to be involved?** Use `/kickoff` instead for collaborative implementation.
64
+
65
+ ---
66
+
67
+ Use the Task tool to launch the implement agent (subagent_type="general-purpose") with the plan name and any additional context from arguments.
@@ -0,0 +1,65 @@
1
+ ---
2
+ description: Start implementing a plan interactively in main context
3
+ argument-hint: {NAME} [optional: starting phase or task]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Kickoff Plan Implementation
8
+
9
+ I'll load the plan and work through it **with you** in this conversation.
10
+
11
+ ## Plan to Execute
12
+
13
+ $ARGUMENTS
14
+
15
+ ---
16
+
17
+ ## Available Plans
18
+
19
+ **Plans in .claude/temp/**:
20
+ !`ls -1 .claude/temp/PLAN_*.md 2>/dev/null || echo "No plans found"`
21
+
22
+ **Current Branch**: !`git branch --show-current`
23
+
24
+ **Working Directory**: !`pwd`
25
+
26
+ ---
27
+
28
+ ## Interactive Implementation
29
+
30
+ I'll work through this plan collaboratively with you:
31
+
32
+ ### How This Works
33
+
34
+ 1. **Load & Review**: I'll load the plan and show you a summary
35
+ 2. **Environment Check**: Verify git status and project state
36
+ 3. **Task Tracking**: Set up TodoWrite for all plan tasks
37
+ 4. **Step-by-Step**: Execute tasks one at a time with your input
38
+ 5. **Validation**: Run type checks and lints after each task
39
+ 6. **Phase Approval**: Ask before moving between phases
40
+ 7. **Adapt Together**: Discuss blockers and adjustments as we go
41
+
42
+ ### Your Role
43
+
44
+ - You can guide, ask questions, and make decisions as we work
45
+ - Interrupt at any time to change direction
46
+ - Review changes before I move to the next task
47
+ - Stay involved throughout the implementation
48
+
49
+ **This is collaborative implementation in the main conversation.**
50
+
51
+ ---
52
+
53
+ Now let me load the plan and we'll get started together.
54
+
55
+ Use Read to load `.claude/temp/PLAN_{NAME}.md`, display a comprehensive summary with:
56
+ - Objective
57
+ - Phases and task counts
58
+ - Key files involved
59
+ - Any open questions or risks
60
+
61
+ Then ask: "Ready to start implementing? Which phase should we tackle first?"
62
+
63
+ Use TodoWrite to create todos for all tasks from the plan once user confirms.
64
+
65
+ Then begin executing tasks step-by-step, staying in the main context, validating as you go.
@@ -0,0 +1,118 @@
1
+ ---
2
+ description: Parallelize plan execution across multiple agents for faster development
3
+ argument-hint: {PLAN_NAME} [optional: max-agents count]
4
+ author: "@markoradak"
5
+ ---
6
+
7
+ # Parallelize Execution
8
+
9
+ I'll analyze your plan or task, identify parallelization opportunities, and spawn multiple agents to work simultaneously.
10
+
11
+ ## Current State
12
+
13
+ **Working Directory**: !`pwd`
14
+
15
+ **Branch**: !`git branch --show-current`
16
+
17
+ **Available Plans**:
18
+ !`ls -1 .claude/temp/PLAN_*.md 2>/dev/null || echo "No plans found"`
19
+
20
+ ---
21
+
22
+ ## Parallelization Target
23
+
24
+ $ARGUMENTS
25
+
26
+ ---
27
+
28
+ ## How This Works
29
+
30
+ 1. **Analyze**: I'll examine the plan/task for independent work streams
31
+ 2. **Partition**: Group tasks that can run in parallel (no file conflicts)
32
+ 3. **Spawn**: Launch multiple agents, each handling a partition
33
+ 4. **Monitor**: Track progress across all agents
34
+ 5. **Consolidate**: Merge results and validate the combined work
35
+
36
+ ---
37
+
38
+ ## Launching Parallel Orchestrator
39
+
40
+ The orchestrator agent will:
41
+
42
+ - **Dependency Analysis**: Map which tasks depend on others
43
+ - **Conflict Detection**: Identify tasks that touch the same files
44
+ - **Optimal Partitioning**: Create work streams that maximize parallelism
45
+ - **Agent Spawning**: Launch agents for each stream using Task tool
46
+ - **Progress Tracking**: Monitor completion status
47
+ - **Validation**: Run typecheck/lint on combined results
48
+ - **Summary Report**: Show what was accomplished
49
+
50
+ ### Parallelization Rules
51
+
52
+ **CAN Parallelize**:
53
+ - Tasks in different files/modules
54
+ - Independent feature implementations
55
+ - Research/exploration tasks
56
+ - Test writing for different areas
57
+ - Documentation updates
58
+
59
+ **CANNOT Parallelize**:
60
+ - Tasks that modify the same file
61
+ - Tasks with data dependencies (B needs output of A)
62
+ - Sequential migrations/schema changes
63
+ - Tasks requiring shared state
64
+
65
+ ### Agent Limits
66
+
67
+ - **Default**: 3-5 agents (balances speed vs. coordination overhead)
68
+ - **Maximum**: 8 agents (beyond this, conflicts become likely)
69
+ - **Minimum**: 2 agents (otherwise just use `/implement`)
70
+
71
+ ---
72
+
73
+ ## Expected Output
74
+
75
+ After parallel execution completes:
76
+
77
+ ```markdown
78
+ # Parallel Execution Complete
79
+
80
+ **Plan**: {PLAN_NAME}
81
+ **Agents Spawned**: [X]
82
+ **Total Duration**: [time]
83
+ **Tasks Completed**: [Y/Z]
84
+
85
+ ## Stream Results
86
+
87
+ ### Stream 1: [Description]
88
+ - Agent: [ID]
89
+ - Status: Complete
90
+ - Tasks: [list]
91
+ - Files Modified: [list]
92
+
93
+ ### Stream 2: [Description]
94
+ - Agent: [ID]
95
+ - Status: Complete
96
+ - Tasks: [list]
97
+ - Files Modified: [list]
98
+
99
+ ## Validation
100
+
101
+ - Type Check: [Pass/Fail]
102
+ - Lint: [Pass/Fail]
103
+ - Conflicts: [None/List]
104
+
105
+ ## Summary
106
+
107
+ [What was accomplished across all streams]
108
+
109
+ ## Next Steps
110
+
111
+ 1. Review changes: `git diff`
112
+ 2. Run tests: `pnpm test`
113
+ 3. Continue with remaining tasks (if any)
114
+ ```
115
+
116
+ ---
117
+
118
+ Use the Task tool to launch the parallelize orchestrator agent (subagent_type="parallelize") which will analyze the plan, partition work, spawn agents, and coordinate parallel execution.