@leeovery/claude-technical-workflows 2.0.54 → 2.0.55

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 (36) hide show
  1. package/README.md +34 -7
  2. package/agents/implementation-task-executor.md +1 -1
  3. package/agents/planning-dependency-grapher.md +140 -0
  4. package/agents/planning-phase-designer.md +1 -1
  5. package/agents/planning-task-author.md +1 -1
  6. package/agents/planning-task-designer.md +1 -1
  7. package/agents/{chain-verifier.md → review-task-verifier.md} +3 -3
  8. package/commands/link-dependencies.md +5 -5
  9. package/commands/workflow/view-plan.md +5 -5
  10. package/package.json +1 -1
  11. package/skills/technical-implementation/SKILL.md +4 -2
  12. package/skills/technical-implementation/references/environment-setup.md +3 -3
  13. package/skills/technical-implementation/references/steps/task-loop.md +2 -2
  14. package/skills/technical-planning/SKILL.md +17 -9
  15. package/skills/technical-planning/references/dependencies.md +3 -3
  16. package/skills/technical-planning/references/output-formats/linear/about.md +48 -0
  17. package/skills/technical-planning/references/output-formats/linear/authoring.md +82 -0
  18. package/skills/technical-planning/references/output-formats/linear/graph.md +68 -0
  19. package/skills/technical-planning/references/output-formats/linear/reading.md +35 -0
  20. package/skills/technical-planning/references/output-formats/linear/updating.md +25 -0
  21. package/skills/technical-planning/references/output-formats/local-markdown/about.md +40 -0
  22. package/skills/technical-planning/references/output-formats/local-markdown/authoring.md +64 -0
  23. package/skills/technical-planning/references/output-formats/local-markdown/graph.md +44 -0
  24. package/skills/technical-planning/references/output-formats/local-markdown/reading.md +29 -0
  25. package/skills/technical-planning/references/output-formats/local-markdown/updating.md +22 -0
  26. package/skills/technical-planning/references/output-formats.md +6 -30
  27. package/skills/technical-planning/references/steps/analyze-task-graph.md +89 -0
  28. package/skills/technical-planning/references/steps/author-tasks.md +3 -3
  29. package/skills/technical-planning/references/steps/review-integrity.md +4 -5
  30. package/skills/technical-planning/references/task-design.md +10 -0
  31. package/skills/technical-review/SKILL.md +3 -3
  32. package/skills/technical-review/references/review-checklist.md +10 -10
  33. package/skills/technical-planning/references/output-formats/output-backlog-md.md +0 -369
  34. package/skills/technical-planning/references/output-formats/output-beads.md +0 -455
  35. package/skills/technical-planning/references/output-formats/output-linear.md +0 -328
  36. package/skills/technical-planning/references/output-formats/output-local-markdown.md +0 -318
