opencodekit 0.12.7 → 0.13.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 (32) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +2753 -508
  3. package/dist/template/.opencode/AGENTS.md +35 -128
  4. package/dist/template/.opencode/README.md +4 -3
  5. package/dist/template/.opencode/command/design.md +1 -0
  6. package/dist/template/.opencode/command/fix.md +28 -1
  7. package/dist/template/.opencode/command/implement.md +195 -39
  8. package/dist/template/.opencode/command/new-feature.md +229 -188
  9. package/dist/template/.opencode/command/plan.md +354 -82
  10. package/dist/template/.opencode/command/research.md +29 -6
  11. package/dist/template/.opencode/command/start.md +227 -0
  12. package/dist/template/.opencode/command/triage.md +66 -12
  13. package/dist/template/.opencode/memory/project/beads-workflow.md +510 -0
  14. package/dist/template/.opencode/memory/session-context.md +40 -0
  15. package/dist/template/.opencode/opencode.json +20 -5
  16. package/dist/template/.opencode/package.json +1 -1
  17. package/dist/template/.opencode/plugin/compaction.ts +62 -18
  18. package/dist/template/.opencode/plugin/lib/notify.ts +2 -3
  19. package/dist/template/.opencode/plugin/sessions.ts +1 -1
  20. package/dist/template/.opencode/plugin/skill-mcp.ts +11 -12
  21. package/dist/template/.opencode/skill/beads/SKILL.md +44 -0
  22. package/dist/template/.opencode/skill/source-code-research/SKILL.md +537 -0
  23. package/dist/template/.opencode/tool/ast-grep.ts +3 -3
  24. package/dist/template/.opencode/tool/bd-inbox.ts +7 -6
  25. package/dist/template/.opencode/tool/bd-msg.ts +3 -3
  26. package/dist/template/.opencode/tool/bd-release.ts +2 -2
  27. package/dist/template/.opencode/tool/bd-reserve.ts +5 -4
  28. package/dist/template/.opencode/tool/memory-read.ts +2 -2
  29. package/dist/template/.opencode/tool/memory-search.ts +2 -2
  30. package/dist/template/.opencode/tool/memory-update.ts +11 -12
  31. package/dist/template/.opencode/tool/observation.ts +6 -6
  32. package/package.json +5 -2
@@ -1,22 +1,20 @@
1
1
  ---
2
2
  description: Create a new feature with discovery, spec, plan, and sub-tasks
3
- argument-hint: "<feature-name> [--priority=<0-4>] [--type=<type>] [--branch] [--quick]"
3
+ argument-hint: "<feature-name> [--priority=<0-4>] [--type=<type>] [--worktree] [--quick]"
4
4
  agent: planner
5
- model: proxypal/gemini-3-flash-preview
6
5
  ---
7
6
 
8
7
  # New Feature: $ARGUMENTS
9
8
 
10
- Create a complete feature track with discovery, specification, implementation plan, and sub-tasks.
9
+ Create a complete feature track with Epic → Task → Subtask hierarchy, proper worktree isolation, and subagent delegation.
11
10
 
12
- ## Load Beads Skill
11
+ ## Load Skills
13
12
 
14
13
  ```typescript
15
14
  skill({ name: "beads" });
15
+ skill({ name: "brainstorming" });
16
16
  ```
17
17
 
18
- This skill provides Epic → Task → Subtask hierarchy for complex features.
19
-
20
18
  ## Parse Arguments
21
19
 
22
20
  | Argument | Default | Options |
@@ -24,23 +22,67 @@ This skill provides Epic → Task → Subtask hierarchy for complex features.
24
22
  | Feature name | required | Descriptive name |
25
23
  | `--priority` | 2 | 0 (critical) to 4 (backlog) |
26
24
  | `--type` | feature | feature, bug, refactor, chore |
27
- | `--branch` | false | Create git branch |
25
+ | `--worktree` | false | Create git worktree for isolation |
28
26
  | `--quick` | false | Skip brainstorming, use minimal spec |
29
27
 
30
28
  ---
31
29
 
