opencodekit 0.11.0 → 0.11.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.
- package/dist/index.js +1 -1
- package/dist/template/.opencode/command/accessibility-check.md +6 -2
- package/dist/template/.opencode/command/analyze-mockup.md +6 -0
- package/dist/template/.opencode/command/analyze-project.md +6 -0
- package/dist/template/.opencode/command/brainstorm.md +6 -0
- package/dist/template/.opencode/command/commit.md +6 -1
- package/dist/template/.opencode/command/create.md +369 -134
- package/dist/template/.opencode/command/design-audit.md +6 -0
- package/dist/template/.opencode/command/design.md +6 -0
- package/dist/template/.opencode/command/finish.md +1 -0
- package/dist/template/.opencode/command/fix-ci.md +1 -0
- package/dist/template/.opencode/command/fix-types.md +6 -0
- package/dist/template/.opencode/command/fix-ui.md +6 -0
- package/dist/template/.opencode/command/fix.md +6 -0
- package/dist/template/.opencode/command/handoff.md +6 -1
- package/dist/template/.opencode/command/implement.md +1 -0
- package/dist/template/.opencode/command/import-plan.md +6 -1
- package/dist/template/.opencode/command/integration-test.md +5 -0
- package/dist/template/.opencode/command/issue.md +6 -0
- package/dist/template/.opencode/command/new-feature.md +8 -0
- package/dist/template/.opencode/command/plan.md +282 -21
- package/dist/template/.opencode/command/pr.md +6 -1
- package/dist/template/.opencode/command/research-and-implement.md +6 -0
- package/dist/template/.opencode/command/research.md +6 -0
- package/dist/template/.opencode/command/resume.md +8 -0
- package/dist/template/.opencode/command/revert-feature.md +6 -1
- package/dist/template/.opencode/command/review-codebase.md +6 -0
- package/dist/template/.opencode/command/status.md +6 -0
- package/dist/template/.opencode/command/triage.md +6 -0
- package/dist/template/.opencode/command/ui-review.md +4 -0
- package/dist/template/.opencode/skill/beads/SKILL.md +108 -3
- package/package.json +1 -1
|
@@ -6,7 +6,12 @@ agent: build
|
|
|
6
6
|
|
|
7
7
|
# Handoff
|
|
8
8
|
|
|
9
|
-
**Load
|
|
9
|
+
**Load skills:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" }); // Session protocol
|
|
13
|
+
skill({ name: "verification-before-completion" });
|
|
14
|
+
```
|
|
10
15
|
|
|
11
16
|
## Phase 1: Check Messages
|
|
12
17
|
|
|
@@ -6,7 +6,12 @@ agent: build
|
|
|
6
6
|
|
|
7
7
|
# Import Plan
|
|
8
8
|
|
|
9
|
-
**Load
|
|
9
|
+
**Load skills:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" }); // For hierarchy and dependencies
|
|
13
|
+
skill({ name: "executing-plans" }); // For plan execution
|
|
14
|
+
```
|
|
10
15
|
|
|
11
16
|
Import a markdown plan into Beads epics and issues. Follows Steve Yegge's "plan outside, import inside" pattern.
|
|
12
17
|
|
|
@@ -10,6 +10,11 @@ Create integration tests that verify module boundaries and system interactions.
|
|
|
10
10
|
|
|
11
11
|
## Load Skills
|
|
12
12
|
|
|
13
|
+
```typescript
|
|
14
|
+
skill({ name: "beads" }); // Session protocol
|
|
15
|
+
skill({ name: "test-driven-development" });
|
|
16
|
+
```
|
|
17
|
+
|
|
13
18
|
```typescript
|
|
14
19
|
skill({ name: "test-driven-development" });
|
|
15
20
|
skill({ name: "condition-based-waiting" }); // For async tests
|
|
@@ -9,6 +9,14 @@ model: proxypal/gemini-3-flash-preview
|
|
|
9
9
|
|
|
10
10
|
Create a complete feature track with discovery, specification, implementation plan, and sub-tasks.
|
|
11
11
|
|
|
12
|
+
## Load Beads Skill
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
skill({ name: "beads" });
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
This skill provides Epic → Task → Subtask hierarchy for complex features.
|
|
19
|
+
|
|
12
20
|
## Parse Arguments
|
|
13
21
|
|
|
14
22
|
| Argument | Default | Options |
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Create implementation plan
|
|
3
|
-
argument-hint: "<bead-id>"
|
|
2
|
+
description: Create implementation plan with optional bead decomposition
|
|
3
|
+
argument-hint: "<bead-id> [--create-beads] [--parallel]"
|
|
4
4
|
agent: planner
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Plan
|
|
8
8
|
|
|
9
|
-
**Load
|
|
9
|
+
**Load skills:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" }); // For hierarchy and dependencies
|
|
13
|
+
skill({ name: "writing-plans" }); // For plan structure
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Arguments
|
|
17
|
+
|
|
18
|
+
| Argument | Default | Description |
|
|
19
|
+
| ---------------- | -------- | ------------------------------------- |
|
|
20
|
+
| `<bead-id>` | required | The bead to plan |
|
|
21
|
+
| `--create-beads` | false | Create child beads for each plan task |
|
|
22
|
+
| `--parallel` | false | Identify parallel execution tracks |
|
|
10
23
|
|
|
11
24
|
## Phase 1: Load Context
|
|
12
25
|
|
|
@@ -16,14 +29,14 @@ bd_show({ id: "$ARGUMENTS" });
|
|
|
16
29
|
|
|
17
30
|
Read artifacts:
|
|
18
31
|
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
32
|
+
```typescript
|
|
33
|
+
read({ filePath: ".beads/artifacts/<bead-id>/spec.md" });
|
|
34
|
+
read({ filePath: ".beads/artifacts/<bead-id>/research.md" });
|
|
35
|
+
read({ filePath: ".beads/artifacts/<bead-id>/design.md" }); // May not exist
|
|
23
36
|
```
|
|
24
37
|
|
|
25
38
|
If spec.md missing: "Run `/create <bead-id>` first."
|
|
26
|
-
If research.md missing: "Run `/research <bead-id>` first."
|
|
39
|
+
If research.md missing and complexity > M: "Run `/research <bead-id>` first."
|
|
27
40
|
If design.md exists: Resume from saved design options.
|
|
28
41
|
|
|
29
42
|
Reserve files while planning:
|
|
@@ -39,7 +52,46 @@ bd_reserve({
|
|
|
39
52
|
});
|
|
40
53
|
```
|
|
41
54
|
|
|
42
|
-
## Phase 2:
|
|
55
|
+
## Phase 2: Analyze for Decomposition
|
|
56
|
+
|
|
57
|
+
Before generating options, analyze if this bead should be decomposed:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
DECOMPOSITION ANALYSIS
|
|
61
|
+
━━━━━━━━━━━━━━━━━━━━━━
|
|
62
|
+
|
|
63
|
+
Bead: <bead-id>
|
|
64
|
+
Title: [title from bead]
|
|
65
|
+
Current Type: [task/feature/epic]
|
|
66
|
+
|
|
67
|
+
Complexity Signals:
|
|
68
|
+
[✓/✗] Multiple domains (frontend + backend)
|
|
69
|
+
[✓/✗] Multiple files in different areas
|
|
70
|
+
[✓/✗] Natural phases (setup → implement → test)
|
|
71
|
+
[✓/✗] Could benefit from parallel execution
|
|
72
|
+
[✓/✗] Estimated > 50 tool calls
|
|
73
|
+
|
|
74
|
+
Recommendation: [DECOMPOSE / SINGLE PLAN]
|
|
75
|
+
|
|
76
|
+
If DECOMPOSE: Will create Epic + child beads
|
|
77
|
+
If SINGLE PLAN: Will create plan.md with task checklist
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
If `--create-beads` flag is set, proceed with decomposition.
|
|
81
|
+
If complexity warrants decomposition, suggest it:
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
This bead would benefit from decomposition into subtasks.
|
|
85
|
+
|
|
86
|
+
Benefits:
|
|
87
|
+
• Parallel agent execution
|
|
88
|
+
• Better context management
|
|
89
|
+
• Clearer progress tracking
|
|
90
|
+
|
|
91
|
+
Create child beads? (yes/no)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Phase 3: Generate Design Options
|
|
43
95
|
|
|
44
96
|
Present 2-3 approaches with this format:
|
|
45
97
|
|
|
@@ -64,6 +116,8 @@ Present 2-3 approaches with this format:
|
|
|
64
116
|
- Files touched: [N]
|
|
65
117
|
- Risk: [low/medium/high]
|
|
66
118
|
|
|
119
|
+
**Parallelization potential:** [High/Medium/Low]
|
|
120
|
+
|
|
67
121
|
---
|
|
68
122
|
|
|
69
123
|
### Option B: [Name]
|
|
@@ -77,7 +131,7 @@ Present 2-3 approaches with this format:
|
|
|
77
131
|
|
|
78
132
|
Save to `.beads/artifacts/<bead-id>/design.md` with status `Pending Approval`.
|
|
79
133
|
|
|
80
|
-
## Phase
|
|
134
|
+
## Phase 4: Get Approval
|
|
81
135
|
|
|
82
136
|
**STOP and wait for human response.**
|
|
83
137
|
|
|
@@ -87,7 +141,7 @@ Pick an option (A/B/C), modify, or "none" to propose alternatives.
|
|
|
87
141
|
|
|
88
142
|
Do not proceed until user confirms.
|
|
89
143
|
|
|
90
|
-
## Phase
|
|
144
|
+
## Phase 5: Create Plan with Task Contracts
|
|
91
145
|
|
|
92
146
|
After approval, write `.beads/artifacts/<bead-id>/plan.md`:
|
|
93
147
|
|
|
@@ -98,21 +152,22 @@ After approval, write `.beads/artifacts/<bead-id>/plan.md`:
|
|
|
98
152
|
**Date:** <date>
|
|
99
153
|
**Approach:** [selected option name]
|
|
100
154
|
**Estimation:** ~[N] tool calls, [N] files
|
|
155
|
+
**Decomposition:** [Yes - child beads created / No - single bead]
|
|
101
156
|
|
|
102
157
|
## Dependency Graph
|
|
103
158
|
```
|
|
104
159
|
|
|
105
|
-
[
|
|
160
|
+
[Task 1] ──┬──> [Task 2a] ──┬──> [Task 4]
|
|
106
161
|
│ │
|
|
107
|
-
└──> [
|
|
162
|
+
└──> [Task 2b] ──┘
|
|
108
163
|
│
|
|
109
|
-
└──> [
|
|
164
|
+
└──> [Task 3] (can run parallel)
|
|
110
165
|
|
|
111
166
|
````
|
|
112
167
|
|
|
113
168
|
**Parallel Tracks:**
|
|
114
|
-
- Track A:
|
|
115
|
-
- Track B:
|
|
169
|
+
- Track A: Tasks 1 → 2a → 4
|
|
170
|
+
- Track B: Tasks 1 → 2b → 3 (independent after Task 1)
|
|
116
171
|
|
|
117
172
|
## Tasks
|
|
118
173
|
|
|
@@ -120,6 +175,7 @@ After approval, write `.beads/artifacts/<bead-id>/plan.md`:
|
|
|
120
175
|
|
|
121
176
|
| Field | Value |
|
|
122
177
|
| ------------- | ---------------------------------- |
|
|
178
|
+
| **Bead** | [child-bead-id if created] |
|
|
123
179
|
| **Files** | `src/foo.ts` |
|
|
124
180
|
| **Input** | [What this task receives/needs] |
|
|
125
181
|
| **Output** | [What this task produces] |
|
|
@@ -143,6 +199,7 @@ After approval, write `.beads/artifacts/<bead-id>/plan.md`:
|
|
|
143
199
|
|
|
144
200
|
| Field | Value |
|
|
145
201
|
| ------------ | -------------------------------- |
|
|
202
|
+
| **Bead** | [child-bead-id if created] |
|
|
146
203
|
| **Files** | `src/bar.ts` |
|
|
147
204
|
| **Input** | Output from Task 1 |
|
|
148
205
|
| **Output** | [What this produces] |
|
|
@@ -187,7 +244,117 @@ npm run test -- src/bar.test.ts
|
|
|
187
244
|
|
|
188
245
|
````
|
|
189
246
|
|
|
190
|
-
## Phase
|
|
247
|
+
## Phase 6: Create Child Beads (if --create-beads or user approved)
|
|
248
|
+
|
|
249
|
+
For each task in the plan, create a child bead:
|
|
250
|
+
|
|
251
|
+
```typescript
|
|
252
|
+
// Get parent bead ID
|
|
253
|
+
const parentId = "$ARGUMENTS";
|
|
254
|
+
|
|
255
|
+
// Task 1: No dependencies
|
|
256
|
+
const task1 = bd_add({
|
|
257
|
+
title: "[Task 1 title from plan]",
|
|
258
|
+
type: "task",
|
|
259
|
+
pri: 2,
|
|
260
|
+
parent: parentId,
|
|
261
|
+
desc: "[Task 1 description]",
|
|
262
|
+
tags: ["[domain]", "[size]"],
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
// Task 2a: Depends on Task 1
|
|
266
|
+
const task2a = bd_add({
|
|
267
|
+
title: "[Task 2a title from plan]",
|
|
268
|
+
type: "task",
|
|
269
|
+
pri: 2,
|
|
270
|
+
parent: parentId,
|
|
271
|
+
deps: [task1.id],
|
|
272
|
+
desc: "[Task 2a description]",
|
|
273
|
+
tags: ["[domain]", "[size]"],
|
|
274
|
+
});
|
|
275
|
+
|
|
276
|
+
// Task 2b: Also depends on Task 1 (parallel with 2a)
|
|
277
|
+
const task2b = bd_add({
|
|
278
|
+
title: "[Task 2b title from plan]",
|
|
279
|
+
type: "task",
|
|
280
|
+
pri: 2,
|
|
281
|
+
parent: parentId,
|
|
282
|
+
deps: [task1.id],
|
|
283
|
+
desc: "[Task 2b description]",
|
|
284
|
+
tags: ["[domain]", "[size]"],
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
// Task 3: Depends on Task 1 (parallel track)
|
|
288
|
+
const task3 = bd_add({
|
|
289
|
+
title: "[Task 3 title from plan]",
|
|
290
|
+
type: "task",
|
|
291
|
+
pri: 2,
|
|
292
|
+
parent: parentId,
|
|
293
|
+
deps: [task1.id],
|
|
294
|
+
desc: "[Task 3 description]",
|
|
295
|
+
tags: ["[domain]", "[size]"],
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
// Task 4: Depends on 2a and 2b
|
|
299
|
+
const task4 = bd_add({
|
|
300
|
+
title: "[Task 4 title from plan]",
|
|
301
|
+
type: "task",
|
|
302
|
+
pri: 2,
|
|
303
|
+
parent: parentId,
|
|
304
|
+
deps: [task2a.id, task2b.id],
|
|
305
|
+
desc: "[Task 4 description]",
|
|
306
|
+
tags: ["[domain]", "[size]"],
|
|
307
|
+
});
|
|
308
|
+
````
|
|
309
|
+
|
|
310
|
+
### Update Plan with Bead IDs
|
|
311
|
+
|
|
312
|
+
After creating beads, update plan.md to include bead IDs in each task table.
|
|
313
|
+
|
|
314
|
+
### Visualize Dependency Graph
|
|
315
|
+
|
|
316
|
+
```
|
|
317
|
+
CHILD BEADS CREATED
|
|
318
|
+
━━━━━━━━━━━━━━━━━━━
|
|
319
|
+
|
|
320
|
+
Parent: <parent-id> "[Title]"
|
|
321
|
+
|
|
322
|
+
<parent>.1 [Task 1] ──┬──> <parent>.2 [Task 2a] ──┬──> <parent>.5 [Task 4]
|
|
323
|
+
(READY) │ │ │
|
|
324
|
+
│ ▼ │
|
|
325
|
+
└──> <parent>.3 [Task 2b] ──┘
|
|
326
|
+
│
|
|
327
|
+
└──> <parent>.4 [Task 3]
|
|
328
|
+
(parallel track)
|
|
329
|
+
|
|
330
|
+
READY NOW: <parent>.1
|
|
331
|
+
PARALLEL AFTER .1: <parent>.2, <parent>.3, <parent>.4
|
|
332
|
+
FINAL: <parent>.5
|
|
333
|
+
|
|
334
|
+
Run `bd ready` to see claimable work.
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
## Phase 7: Upgrade Parent to Epic (if needed)
|
|
338
|
+
|
|
339
|
+
If parent was a `task` or `feature` and we created children, upgrade it:
|
|
340
|
+
|
|
341
|
+
```typescript
|
|
342
|
+
// Check current type
|
|
343
|
+
const parent = bd_show({ id: parentId });
|
|
344
|
+
|
|
345
|
+
if (parent.type !== "epic" && childBeadsCreated > 0) {
|
|
346
|
+
// Update parent to epic type
|
|
347
|
+
bd_msg({
|
|
348
|
+
subj: "Upgraded to Epic",
|
|
349
|
+
body: `${parentId} upgraded from ${parent.type} to epic with ${childBeadsCreated} subtasks`,
|
|
350
|
+
to: "all",
|
|
351
|
+
importance: "normal",
|
|
352
|
+
global: true,
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
## Phase 8: Generate ADR & Sync
|
|
191
358
|
|
|
192
359
|
Create `.beads/artifacts/<bead-id>/adr.md`:
|
|
193
360
|
|
|
@@ -205,6 +372,7 @@ Create `.beads/artifacts/<bead-id>/adr.md`:
|
|
|
205
372
|
## Decision
|
|
206
373
|
|
|
207
374
|
We chose **[Option Name]** because:
|
|
375
|
+
|
|
208
376
|
- [Reason 1]
|
|
209
377
|
- [Reason 2]
|
|
210
378
|
|
|
@@ -213,29 +381,46 @@ We chose **[Option Name]** because:
|
|
|
213
381
|
- **[Option B]:** Rejected because [reason]
|
|
214
382
|
- **[Option C]:** Rejected because [reason]
|
|
215
383
|
|
|
384
|
+
## Decomposition Decision
|
|
385
|
+
|
|
386
|
+
[If child beads created:]
|
|
387
|
+
We decomposed this into [N] subtasks because:
|
|
388
|
+
|
|
389
|
+
- [Reason: parallel execution, context management, etc.]
|
|
390
|
+
|
|
391
|
+
Child beads: <parent>.1, <parent>.2, ...
|
|
392
|
+
|
|
393
|
+
[If not decomposed:]
|
|
394
|
+
We kept this as a single bead because:
|
|
395
|
+
|
|
396
|
+
- [Reason: small scope, single domain, etc.]
|
|
397
|
+
|
|
216
398
|
## Consequences
|
|
217
399
|
|
|
218
400
|
**Positive:**
|
|
401
|
+
|
|
219
402
|
- [Benefit 1]
|
|
220
403
|
- [Benefit 2]
|
|
221
404
|
|
|
222
405
|
**Negative:**
|
|
406
|
+
|
|
223
407
|
- [Tradeoff 1]
|
|
224
408
|
- [Tradeoff 2]
|
|
225
409
|
|
|
226
410
|
## Confirmation
|
|
227
411
|
|
|
228
412
|
This decision is confirmed when:
|
|
413
|
+
|
|
229
414
|
- [ ] Implementation complete per plan.md
|
|
230
415
|
- [ ] All verification steps pass
|
|
231
|
-
|
|
416
|
+
```
|
|
232
417
|
|
|
233
418
|
Update bead and sync:
|
|
234
419
|
|
|
235
420
|
```typescript
|
|
236
421
|
bd_msg({
|
|
237
422
|
subj: "Plan approved",
|
|
238
|
-
body:
|
|
423
|
+
body: `Approach: [selected option]\nTasks: [count]\nChild beads: [yes/no]\nEstimate: ~[N] tool calls`,
|
|
239
424
|
to: "all",
|
|
240
425
|
importance: "normal",
|
|
241
426
|
global: true,
|
|
@@ -247,13 +432,14 @@ bd_sync({ reason: "Plan approved for $ARGUMENTS" });
|
|
|
247
432
|
|
|
248
433
|
## Output
|
|
249
434
|
|
|
435
|
+
### Without Child Beads
|
|
436
|
+
|
|
250
437
|
```
|
|
251
438
|
Plan Approved: <bead-id>
|
|
252
439
|
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
253
440
|
|
|
254
441
|
Approach: [selected option]
|
|
255
|
-
Tasks: [count]
|
|
256
|
-
Parallel tracks: [count]
|
|
442
|
+
Tasks: [count] (tracked in plan.md)
|
|
257
443
|
Estimate: ~[N] tool calls
|
|
258
444
|
|
|
259
445
|
Artifacts:
|
|
@@ -263,3 +449,78 @@ Artifacts:
|
|
|
263
449
|
|
|
264
450
|
Next: /implement <bead-id>
|
|
265
451
|
```
|
|
452
|
+
|
|
453
|
+
### With Child Beads
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
Plan Approved: <bead-id> (Epic)
|
|
457
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
458
|
+
|
|
459
|
+
Approach: [selected option]
|
|
460
|
+
Child beads created: [count]
|
|
461
|
+
|
|
462
|
+
Subtasks:
|
|
463
|
+
├── <bead>.1: [Task 1] [S] ← READY
|
|
464
|
+
├── <bead>.2: [Task 2a] [M] ← blocked by .1
|
|
465
|
+
├── <bead>.3: [Task 2b] [M] ← blocked by .1
|
|
466
|
+
├── <bead>.4: [Task 3] [S] ← blocked by .1
|
|
467
|
+
└── <bead>.5: [Task 4] [M] ← blocked by .2, .3
|
|
468
|
+
|
|
469
|
+
Parallel Tracks:
|
|
470
|
+
• Track A: .1 → .2 → .5
|
|
471
|
+
• Track B: .1 → .3 → .5
|
|
472
|
+
• Track C: .1 → .4
|
|
473
|
+
|
|
474
|
+
Artifacts:
|
|
475
|
+
- .beads/artifacts/<bead-id>/design.md
|
|
476
|
+
- .beads/artifacts/<bead-id>/plan.md
|
|
477
|
+
- .beads/artifacts/<bead-id>/adr.md
|
|
478
|
+
|
|
479
|
+
Next Steps:
|
|
480
|
+
├── Start first task: /implement <bead>.1
|
|
481
|
+
├── See ready work: bd ready
|
|
482
|
+
└── See parallel plan: bd_plan()
|
|
483
|
+
|
|
484
|
+
For parallel agents:
|
|
485
|
+
├── Agent 1 (backend): claim <bead>.1
|
|
486
|
+
├── Agent 2 (frontend): wait for .1, then claim .3
|
|
487
|
+
└── Agent 3 (qa): wait for .2 and .3, then claim .5
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
## When to Create Child Beads
|
|
491
|
+
|
|
492
|
+
| Scenario | Create Beads? |
|
|
493
|
+
| ------------------------------- | ------------------------------------ |
|
|
494
|
+
| Simple task, single domain | No - use plan.md checklist |
|
|
495
|
+
| 2-3 tasks, same domain | No - use plan.md checklist |
|
|
496
|
+
| 3+ tasks, multiple domains | Yes - enables parallel agents |
|
|
497
|
+
| Tasks with complex dependencies | Yes - beads tracks dependencies |
|
|
498
|
+
| Long-running work (days) | Yes - better progress tracking |
|
|
499
|
+
| Work that may span sessions | Yes - beads persists across sessions |
|
|
500
|
+
|
|
501
|
+
## Integration with Agent Workflow
|
|
502
|
+
|
|
503
|
+
After plan creates child beads:
|
|
504
|
+
|
|
505
|
+
```typescript
|
|
506
|
+
// Any agent can check ready work
|
|
507
|
+
bd_init({ team: "project", role: "backend" });
|
|
508
|
+
bd_ready(); // Shows <parent>.1 as ready
|
|
509
|
+
|
|
510
|
+
// Agent claims and works
|
|
511
|
+
bd_claim(); // Gets <parent>.1
|
|
512
|
+
// ... do the work ...
|
|
513
|
+
bd_done({ id: "<parent>.1", msg: "Completed setup" });
|
|
514
|
+
|
|
515
|
+
// Now <parent>.2, .3, .4 become ready (unblocked)
|
|
516
|
+
// Multiple agents can claim them in parallel
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
## Examples
|
|
520
|
+
|
|
521
|
+
```bash
|
|
522
|
+
/plan bd-auth01 # Plan without creating beads
|
|
523
|
+
/plan bd-auth01 --create-beads # Plan and create child beads
|
|
524
|
+
/plan bd-auth01 --parallel # Focus on parallel execution
|
|
525
|
+
/plan bd-auth01 --create-beads --parallel # Full decomposition
|
|
526
|
+
```
|
|
@@ -6,7 +6,12 @@ agent: build
|
|
|
6
6
|
|
|
7
7
|
# Pull Request
|
|
8
8
|
|
|
9
|
-
**Load
|
|
9
|
+
**Load skills:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" }); // Session protocol
|
|
13
|
+
skill({ name: "verification-before-completion" });
|
|
14
|
+
```
|
|
10
15
|
|
|
11
16
|
## Options
|
|
12
17
|
|
|
@@ -8,6 +8,12 @@ agent: build
|
|
|
8
8
|
|
|
9
9
|
Complete workflow that combines research, planning, and implementation into a single guided process.
|
|
10
10
|
|
|
11
|
+
## Load Beads Skill
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
skill({ name: "beads" });
|
|
15
|
+
```
|
|
16
|
+
|
|
11
17
|
## When to Use
|
|
12
18
|
|
|
13
19
|
| Scenario | Use This Command |
|
|
@@ -8,6 +8,14 @@ agent: build
|
|
|
8
8
|
|
|
9
9
|
Recover full context from a previous session and continue work on an in-progress task.
|
|
10
10
|
|
|
11
|
+
## Load Beads Skill
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
skill({ name: "beads" });
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This skill provides the session protocol for proper context recovery.
|
|
18
|
+
|
|
11
19
|
## Prerequisites
|
|
12
20
|
|
|
13
21
|
- Bead ID must exist
|
|
@@ -7,7 +7,12 @@ model: proxypal/gemini-3-flash-preview
|
|
|
7
7
|
|
|
8
8
|
# Revert Feature: $ARGUMENTS
|
|
9
9
|
|
|
10
|
-
**Load
|
|
10
|
+
**Load skills:**
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
skill({ name: "beads" }); // Session protocol
|
|
14
|
+
skill({ name: "verification-before-completion" });
|
|
15
|
+
```
|
|
11
16
|
|
|
12
17
|
Intelligently revert changes for a bead with comprehensive safety checks.
|
|
13
18
|
|
|
@@ -6,6 +6,12 @@ agent: explore
|
|
|
6
6
|
|
|
7
7
|
# Status Dashboard
|
|
8
8
|
|
|
9
|
+
## Load Beads Skill
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" });
|
|
13
|
+
```
|
|
14
|
+
|
|
9
15
|
Generate a comprehensive project status report covering tasks, sessions, git state, and system health.
|
|
10
16
|
|
|
11
17
|
## Phase 1: Gather All State (Parallel)
|
|
@@ -6,6 +6,12 @@ agent: build
|
|
|
6
6
|
|
|
7
7
|
# Triage
|
|
8
8
|
|
|
9
|
+
## Load Beads Skill
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
skill({ name: "beads" });
|
|
13
|
+
```
|
|
14
|
+
|
|
9
15
|
Analyze open tasks and optimize prioritization using dependency graph analysis, SLA tracking, and multi-agent coordination.
|
|
10
16
|
|
|
11
17
|
## Phase 1: Initialize Beads Connection
|
|
@@ -11,6 +11,10 @@ Comprehensive UI/UX review with structured scoring and actionable feedback.
|
|
|
11
11
|
|
|
12
12
|
## Load Skills
|
|
13
13
|
|
|
14
|
+
```typescript
|
|
15
|
+
skill({ name: "beads" }); // Session protocol
|
|
16
|
+
```
|
|
17
|
+
|
|
14
18
|
```typescript
|
|
15
19
|
skill({ name: "frontend-aesthetics" });
|
|
16
20
|
skill({ name: "visual-analysis" });
|