@@ -1,455 +0,0 @@
1
- # Output: Beads
2
-
3
- *Output adapter for **[technical-planning](../../SKILL.md)***
4
-
5
- ---
6
-
7
- Use this output format when you need **dependency-aware task tracking designed for AI agents**. Beads is a git-backed graph issue tracker that excels at complex, multi-phase implementations with real dependency management.
8
-
9
- ## About Beads
10
-
11
- Beads (`bd`) is an issue tracker built specifically for AI agents:
12
- - Git-backed storage in `.beads/` directory (JSONL format)
13
- - Hash-based IDs (`bd-a1b2`) prevent merge conflicts
14
- - Native dependency graph with blocking relationships
15
- - Hierarchical tasks: epics → tasks → subtasks
16
- - `bd ready` command identifies unblocked work
17
- - Semantic summarization preserves context windows
18
- - Multi-agent coordination via sync protocol
19
-
20
- See: https://github.com/steveyegge/beads
21
-
22
- ## Setup
23
-
24
- ### 1. Check Installation
25
-
26
- Check if beads is installed (required every session in ephemeral environments):
27
-
28
- ```bash
29
- which bd
30
- ```
31
-
32
- - **Local systems**: May already be installed via Homebrew
33
- - **Ephemeral environments** (Claude Code on web): Needs installation each session
34
-
35
- If not installed:
36
- ```bash
37
- curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
38
- ```
39
-
40
- ### 2. Check If Project Initialized
41
-
42
- Check if beads is already set up in this project:
43
-
44
- ```bash
45
- ls .beads/config.yaml
46
- ```
47
-
48
- **If `.beads/` exists**: Project is already initialized - skip to using beads.
49
-
50
- **If not initialized**: Continue with steps 3 and 4.
51
-
52
- ### 3. Choose Database Mode
53
-
54
- Beads supports two modes. Ask the user:
55
-
56
- > "Beads can run with or without a local database. Database mode uses a daemon that auto-syncs to JSONL. No-database mode writes directly to JSONL. Which do you prefer? (default: database)"
57
-
58
- ### 4. Initialize
59
-
60
- Based on the user's choice:
61
-
62
- ```bash
63
- bd init --quiet # database mode (default)
64
- bd init --quiet --no-db # no-database mode
65
- ```
66
-
67
- This creates `.beads/config.yaml` with the appropriate `no-db` setting.
68
-
69
- ## Benefits
70
-
71
- - Complex dependency graphs with native blocking relationships
72
- - Multi-session context preservation via semantic summarization
73
- - Multi-agent coordination support
74
- - `bd ready` identifies actionable unblocked work
75
- - Git-backed and version-controlled
76
-
77
- ## Beads Structure Mapping
78
-
79
- | Planning Concept | Beads Entity |
80
- |------------------|--------------|
81
- | Specification/Topic | Epic issue |
82
- | Phase | Sub-issue under epic |
83
- | Task | Sub-task under phase |
84
- | Internal dependency | `bd dep add` within same epic |
85
- | Cross-topic dependency | `bd dep add` across epics |
86
-
87
- Each specification topic becomes its own epic. All epics live in one beads database, enabling cross-topic dependencies.
88
-
89
- Example hierarchy:
90
- ```
91
- bd-a3f8 (Epic: User Authentication)
92
- ├── bd-a3f8.1 (Phase 1: Core Auth)
93
- │ ├── bd-a3f8.1.1 (Task: Login endpoint)
94
- │ └── bd-a3f8.1.2 (Task: Session management)
95
- └── bd-a3f8.2 (Phase 2: OAuth)
96
- └── bd-a3f8.2.1 (Task: Google provider)
97
-
98
- bd-b7c2 (Epic: Billing System) ← Different topic, same database
99
- ├── bd-b7c2.1 (Phase 1: Invoicing)
100
- │ └── bd-b7c2.1.1 (Task: Invoice generation)
101
- ```
102
-
103
- ## Cross-Epic Dependencies
104
-
105
- Cross-topic dependencies link tasks between different epics (different specifications/topics). This is how you express "billing depends on authentication being complete."
106
-
107
- ### Creating Cross-Epic Dependencies
108
-
109
- Use the same `bd dep add` command - it works across epics:
110
-
111
- ```bash
112
- # Invoice generation (in billing epic) depends on user authentication (in auth epic)
113
- bd dep add bd-b7c2.1.1 bd-a3f8.1.1
114
- ```
115
-
116
- After adding, `bd ready` will not show `bd-b7c2.1.1` until `bd-a3f8.1.1` is closed.
117
-
118
- ### Viewing Cross-Epic Dependencies
119
-
120
- ```bash
121
- # Show what a task depends on
122
- bd show bd-b7c2.1.1
123
-
124
- # Show what depends on a task
125
- bd show bd-a3f8.1.1 --deps
126
- ```
127
-
128
- ## Querying Dependencies
129
-
130
- Use these queries to understand the dependency graph for implementation blocking and `/link-dependencies`.
131
-
132
- ### Find Ready Tasks (No Open Blockers)
133
-
134
- ```bash
135
- bd ready
136
- ```
137
-
138
- Returns tasks with no incomplete dependencies - these are safe to implement.
139
-
140
- ### Find All Tasks Blocked By a Specific Task
141
-
142
- ```bash
143
- bd show bd-a3f8.1.1 --deps
144
- ```
145
-
146
- Shows what will be unblocked when this task completes.
147
-
148
- ### Find What a Task Depends On
149
-
150
- ```bash
151
- bd show bd-b7c2.1.1
152
- ```
153
-
154
- The output includes a "Blocked by" section listing dependencies.
155
-
156
- ### Query Via JSONL (Advanced)
157
-
158
- For programmatic queries, read `.beads/issues.jsonl` directly:
159
-
160
- ```bash
161
- # Find all dependencies (grep for blocked_by field)
162
- grep -o '"blocked_by":\[[^]]*\]' .beads/issues.jsonl
163
-
164
- # Find tasks depending on a specific ID
165
- grep '"bd-a3f8.1.1"' .beads/issues.jsonl | grep blocked_by
166
- ```
167
-
168
- ### Check if a Task is Complete
169
-
170
- ```bash
171
- bd show bd-a3f8.1.1
172
- ```
173
-
174
- Look for `status: closed` in the output. A dependency is "met" when the task is closed.
175
-
176
- ## Output Process
177
-
178
- ### 1. Create Epic for Plan
179
-
180
- ```bash
181
- bd create "Plan: {Topic Name}" -p 1
182
- ```
183
-
184
- Note the returned ID (e.g., `bd-a3f8`). This is the plan epic.
185
-
186
- ### 2. Create Phase Issues
187
-
188
- For each phase, create a sub-issue under the epic:
189
-
190
- ```bash
191
- bd create "Phase 1: {Phase Name}" -p 1 --parent bd-a3f8
192
- bd create "Phase 2: {Phase Name}" -p 2 --parent bd-a3f8
193
- ```
194
-
195
- Add phase acceptance criteria in the issue body.
196
-
197
- ### 3. Create Task Issues
198
-
199
- For each task, create under the appropriate phase:
200
-
201
- ```bash
202
- bd create "{Task Name}" -p 1 --parent bd-a3f8.1
203
- ```
204
-
205
- Tasks should be **fully self-contained** - include all context so humans and agents can execute without referencing other files.
206
-
207
- Task body should include:
208
- ```
209
- ## Goal
210
- {What this task accomplishes and why - include rationale from specification}
211
-
212
- ## Implementation
213
- {Specific files, methods, approach}
214
-
215
- ## Tests
216
- - `it does expected behavior`
217
- - `it handles edge case`
218
-
219
- ## Edge Cases
220
- {Specific edge cases for this task}
221
-
222
- ## Context
223
- {Relevant decisions and constraints from specification}
224
-
225
- Specification reference: docs/workflow/specification/{topic}.md (for ambiguity resolution)
226
- ```
227
-
228
- ### 4. Add Dependencies
229
-
230
- When tasks depend on each other:
231
-
232
- ```bash
233
- bd dep add bd-a3f8.1.2 bd-a3f8.1.1 # 1.2 blocked by 1.1
234
- ```
235
-
236
- ### 5. Create Plan Index File
237
-
238
- Create `docs/workflow/planning/{topic}.md`:
239
-
240
- ```markdown
241
- ---
242
- topic: {topic-name}
243
- status: planning
244
- format: beads
245
- specification: ../specification/{topic}.md
246
- cross_cutting_specs: # Omit if none
247
- - ../specification/{spec}.md
248
- spec_commit: {git-commit-hash}
249
- plan_id: bd-{EPIC_ID}
250
- created: YYYY-MM-DD # Use today's actual date
251
- updated: YYYY-MM-DD # Use today's actual date
252
- planning:
253
- phase: 1
254
- task: ~
255
- ---
256
-
257
- # Plan: {Topic Name}
258
-
259
- ## About This Plan
260
-
261
- This plan is managed via Beads. Tasks are stored in `.beads/` and tracked as a dependency graph.
262
-
263
- ## How to Use
264
-
265
- **View ready tasks**: Run `bd ready`
266
- **View all tasks**: Run `bd list --tree`
267
- **View specific task**: Run `bd show bd-{id}`
268
-
269
- **Implementation will**:
270
- 1. Read this file to identify the epic
271
- 2. Check External Dependencies below
272
- 3. Query `bd ready` for unblocked tasks
273
- 4. Work through tasks respecting dependencies
274
- 5. Close tasks with `bd close bd-{id} "reason"`
275
-
276
- ## Key Decisions
277
-
278
- [Summary of key decisions from specification]
279
-
280
- ## Cross-Cutting References
281
-
282
- Architectural decisions from cross-cutting specifications that inform this plan:
283
-
284
- | Specification | Key Decisions | Applies To |
285
- |---------------|---------------|------------|
286
- | [Caching Strategy](../../specification/caching-strategy.md) | Cache API responses for 5 min | Tasks involving API calls |
287
- | [Rate Limiting](../../specification/rate-limiting.md) | 100 req/min per user | User-facing endpoints |
288
-
289
- *Remove this section if no cross-cutting specifications apply.*
290
-
291
- ## Phases
292
-
293
- ### Phase 1: {Name}
294
- status: draft
295
- beads_id: bd-{id}.1
296
-
297
- **Goal**: {What this phase accomplishes}
298
- **Why this order**: {Why this comes at this position}
299
-
300
- **Acceptance**:
301
- - [ ] Criterion 1
302
- - [ ] Criterion 2
303
-
304
- #### Tasks
305
- | ID | Name | Edge Cases | Status |
306
- |----|------|------------|--------|
307
- | bd-{id}.1.1 | {Task Name} | {list} | pending |
308
-
309
- ---
310
-
311
- ### Phase 2: {Name}
312
- status: draft
313
- beads_id: bd-{id}.2
314
-
315
- ...
316
-
317
- ## External Dependencies
318
-
319
- [Dependencies on other topics - copy from specification's Dependencies section]
320
-
321
- - {topic}: {description}
322
- - {topic}: {description} → {task-id} (resolved)
323
- ```
324
-
325
- The External Dependencies section tracks what this plan needs from other topics. See `../dependencies.md` for the format and states (unresolved, resolved, satisfied externally).
326
-
327
- ## Frontmatter
328
-
329
- The frontmatter tells implementation to use beads CLI and tracks planning progress:
330
-
331
- ```yaml
332
- ---
333
- topic: {topic-name}
334
- status: planning | concluded
335
- format: beads
336
- specification: ../specification/{topic}.md
337
- cross_cutting_specs: # Omit if none
338
- - ../specification/{spec}.md
339
- spec_commit: {git-commit-hash}
340
- plan_id: bd-a3f8
341
- created: YYYY-MM-DD # Use today's actual date
342
- updated: YYYY-MM-DD # Use today's actual date
343
- planning:
344
- phase: 2
345
- task: 3
346
- ---
347
- ```
348
-
349
- ## Flagging Incomplete Tasks
350
-
351
- When information is missing, note it in the task body:
352
-
353
- ```bash
354
- bd create "Configure rate limiting [needs-info]" -p 2 --parent bd-a3f8.1
355
- ```
356
-
357
- In the task body:
358
- ```
359
- ## Needs Clarification
360
- - What's the rate limit threshold?
361
- - Per-user or per-IP?
362
- ```
363
-
364
- ## Implementation
365
-
366
- ### Reading Plans
367
-
368
- 1. Extract `plan_id` (beads epic ID) from frontmatter
369
- 2. Check `.beads/config.yaml` for `no-db` setting
370
- 3. Run `bd ready` to get unblocked tasks
371
- 4. View task details with `bd show bd-{id}`
372
- 5. Process by priority (P0 → P1 → P2 → P3)
373
- 6. Respect dependency graph - only work on ready tasks
374
-
375
- ### Updating Progress
376
-
377
- - Close tasks with `bd close bd-{id} "reason"` when complete
378
- - Include task ID in commit messages: `git commit -m "message (bd-{id})"`
379
- - **Database mode**: Run `bd sync` before committing or ending session to ensure changes are persisted
380
- - **No-db mode**: No sync needed - changes write directly to JSONL
381
- - Use `bd ready` to identify next unblocked task
382
-
383
- ### Fallback
384
-
385
- If `bd` CLI is unavailable, follow the installation steps in the **Setup** section above.
386
-
387
- ## Beads Workflow Commands
388
-
389
- | Command | Purpose |
390
- |---------|---------|
391
- | `bd ready` | List tasks with no open blockers |
392
- | `bd list --tree` | Show full task hierarchy |
393
- | `bd show bd-{id}` | View task details |
394
- | `bd close bd-{id} "reason"` | Complete a task |
395
- | `bd dep add child parent` | Add dependency |
396
- | `bd sync` | Force immediate sync to JSONL (database mode only) |
397
-
398
- ## Sync Protocol (Database Mode Only)
399
-
400
- In database mode, a daemon auto-syncs changes to JSONL with a ~5 second debounce. Run `bd sync` before committing or ending a session to ensure all pending changes are persisted:
401
-
402
- ```bash
403
- bd sync
404
- ```
405
-
406
- **Skip this entirely if `no-db: true`** - changes write directly to JSONL, no sync needed.
407
-
408
- ## Commit Message Convention
409
-
410
- Include issue IDs in commits:
411
-
412
- ```bash
413
- git commit -m "Add login endpoint (bd-a3f8.1.1)"
414
- ```
415
-
416
- This enables `bd doctor` to identify orphaned issues.
417
-
418
- ## Resulting Structure
419
-
420
- After planning:
421
-
422
- ```
423
- project/
424
- ├── .beads/
425
- │ └── issues.jsonl # Beads database
426
- ├── docs/workflow/
427
- │ ├── discussion/{topic}.md # Discussion output
428
- │ ├── specification/{topic}.md # Specification output
429
- │ └── planning/{topic}.md # Planning output (format: beads)
430
- ```
431
-
432
- ### Cleanup (Restart)
433
-
434
- Delete the epic and all its children (phases and tasks):
435
-
436
- ```bash
437
- bd delete {epic-id} --cascade --force
438
- ```
439
-
440
- If using database mode, sync afterwards to persist the deletion to JSONL:
441
-
442
- ```bash
443
- bd sync
444
- ```
445
-
446
- ## Priority Mapping
447
-
448
- | Planning Priority | Beads Priority |
449
- |-------------------|----------------|
450
- | Foundation/Setup | P0 |
451
- | Core functionality | P1 |
452
- | Enhancement | P2 |
453
- | Nice-to-have | P3 |
454
-
455
- Use `-p {0-3}` flag when creating issues.