30
+ ## Hierarchy Model
31
+
32
+ ```
33
+ Epic (feature-level)
34
+ ├── Task 1 (domain or phase)
35
+ │ ├── Subtask 1.1 (atomic work unit)
36
+ │ └── Subtask 1.2
37
+ ├── Task 2 (blocked by Task 1)
38
+ │ └── Subtask 2.1
39
+ └── Task 3 (blocked by Task 2)
40
+ ```
41
+
42
+ | Level | Scope | Typical Duration | Agent Work |
43
+ | ------- | ------------ | ---------------- | ------------------------- |
44
+ | Epic | Full feature | Days-weeks | Coordinate, not implement |
45
+ | Task | Domain/phase | Hours-day | May implement or delegate |
46
+ | Subtask | Atomic unit | 30min-2hrs | Implement directly |
47
+
48
+ ---
49
+
32
50
  ## Phase 1: Context Gathering
33
51
 
34
- Before creating anything, understand of landscape:
52
+ Before creating anything, understand the landscape.
35
53
 
36
- !`bd list --status all --limit 20`
54
+ ### Parallel Subagent Research
37
55
 
38
- # Analyze codebase structure
56
+ ```typescript
57
+ // Fire both in parallel - planner is read-only
58
+ Task({
59
+ subagent_type: "explore",
60
+ prompt: `Research codebase for "${$ARGUMENTS}":
61
+ 1. Find similar implementations or patterns
62
+ 2. Identify likely affected directories
63
+ 3. Find existing tests in related areas
64
+ 4. Check for related beads (open or closed)
65
+ Return: File paths, patterns, test locations, related beads`,
66
+ description: "Explore codebase for feature",
67
+ });
68
+
69
+ Task({
70
+ subagent_type: "scout",
71
+ prompt: `Research best practices for "${$ARGUMENTS}":
72
+ 1. Industry patterns for this type of feature
73
+ 2. Library/framework recommendations
74
+ 3. Common pitfalls to avoid
75
+ Return: Recommendations, code examples, warnings`,
76
+ description: "Scout best practices",
77
+ });
78
+ ```
39
79
 
40
- glob pattern="src/\*_/_.{ts,tsx,py}"
41
- lsp_lsp_workspace_symbols({ query: "[relevant-terms]" })
80
+ ### Check Existing Work
42
81
 
43
- !`git log --oneline -10 -- src/[relevant-path]/`
82
+ ```bash
83
+ bd list --status all --limit 20 | grep -i "[relevant-terms]"
84
+ git log --oneline -10 -- src/[relevant-path]/
85
+ ```
44
86
 
45
87
  **Report:**
46
88
 
@@ -48,25 +90,24 @@ lsp_lsp_workspace_symbols({ query: "[relevant-terms]" })
48
90
  Context Analysis
49
91
  ━━━━━━━━━━━━━━━━
50
92
 
51
- Related beads found:
93
+ Related beads:
52
94
  - bd-abc123: "User auth system" (closed)
53
95
  - bd-def456: "Session management" (in_progress)
54
96
 
