ai-workflow-init 6.4.2 → 6.6.0
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/.claude/agents/requirement-ba.md +203 -0
- package/.claude/agents/requirement-researcher.md +270 -0
- package/.claude/agents/requirement-sa.md +259 -0
- package/.claude/agents/requirement-uiux.md +349 -0
- package/.claude/commands/beads-breakdown.md +278 -0
- package/.claude/commands/beads-create-epic-plan.md +205 -0
- package/.claude/commands/beads-done.md +248 -0
- package/.claude/commands/beads-next.md +260 -0
- package/.claude/commands/beads-status.md +247 -0
- package/.claude/commands/clarify-requirements.md +445 -192
- package/.claude/commands/create-plan.md +79 -2
- package/.claude/commands/execute-plan.md +48 -2
- package/.claude/settings.json +3 -3
- package/.claude/skills/skill-creator/SKILL.md +355 -0
- package/.claude/skills/skill-creator/references/output-patterns.md +82 -0
- package/.claude/skills/skill-creator/references/workflows.md +28 -0
- package/.claude/skills/skill-creator/scripts/init_skill.py +303 -0
- package/.claude/skills/skill-creator/scripts/package_skill.py +110 -0
- package/.claude/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/README.md +97 -3
- package/cli.js +21 -1
- package/docs/ai/planning/epic-template.md +155 -0
- package/docs/ai/planning/feature-template.md +19 -0
- package/docs/ai/requirements/req-template.md +164 -58
- package/docs/ai/requirements/templates/ba-template.md +151 -0
- package/docs/ai/requirements/templates/research-template.md +190 -0
- package/docs/ai/requirements/templates/sa-template.md +184 -0
- package/docs/ai/requirements/templates/uiux-template.md +325 -0
- package/package.json +1 -1
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: beads-breakdown
|
|
3
|
+
description: Analyzes feature/requirement and breaks down into Beads epic with tasks and dependencies.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Goal
|
|
7
|
+
|
|
8
|
+
Analyze a feature description (user prompt, requirement file, or planning file) and break it down into a Beads epic with tasks and dependencies. Confirm with user before executing any `bd` commands.
|
|
9
|
+
|
|
10
|
+
## Workflow Alignment
|
|
11
|
+
|
|
12
|
+
- Provide brief status updates (1–3 sentences) before/after important actions.
|
|
13
|
+
- ALWAYS confirm breakdown with user before executing `bd` commands.
|
|
14
|
+
- Show exact commands that will be executed for transparency.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Step 1: Detect Input Source
|
|
19
|
+
|
|
20
|
+
**Parse user input to identify source type:**
|
|
21
|
+
|
|
22
|
+
1. **File reference detected** (starts with `@` or file path):
|
|
23
|
+
- Requirement file: `@docs/ai/requirements/req-{name}.md`
|
|
24
|
+
- Planning file: `@docs/ai/planning/feature-{name}.md`
|
|
25
|
+
- Read file and extract content
|
|
26
|
+
|
|
27
|
+
2. **User prompt only**:
|
|
28
|
+
- Use prompt directly for analysis
|
|
29
|
+
|
|
30
|
+
3. **Both file + prompt**:
|
|
31
|
+
- File provides base requirements
|
|
32
|
+
- Prompt provides additional context/focus
|
|
33
|
+
|
|
34
|
+
**Tool:** Read(file_path=...) if file reference detected
|
|
35
|
+
|
|
36
|
+
**Extract from file (if requirement doc):**
|
|
37
|
+
- Problem Statement → Epic description
|
|
38
|
+
- Functional Requirements (FR-xx) → Tasks
|
|
39
|
+
- Non-Functional Requirements → Constraints/notes
|
|
40
|
+
- Dependencies/Constraints → Task dependencies
|
|
41
|
+
- Acceptance Criteria → Task acceptance criteria
|
|
42
|
+
|
|
43
|
+
**Extract from file (if planning doc):**
|
|
44
|
+
- Goal → Epic description
|
|
45
|
+
- Implementation phases → Tasks
|
|
46
|
+
- Phase dependencies → Task dependencies
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Step 2: Analyze and Generate Breakdown
|
|
51
|
+
|
|
52
|
+
**Generate epic structure:**
|
|
53
|
+
|
|
54
|
+
1. **Epic title**: Concise name for the feature (e.g., "User Authentication System")
|
|
55
|
+
|
|
56
|
+
2. **Tasks**: Break down into 3-10 tasks
|
|
57
|
+
- Each task should be independently plannable (1-3 phases when detailed)
|
|
58
|
+
- Task title: Action-oriented (e.g., "Setup JWT infrastructure")
|
|
59
|
+
- Priority: P0 (critical) to P4 (backlog)
|
|
60
|
+
|
|
61
|
+
3. **Dependencies**: Identify blocking relationships
|
|
62
|
+
- Which tasks must complete before others can start?
|
|
63
|
+
- Which tasks can run in parallel?
|
|
64
|
+
|
|
65
|
+
**Analysis guidelines:**
|
|
66
|
+
- **Too granular**: If task takes < 1 hour → merge with related task
|
|
67
|
+
- **Too large**: If task needs > 5 implementation phases → split further
|
|
68
|
+
- **Parallel-friendly**: Maximize tasks that can run simultaneously
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Step 3: Present Breakdown for Confirmation
|
|
73
|
+
|
|
74
|
+
**Display proposed breakdown:**
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
## Proposed Epic Breakdown
|
|
78
|
+
|
|
79
|
+
**Epic**: {Epic Title}
|
|
80
|
+
**Source**: {file path or "user prompt"}
|
|
81
|
+
**Description**: {1-2 sentence summary}
|
|
82
|
+
|
|
83
|
+
### Tasks
|
|
84
|
+
|
|
85
|
+
| # | Title | Priority | Blocked By | Notes |
|
|
86
|
+
|---|-------|----------|------------|-------|
|
|
87
|
+
| 1 | {Task title} | P{0-4} | - | {brief note} |
|
|
88
|
+
| 2 | {Task title} | P{0-4} | Task 1 | {brief note} |
|
|
89
|
+
| 3 | {Task title} | P{0-4} | - | {can parallel with 1} |
|
|
90
|
+
| 4 | {Task title} | P{0-4} | Task 2 | {brief note} |
|
|
91
|
+
|
|
92
|
+
### Dependency Graph
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
Task 1 ──────────────────────┐
|
|
96
|
+
▼
|
|
97
|
+
Task 3 ───▶ Task 2 ───▶ Task 4
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Ready to Start (can run in parallel)
|
|
101
|
+
- Task 1: {title}
|
|
102
|
+
- Task 3: {title}
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
### Commands to Execute
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Create Epic
|
|
110
|
+
bd create "{Epic Title}" -p 0 --type epic
|
|
111
|
+
|
|
112
|
+
# Create Tasks (after epic created, will use actual epic ID)
|
|
113
|
+
bd create "{Task 1 title}" -p {priority} --parent {epic-id}
|
|
114
|
+
bd create "{Task 2 title}" -p {priority} --parent {epic-id}
|
|
115
|
+
bd create "{Task 3 title}" -p {priority} --parent {epic-id}
|
|
116
|
+
bd create "{Task 4 title}" -p {priority} --parent {epic-id}
|
|
117
|
+
|
|
118
|
+
# Set Dependencies
|
|
119
|
+
bd dep add {task-2-id} {task-1-id} # Task 2 blocked by Task 1
|
|
120
|
+
bd dep add {task-4-id} {task-2-id} # Task 4 blocked by Task 2
|
|
121
|
+
|
|
122
|
+
# Sync to git
|
|
123
|
+
bd sync
|
|
124
|
+
```
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Ask for confirmation:**
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
AskUserQuestion(questions=[{
|
|
131
|
+
question: "Review the breakdown above. How would you like to proceed?",
|
|
132
|
+
header: "Confirm",
|
|
133
|
+
options: [
|
|
134
|
+
{ label: "Execute breakdown", description: "Create epic and tasks in Beads with the structure shown above" },
|
|
135
|
+
{ label: "Modify tasks", description: "I want to add, remove, or change tasks before creating" },
|
|
136
|
+
{ label: "Cancel", description: "Don't create anything, I'll provide more context" }
|
|
137
|
+
],
|
|
138
|
+
multiSelect: false
|
|
139
|
+
}])
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Step 4: Handle User Response
|
|
145
|
+
|
|
146
|
+
### If "Execute breakdown":
|
|
147
|
+
|
|
148
|
+
Execute `bd` commands sequentially:
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
# 1. Create Epic
|
|
152
|
+
bd create "{Epic Title}" -p 0 --type epic
|
|
153
|
+
# Capture epic ID from output (e.g., bd-auth)
|
|
154
|
+
|
|
155
|
+
# 2. Create Tasks (use actual epic ID)
|
|
156
|
+
bd create "{Task 1}" -p {priority} --parent {epic-id}
|
|
157
|
+
# Capture task ID (e.g., bd-auth.1)
|
|
158
|
+
|
|
159
|
+
bd create "{Task 2}" -p {priority} --parent {epic-id}
|
|
160
|
+
# Capture task ID (e.g., bd-auth.2)
|
|
161
|
+
|
|
162
|
+
# ... repeat for all tasks
|
|
163
|
+
|
|
164
|
+
# 3. Set Dependencies (use actual task IDs)
|
|
165
|
+
bd dep add {task-2-id} {task-1-id}
|
|
166
|
+
# ... repeat for all dependencies
|
|
167
|
+
|
|
168
|
+
# 4. Sync
|
|
169
|
+
bd sync
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Output summary:**
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
✓ Created Epic: {epic-id} "{Epic Title}"
|
|
176
|
+
|
|
177
|
+
Tasks created:
|
|
178
|
+
├── {task-1-id} "{Task 1}" [ready]
|
|
179
|
+
├── {task-2-id} "{Task 2}" [blocked by {task-1-id}]
|
|
180
|
+
├── {task-3-id} "{Task 3}" [ready]
|
|
181
|
+
└── {task-4-id} "{Task 4}" [blocked by {task-2-id}]
|
|
182
|
+
|
|
183
|
+
Ready to start (parallel): {task-1-id}, {task-3-id}
|
|
184
|
+
|
|
185
|
+
Next steps:
|
|
186
|
+
1. Run `/beads-create-epic-plan` to create high-level epic plan
|
|
187
|
+
2. Run `/beads-next` to claim a task and start working
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### If "Modify tasks":
|
|
191
|
+
|
|
192
|
+
Ask follow-up:
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
AskUserQuestion(questions=[{
|
|
196
|
+
question: "What would you like to modify?",
|
|
197
|
+
header: "Modify",
|
|
198
|
+
options: [
|
|
199
|
+
{ label: "Add tasks", description: "Add more tasks to the breakdown" },
|
|
200
|
+
{ label: "Remove tasks", description: "Remove some tasks" },
|
|
201
|
+
{ label: "Change dependencies", description: "Modify blocking relationships" },
|
|
202
|
+
{ label: "Change priorities", description: "Adjust task priorities" }
|
|
203
|
+
],
|
|
204
|
+
multiSelect: true
|
|
205
|
+
}])
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Collect modifications and return to Step 3 with updated breakdown.
|
|
209
|
+
|
|
210
|
+
### If "Cancel":
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
Breakdown cancelled.
|
|
214
|
+
|
|
215
|
+
To try again with more context:
|
|
216
|
+
/beads-breakdown "more detailed description"
|
|
217
|
+
/beads-breakdown @docs/ai/requirements/req-{name}.md
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Step 5: Store Context for Next Commands
|
|
223
|
+
|
|
224
|
+
After successful creation, store context for `/beads-create-epic-plan`:
|
|
225
|
+
|
|
226
|
+
**File:** `.beads/current-epic.json`
|
|
227
|
+
|
|
228
|
+
```json
|
|
229
|
+
{
|
|
230
|
+
"epic_id": "{epic-id}",
|
|
231
|
+
"epic_title": "{Epic Title}",
|
|
232
|
+
"source_file": "{file path or null}",
|
|
233
|
+
"tasks": [
|
|
234
|
+
{
|
|
235
|
+
"id": "{task-1-id}",
|
|
236
|
+
"title": "{Task 1}",
|
|
237
|
+
"priority": 1,
|
|
238
|
+
"blocked_by": [],
|
|
239
|
+
"status": "open"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "{task-2-id}",
|
|
243
|
+
"title": "{Task 2}",
|
|
244
|
+
"priority": 1,
|
|
245
|
+
"blocked_by": ["{task-1-id}"],
|
|
246
|
+
"status": "open"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"created_at": "{ISO timestamp}"
|
|
250
|
+
}
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## Notes
|
|
256
|
+
|
|
257
|
+
- **Confirmation required**: Never execute `bd` commands without user confirmation
|
|
258
|
+
- **Idempotent**: Safe to re-run; will show current state if epic exists
|
|
259
|
+
- **Source tracking**: Links back to requirement/planning doc if provided
|
|
260
|
+
- **Parallel-friendly**: Breakdown should maximize parallel execution opportunities
|
|
261
|
+
|
|
262
|
+
### Task Sizing Guidelines
|
|
263
|
+
|
|
264
|
+
| Size | Description | When to use |
|
|
265
|
+
|------|-------------|-------------|
|
|
266
|
+
| Too small | < 1 hour, single function | Merge with related task |
|
|
267
|
+
| Good | 2-8 hours, 1-3 phases | Ideal task size |
|
|
268
|
+
| Too large | > 2 days, > 5 phases | Split into subtasks |
|
|
269
|
+
|
|
270
|
+
### Priority Guidelines
|
|
271
|
+
|
|
272
|
+
| Priority | Meaning | Use for |
|
|
273
|
+
|----------|---------|---------|
|
|
274
|
+
| P0 | Critical | Blockers, urgent fixes |
|
|
275
|
+
| P1 | High | Core functionality |
|
|
276
|
+
| P2 | Medium | Important but not blocking |
|
|
277
|
+
| P3 | Low | Nice to have |
|
|
278
|
+
| P4 | Backlog | Future consideration |
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: beads-create-epic-plan
|
|
3
|
+
description: Creates a high-level epic plan document for architecture, flow, and task overview.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Goal
|
|
7
|
+
|
|
8
|
+
Create a high-level epic plan document (`docs/ai/planning/epic-{name}.md`) that focuses on architecture, data flow, and task overview. This plan is NOT executable - it serves as a reference for task-level plans.
|
|
9
|
+
|
|
10
|
+
## Workflow Alignment
|
|
11
|
+
|
|
12
|
+
- Provide brief status updates (1–3 sentences) before/after important actions.
|
|
13
|
+
- Generate plan automatically after gathering context.
|
|
14
|
+
- Link to Beads epic and requirement doc if available.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Step 1: Load Context
|
|
19
|
+
|
|
20
|
+
### 1a: Check for Current Epic Context
|
|
21
|
+
|
|
22
|
+
**Read:** `.beads/current-epic.json` (created by `/beads-breakdown`)
|
|
23
|
+
|
|
24
|
+
If exists:
|
|
25
|
+
- Extract epic_id, epic_title, source_file, tasks
|
|
26
|
+
- Use as primary context
|
|
27
|
+
|
|
28
|
+
If not exists:
|
|
29
|
+
- Ask user for epic ID or title
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
AskUserQuestion(questions=[{
|
|
33
|
+
question: "Which epic would you like to create a plan for?",
|
|
34
|
+
header: "Epic",
|
|
35
|
+
options: [
|
|
36
|
+
{ label: "Enter epic ID", description: "e.g., bd-auth or project-abc" },
|
|
37
|
+
{ label: "Enter epic title", description: "I'll search for it in Beads" }
|
|
38
|
+
],
|
|
39
|
+
multiSelect: false
|
|
40
|
+
}])
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Then run: `bd list --type epic` to find matching epic
|
|
44
|
+
|
|
45
|
+
### 1b: Load Epic Details from Beads
|
|
46
|
+
|
|
47
|
+
**Run:** `bd show {epic-id} --json`
|
|
48
|
+
|
|
49
|
+
Extract:
|
|
50
|
+
- Epic title, description
|
|
51
|
+
- Child tasks (IDs, titles, priorities, dependencies)
|
|
52
|
+
- Current status
|
|
53
|
+
|
|
54
|
+
### 1c: Load Requirement Doc (if linked)
|
|
55
|
+
|
|
56
|
+
If `source_file` exists in context:
|
|
57
|
+
- Read requirement doc
|
|
58
|
+
- Extract architecture hints, constraints, acceptance criteria
|
|
59
|
+
|
|
60
|
+
### 1d: Explore Codebase (optional)
|
|
61
|
+
|
|
62
|
+
**Tool:** Task(
|
|
63
|
+
subagent_type='Explore',
|
|
64
|
+
thoroughness='quick',
|
|
65
|
+
prompt="Identify existing architecture patterns relevant to {epic title}. Find similar features, common patterns, and key integration points. Return summarized findings."
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Step 2: Generate Epic Plan
|
|
71
|
+
|
|
72
|
+
**Load template:** Read `docs/ai/planning/epic-template.md`
|
|
73
|
+
|
|
74
|
+
**Auto-derive epic name:**
|
|
75
|
+
- From epic title: "User Authentication System" → `epic-auth-system`
|
|
76
|
+
- Kebab-case, concise
|
|
77
|
+
|
|
78
|
+
**Generate content sections:**
|
|
79
|
+
|
|
80
|
+
### Section 1: Overview
|
|
81
|
+
- Problem statement from requirement doc or infer from epic title
|
|
82
|
+
- Goals from epic description
|
|
83
|
+
- Success metrics (derive from acceptance criteria if available)
|
|
84
|
+
|
|
85
|
+
### Section 2: Architecture
|
|
86
|
+
- Propose high-level architecture based on:
|
|
87
|
+
- Codebase exploration findings
|
|
88
|
+
- Similar features in codebase
|
|
89
|
+
- Standard patterns for this type of feature
|
|
90
|
+
- Keep diagram simple (ASCII art)
|
|
91
|
+
- List key components and their responsibilities
|
|
92
|
+
|
|
93
|
+
### Section 3: Task Breakdown
|
|
94
|
+
- Pull from Beads (via `bd show {epic-id}`)
|
|
95
|
+
- Include: task ID, title, priority, status, blocked by
|
|
96
|
+
- Show dependency graph
|
|
97
|
+
- Leave "Plan Doc" column empty (filled when `/create-plan` runs)
|
|
98
|
+
|
|
99
|
+
### Section 4: Data Flow
|
|
100
|
+
- Describe primary user/data flow
|
|
101
|
+
- Include error handling flow
|
|
102
|
+
- Keep high-level (details go in task plans)
|
|
103
|
+
|
|
104
|
+
### Section 5: API Contracts (if applicable)
|
|
105
|
+
- Only if epic involves API changes
|
|
106
|
+
- High-level endpoints overview
|
|
107
|
+
- Key data models (schema outline)
|
|
108
|
+
|
|
109
|
+
### Section 6: Key Decisions
|
|
110
|
+
- Document major architectural decisions
|
|
111
|
+
- Include alternatives considered and trade-offs
|
|
112
|
+
|
|
113
|
+
### Section 7: Risks & Mitigations
|
|
114
|
+
- Technical risks
|
|
115
|
+
- Dependency risks
|
|
116
|
+
- Timeline risks
|
|
117
|
+
|
|
118
|
+
### Section 8: Dependencies
|
|
119
|
+
- External services/APIs
|
|
120
|
+
- Internal teams/services
|
|
121
|
+
- Blockers that must be resolved
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Step 3: Create Epic Plan File
|
|
126
|
+
|
|
127
|
+
**File path:** `docs/ai/planning/epic-{name}.md`
|
|
128
|
+
|
|
129
|
+
**Frontmatter:**
|
|
130
|
+
```yaml
|
|
131
|
+
---
|
|
132
|
+
beads_epic: {epic-id}
|
|
133
|
+
requirement: {source_file or null}
|
|
134
|
+
---
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**If file already exists:**
|
|
138
|
+
1. Backup to: `docs/ai/planning/archive/epic-{name}_{timestamp}.md`
|
|
139
|
+
2. Notify user: "Previous version backed up to archive/"
|
|
140
|
+
3. Overwrite main file
|
|
141
|
+
|
|
142
|
+
**Write file:** Write(file_path=..., content=...)
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Step 4: Update Context File
|
|
147
|
+
|
|
148
|
+
**Update:** `.beads/current-epic.json`
|
|
149
|
+
|
|
150
|
+
Add:
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"epic_plan": "docs/ai/planning/epic-{name}.md",
|
|
154
|
+
"updated_at": "{ISO timestamp}"
|
|
155
|
+
}
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Step 5: Output Summary
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
✓ Created epic plan: docs/ai/planning/epic-{name}.md
|
|
164
|
+
|
|
165
|
+
Epic: {epic-id} "{Epic Title}"
|
|
166
|
+
Tasks: {count} ({ready} ready, {blocked} blocked)
|
|
167
|
+
|
|
168
|
+
Sections created:
|
|
169
|
+
✓ Overview
|
|
170
|
+
✓ Architecture
|
|
171
|
+
✓ Task Breakdown ({task count} tasks)
|
|
172
|
+
✓ Data Flow
|
|
173
|
+
{✓ API Contracts (if included)}
|
|
174
|
+
✓ Key Decisions
|
|
175
|
+
✓ Risks & Mitigations
|
|
176
|
+
✓ Dependencies
|
|
177
|
+
|
|
178
|
+
Next steps:
|
|
179
|
+
1. Review and refine the epic plan
|
|
180
|
+
2. Run `/beads-next` to claim a task
|
|
181
|
+
3. Run `/create-plan` to create detailed plan for the claimed task
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Notes
|
|
187
|
+
|
|
188
|
+
- **High-level only**: Epic plan focuses on architecture and overview, NOT implementation details
|
|
189
|
+
- **Not executable**: Use `/execute-plan` only on task-level plans (feature-*.md)
|
|
190
|
+
- **Reference document**: Task plans reference this for architectural context
|
|
191
|
+
- **Sync with Beads**: Task breakdown table should match Beads state
|
|
192
|
+
- **Update manually**: Architecture decisions and risks should be updated as epic progresses
|
|
193
|
+
|
|
194
|
+
### What Goes Where
|
|
195
|
+
|
|
196
|
+
| Content | Epic Plan | Task Plan |
|
|
197
|
+
|---------|-----------|-----------|
|
|
198
|
+
| Architecture overview | ✓ | Reference only |
|
|
199
|
+
| Data flow diagrams | ✓ | Detailed flow if needed |
|
|
200
|
+
| Task list & dependencies | ✓ | Single task focus |
|
|
201
|
+
| API contracts (overview) | ✓ | Detailed specs |
|
|
202
|
+
| Implementation phases | ✗ | ✓ |
|
|
203
|
+
| Pseudo-code | ✗ | ✓ |
|
|
204
|
+
| File-level changes | ✗ | ✓ |
|
|
205
|
+
| Acceptance criteria | High-level | Detailed per task |
|