55
- Relevant code areas:
56
- - src/auth/ (12 files)
57
- - src/api/users/ (5 files)
97
+ Codebase signals:
98
+ - Similar patterns in: src/auth/, src/api/
99
+ - Test patterns: src/__tests__/*.test.ts
100
+ - Recent activity: 3 commits this week
58
101
 
59
- Recent changes:
60
- - 3 commits in last week to src/auth/
102
+ External research:
103
+ - [Key findings from scout]
61
104
  ```
62
105
 
63
106
  ---
64
107
 
65
108
  ## Phase 2: Brainstorming (unless --quick)
66
109
 
67
- **Load skill:** `skill({ name: "brainstorming" })`
68
-
69
- Before filling templates, explore the problem space:
110
+ Before filling templates, explore the problem space.
70
111
 
71
112
  ### Discovery Questions
72
113
 
@@ -80,7 +121,7 @@ Ask the user (or infer from context):
80
121
  6. **Dependencies**: What does this need to work?
81
122
  7. **Scope**: What's explicitly NOT included?
82
123
 
83
- ### Exploration
124
+ ### Present Options
84
125
 
85
126
  ```
86
127
  Brainstorming: [Feature Name]
@@ -114,13 +155,17 @@ Proceed with spec? (yes/modify/explore-more)
114
155
  bd create "[Feature Name]" -t epic -p [priority]
115
156
  ```
116
157
 
117
- Capture the bead ID for artifact creation.
158
+ Capture the bead ID (e.g., `bd-a1b2c3`) for artifact creation.
159
+
160
+ ```bash
161
+ mkdir -p .beads/artifacts/[bead-id]
162
+ ```
118
163
 
119
164
  ---
120
165
 
121
166
  ## Phase 4: Create Specification
122
167
 
123
- Create `.beads/artifacts/[bead-id]/spec.md`:
168
+ Write `.beads/artifacts/[bead-id]/spec.md`:
124
169
 
125
170
  ```markdown
126
171
  # [Feature Name] Specification
@@ -166,21 +211,15 @@ Nice-to-have (P2):
166
211
  - [Component 1]: [Change description]
167
212
  - [Component 2]: [Change description]
168
213
 
169
- ### API Changes
214
+ ### Files Affected
170
215
 
171
- | Endpoint | Method | Description |
172
- | -------- | ------ | -------------- |
173
- | /api/... | POST | [What it does] |
174
-
175
- ### Database Changes
176
-
177
- - [ ] New table: [table_name]
178
- - [ ] New column: [table.column]
179
- - [ ] Migration needed: [yes/no]
216
+ | File | Change |
217
+ | --------- | -------------- |
218
+ | `src/...` | [What changes] |
180
219
 
181
220
  ### Dependencies
182
221
 
183
- - External: [APIs, services]
222
+ - External: [APIs, services, libraries]
184
223
  - Internal: [Other features, beads]
185
224
 
186
225
  ## Estimation
@@ -189,203 +228,207 @@ Nice-to-have (P2):
189
228
  | ---------- | ----------- | ----------------- |
190
229
  | [S/M/L/XL] | [X-Y hours] | [High/Medium/Low] |
191
230
 
192
- Breakdown:
193
-
194
- - Design: [X hours]
195
- - Implementation: [X hours]
196
- - Testing: [X hours]
197
- - Documentation: [X hours]
198
-
199
231
  ## Risks
200
232
 
201
- | Risk | Likelihood | Impact | Mitigation |
202
- | -------- | ---------- | ------ | ----------------------- |
203
- | [Risk 1] | Medium | High | [How to prevent/handle] |
204
- | [Risk 2] | Low | Medium | [How to prevent/handle] |
233
+ | Risk | Likelihood | Impact | Mitigation |
234
+ | -------- | ---------- | ------ | --------------- |
235
+ | [Risk 1] | Medium | High | [How to handle] |
205
236
 
206
237
  ## Out of Scope
207
238
 
208
- Explicitly NOT included in this feature:
209
-
210
239
  - [Thing 1]
211
240
  - [Thing 2]
212
241
 
213
242
  ## Success Metrics
214
243
 
215
- How we'll measure success:
216
-
217
244
  - [ ] [Metric 1]: [Target]
218
245
  - [ ] [Metric 2]: [Target]
219
-
220
- ## Open Questions
221
-
222
- - [ ] [Question that needs answering]
223
- - [ ] [Question that needs answering]
224
246
  ```
225
247
 
226
248
  ---
227
249
 
228
- ## Phase 5: Validate Specification
250
+ ## Phase 5: Create Task Breakdown
229
251
 
230
- Before proceeding to plan, validate spec completeness:
252
+ Decompose epic into tasks, tasks into subtasks.
231
253
 
232
- ```
233
- Spec Validation
234
- ━━━━━━━━━━━━━━━
254
+ ### Decomposition Rules
235
255
 
236
- Problem statement clear
237
- User stories defined
238
- Acceptance criteria measurable
239
- Technical design incomplete - missing API details
240
- Estimation provided
241
- Risks identified
242
- Open questions remain (2 items)
256
+ | Signal | Create Separate Task |
257
+ | --------------------------------------------- | -------------------- |
258
+ | Different domain (frontend vs backend) | Yes |
259
+ | Natural phase boundary | Yes |
260
+ | Could be done in parallel by different agents | Yes |
261
+ | Strong dependency chain | Yes, with blockers |
262
+ | Same file, same concern | No - keep together |
243
263
 
244
- Validation: PASS with warnings
264
+ ### Task Creation with Dependencies
245
265
 
246
- Proceed to plan? (yes/fix-warnings/cancel)
266
+ ```bash
267
+ # Phase 1: Foundation (no blockers - starts immediately)
268
+ bd create "Setup database schema" -t task -p 2
269
+ # Returns: bd-xxx1
270
+
271
+ # Phase 2: Core (blocked by Phase 1)
272
+ bd create "Implement core API endpoints" -t task -p 2
273
+ bd dep add bd-xxx2 bd-xxx1 --type blocks
274
+ # Returns: bd-xxx2
275
+
276
+ # Phase 3: Frontend (blocked by Phase 2)
277
+ bd create "Build UI components" -t task -p 2
278
+ bd dep add bd-xxx3 bd-xxx2 --type blocks
279
+ # Returns: bd-xxx3
280
+
281
+ # Phase 4: Integration (blocked by Phase 3)
282
+ bd create "Integration and E2E tests" -t task -p 2
283
+ bd dep add bd-xxx4 bd-xxx3 --type blocks
284
+ # Returns: bd-xxx4
285
+
286
+ # Link all tasks to epic
287
+ bd dep add bd-xxx1 [epic-id]
288
+ bd dep add bd-xxx2 [epic-id]
289
+ bd dep add bd-xxx3 [epic-id]
290
+ bd dep add bd-xxx4 [epic-id]
247
291
  ```
248
292
 
249
- ---
250
-
251
- ## Phase 6: Create Implementation Plan
293
+ ### Subtask Creation (for complex tasks)
252
294
 
253
- Create `.beads/artifacts/[bead-id]/plan.md`:
295
+ ```bash
296
+ # For Task 2 (API endpoints), create subtasks:
297
+ bd create "POST /api/users endpoint" -t subtask -p 2
298
+ bd dep add bd-xxx2.1 bd-xxx2
254
299
 
255
- ```markdown
256
- # [Feature Name] Implementation Plan
300
+ bd create "GET /api/users/:id endpoint" -t subtask -p 2
301
+ bd dep add bd-xxx2.2 bd-xxx2
302
+ bd dep add bd-xxx2.2 bd-xxx2.1 --type blocks # Sequential if needed
303
+ ```
257
304
 
258
- ## Overview
305
+ ### Verify Hierarchy
259
306
 
260
- **Epic:** [bead-id]
261
- **Estimated effort:** [X-Y hours]
262
- **Target completion:** [Date or sprint]
307
+ ```bash
308
+ bd dep tree [epic-id]
309
+ ```
263
310
 
264
- ## Phase 1: Foundation [S]
311
+ Expected output:
265
312
 
266
- **Estimate:** 2-4 hours
267
- **Assignee:** [role or @mention]
313
+ ```
314
+ bd-epic: [Feature Name]
315
+ ├── bd-xxx1: Setup database schema ← READY
316
+ ├── bd-xxx2: Implement core API (blocked by bd-xxx1)
317
+ │ ├── bd-xxx2.1: POST /api/users
318
+ │ └── bd-xxx2.2: GET /api/users/:id (blocked by bd-xxx2.1)
319
+ ├── bd-xxx3: Build UI components (blocked by bd-xxx2)
320
+ └── bd-xxx4: Integration tests (blocked by bd-xxx3)
321
+ ```
268
322
 
269
- Tasks:
323
+ ---
270
324
 
271
- 1. [ ] Set up database schema
272
- 2. [ ] Create base API types
325
+ ## Phase 6: Create Implementation Plan
273
326
 
274
- **Exit criteria:** Database migrated, types compile
327
+ Write `.beads/artifacts/[bead-id]/plan.md`:
275
328
 
276
- ## Phase 2: Core Implementation [M]
329
+ ```markdown
330
+ # [Feature Name] Implementation Plan
277
331
 
278
- **Estimate:** 4-8 hours
279
- **Depends on:** Phase 1
332
+ **Epic:** [bead-id]
333
+ **Estimated effort:** [X-Y hours total]
334
+ **Approach:** [Selected from brainstorming]
280
335
 
281
- Tasks:
336
+ ## Task 1: [Title] [S/M]
282
337
 
283
- 1. [ ] Implement [core feature]
284
- 2. [ ] Add business logic
285
- 3. [ ] Connect to existing systems
338
+ **Bead:** bd-xxx1
339
+ **Estimate:** 2-4 hours
340
+ **Blocked by:** None (start immediately)
286
341
 
287
- **Exit criteria:** Core functionality works in isolation
342
+ Work:
288
343
 
289
- ## Phase 3: Integration [M]
344
+ - [ ] [Specific task]
345
+ - [ ] [Specific task]
290
346
 
291
- **Estimate:** 4-8 hours
292
- **Depends on:** Phase 2
347
+ Verify: `[command to verify]`
293
348
 
294
- Tasks:
349
+ ---
295
350
 
296
- 1. [ ] Integrate with [system]
297
- 2. [ ] Add error handling
298
- 3. [ ] Implement edge cases
351
+ ## Task 2: [Title] [M]
299
352
 
300
- **Exit criteria:** Feature works end-to-end
353
+ **Bead:** bd-xxx2
354
+ **Estimate:** 4-6 hours
355
+ **Blocked by:** Task 1
301
356
 
302
- ## Phase 4: Testing & Polish [S]
357
+ Subtasks:
303
358
 
304
- **Estimate:** 2-4 hours
305
- **Depends on:** Phase 3
359
+ - bd-xxx2.1: [Subtask title]
360
+ - bd-xxx2.2: [Subtask title]
306
361
 
307
- Tasks:
362
+ Work:
308
363
 
309
- 1. [ ] Write unit tests
310
- 2. [ ] Write integration tests
311
- 3. [ ] Manual testing
312
- 4. [ ] Fix bugs found
364
+ - [ ] [Specific task]
313
365
 
314
- **Exit criteria:** Tests pass, no critical bugs
366
+ Verify: `[command to verify]`
315
367
 
316
- ## Testing Strategy
368
+ ---
317
369
 
318
- | Type | Coverage | Focus |
319
- | ----------- | ------------- | -------------------- |
320
- | Unit | Core logic | [specific modules] |
321
- | Integration | API endpoints | [specific endpoints] |
322
- | E2E | Critical path | [user flow] |
370
+ [Continue for all tasks...]
323
371
 
324
- ## Rollout Plan
372
+ ## Verification Checklist
325
373
 
326
- 1. [ ] Deploy to staging
327
- 2. [ ] QA verification
328
- 3. [ ] Deploy to production (feature flag)
329
- 4. [ ] Monitor metrics
330
- 5. [ ] Gradual rollout (10% → 50% → 100%)
374
+ - [ ] All acceptance criteria met
375
+ - [ ] Tests pass: `npm test`
376
+ - [ ] Types check: `npm run typecheck`
377
+ - [ ] Lint clean: `npm run lint`
331
378
 
332
379
  ## Rollback Plan
333
380
 
334
381
  If issues detected:
335
382
 
336
- 1. Disable feature flag
337
- 2. Revert database migration (if applicable)
338
- 3. Deploy previous version
339
- 4. Investigate and fix
340
-
341
- ## Definition of Done
342
-
343
- - [ ] All acceptance criteria met
344
- - [ ] Tests written and passing
345
- - [ ] Code reviewed
346
- - [ ] Documentation updated
347
- - [ ] Feature flag configured
348
- - [ ] Monitoring in place
383
+ 1. [Step 1]
384
+ 2. [Step 2]
349
385
  ```
350
386
 
351
387
  ---
352
388
 
353
- ## Phase 7: Create Sub-Task Beads
389
+ ## Phase 7: Worktree Setup (if --worktree)
390
+
391
+ For epic-level work, create an isolated workspace:
354
392
 
355
- Break phases into individual trackable beads:
393
+ ```typescript
394
+ skill({ name: "using-git-worktrees" });
395
+ ```
356
396
 
357
397
  ```bash
358
- # Phase 1 tasks
359
- bd create "Set up database schema for [feature]" -t task -p 2
360
- bd dep add <task-id> <epic-id>
398
+ # Ensure .gitignore has worktree directory
399
+ grep -q "^\.worktrees/$" .gitignore || echo ".worktrees/" >> .gitignore
361
400
 
362
- # Phase 2 tasks (with dependency)
363
- bd create "Implement [core feature]" -t task -p 2
364
- bd dep add <task-id> <epic-id>
365
- bd dep add <task-id> <phase-1-bead-id>
401
+ # Create worktree for the epic
402
+ git worktree add .worktrees/[epic-id] -b feature/[feature-name]
366
403
 
367
- # Continue for all phases...
404
+ # Setup in worktree
405
+ cd .worktrees/[epic-id]
406
+ npm install # or appropriate setup
407
+
408
+ # Verify clean baseline
409
+ npm test
368
410
  ```
369
411
 
412
+ **Worktree + Beads Integration:**
413
+
414
+ - `.beads/` database is shared (main repo)
415
+ - All `bd` commands work normally
416
+ - Commits go to the feature branch
417
+ - Merge back to main when epic complete
418
+
370
419
  ---
371
420
 
372
- ## Phase 8: Create Branch (if --branch)
421
+ ## Phase 8: Sync and Report
373
422
 
374
423
  ```bash
375
- # Create feature branch
376
- git checkout -b feature/[feature-name]
377
-
378
- # Or with bead ID
379
- git checkout -b feature/[bead-id]-[feature-name]
424
+ bd sync
380
425
  ```
381
426
 
382
- ---
383
-
384
- ## Output
427
+ **Output:**
385
428
 
386
429
  ```
387
430
  Feature Created: [Feature Name]
388
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
431
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
389
432
 
390
433
  Epic: [bead-id]
391
434
  Priority: P[X]
@@ -395,50 +438,48 @@ Artifacts:
395
438
  ├── .beads/artifacts/[bead-id]/spec.md
396
439
  └── .beads/artifacts/[bead-id]/plan.md
397
440
 
398
- Sub-tasks created:
399
- ├── [task-id-1]: Set up database schema [S]
400
- ├── [task-id-2]: Implement core feature [M] → blocked by task-1
401
- ├── [task-id-3]: Integration [M] → blocked by task-2
402
- └── [task-id-4]: Testing & polish [S] → blocked by task-3
441
+ Hierarchy:
442
+ ├── [task-id-1]: [Title] [S] ← READY
443
+ ├── [task-id-2]: [Title] [M] → blocked by task-1
444
+ ├── [subtask-2.1]: [Title]
445
+ └── [subtask-2.2]: [Title]
446
+ ├── [task-id-3]: [Title] [M] → blocked by task-2
447
+ └── [task-id-4]: [Title] [S] → blocked by task-3
403
448
 
404
- Branch: feature/[feature-name] (if --branch)
449
+ Workspace: [main | worktree: .worktrees/[epic-id]]
405
450
 
406
451
  Next Steps:
407
- ├── View feature: bd show [bead-id]
408
- ├── Start first task: /implement [task-id-1]
409
- └── View ready work: bd list --status ready
452
+ ├── Start first task: /start [task-id-1]
453
+ ├── View ready work: bd ready
454
+ └── View full tree: bd dep tree [epic-id]
410
455
  ```
411
456
 
412
457
  ---
413
458
 
414
459
  ## Quick Mode (--quick)
415
460
 
416
- Skip brainstorming, use minimal spec:
461
+ Skip brainstorming, minimal spec:
417
462
 
418
463
  - No discovery questions
419
- - Minimal spec template
420
- - Single-phase plan
421
- - No sub-task breakdown
464
+ - Single-paragraph spec
465
+ - Flat task list (no subtasks)
466
+ - No worktree
422
467
 
423
468
  Use for: Small features, bug fixes, well-understood work.
424
469
 
425
470
  ---
426
471
 
427
- ## Estimation Framework
428
-
429
- | Size | Hours | Typical Scope |
430
- | ---- | -------- | ---------------------------------------- |
431
- | XS | 1-2 | Config change, typo fix |
432
- | S | 2-4 | Simple feature, single file |
433
- | M | 4-8 | Multi-file feature, some complexity |
434
- | L | 1-3 days | Significant feature, multiple components |
435
- | XL | 3-5 days | Major feature, architecture impact |
472
+ ## Subagent Delegation Summary
436
473
 
437
- **Confidence levels:**
474
+ | Phase | Subagent | Purpose |
475
+ | ------------------ | ---------- | -------------------------- |
476
+ | Context gathering | `@explore` | Find codebase patterns |
477
+ | Context gathering | `@scout` | Research best practices |
478
+ | Brainstorming | None | Interactive with user |
479
+ | Spec/Plan creation | None | Planner writes artifacts |
480
+ | Implementation | `@build` | `/start` then `/implement` |
438
481
 
439
- - **High**: Done this before, clear path
440
- - **Medium**: Some unknowns, general approach clear
441
- - **Low**: Significant unknowns, may need spikes
482
+ **Key Rule:** Planner creates structure, Build executes work. Subagents research, leaders act.
442
483
 
443
484
  ---
444
485
 
@@ -446,8 +487,8 @@ Use for: Small features, bug fixes, well-understood work.
446
487
 
447
488
  | Need | Command |
448
489
  | -------------------- | --------------------------- |
449
- | Start implementation | `/implement <bead-id>` |
450
- | View feature status | `/status <bead-id>` |
451
- | Import existing plan | `/import-plan` |
452
- | Complete feature | `/finish <bead-id>` |
453
- | Revert feature | `/revert-feature <bead-id>` |
490
+ | Start first task | `/start <task-id>` |
491
+ | View feature status | `bd dep tree <epic-id>` |
492
+ | Import external plan | `/import-plan` |
493
+ | Complete feature | `/finish <epic-id>` |
494
+ | Abandon feature | `/revert-feature <epic-id>` |