@comfanion/workflow 4.1.2 → 4.3.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/README.md +1 -2
- package/bin/cli.js +2 -4
- package/package.json +1 -1
- package/src/build-info.json +1 -1
- package/src/opencode/ARCHITECTURE.md +7 -6
- package/src/opencode/FLOW.yaml +10 -10
- package/src/opencode/agents/coder.md +82 -0
- package/src/opencode/agents/dev.md +10 -0
- package/src/opencode/commands/architecture.md +1 -1
- package/src/opencode/commands/prd.md +1 -1
- package/src/opencode/config.yaml +1 -1
- package/src/opencode/skills/adr-writing/SKILL.md +122 -159
- package/src/opencode/skills/adr-writing/template.md +130 -0
- package/src/opencode/skills/architecture-design/SKILL.md +113 -107
- package/src/opencode/skills/architecture-design/template.md +212 -0
- package/src/opencode/skills/architecture-validation/SKILL.md +1 -1
- package/src/opencode/skills/changelog/template.md +23 -0
- package/src/opencode/skills/epic-writing/SKILL.md +116 -264
- package/src/opencode/skills/epic-writing/template.md +119 -0
- package/src/opencode/skills/prd-validation/SKILL.md +1 -1
- package/src/opencode/skills/prd-writing/SKILL.md +79 -43
- package/src/opencode/skills/prd-writing/template.md +147 -0
- package/src/opencode/skills/requirements-gathering/SKILL.md +128 -78
- package/src/opencode/skills/requirements-gathering/template.md +156 -0
- package/src/opencode/skills/story-writing/SKILL.md +106 -464
- package/src/opencode/skills/story-writing/template.md +214 -0
- package/src/opencode/skills/unit-writing/SKILL.md +185 -0
- package/src/opencode/skills/unit-writing/template.md +136 -0
- package/src/repo-structure/docs/README.md +5 -5
- package/src/repo-structure/docs/requirements/README.md +1 -1
- package/src/opencode/templates/CHANGELOG.md +0 -82
- package/src/opencode/templates/adr-template.md +0 -115
- package/src/opencode/templates/architecture-template.md +0 -362
- package/src/opencode/templates/epic-template.md +0 -166
- package/src/opencode/templates/prd-template.md +0 -479
- package/src/opencode/templates/requirements-template.md +0 -132
- package/src/opencode/templates/story-template.md +0 -182
- /package/src/opencode/{templates/prd-acceptance-criteria-template.md → skills/acceptance-criteria/template.md} +0 -0
- /package/src/opencode/{templates/change-proposal-template.md → skills/archiving/template-change-proposal.md} +0 -0
- /package/src/opencode/{templates/git-workflow-template.md → skills/coding-standards/template-git.md} +0 -0
- /package/src/opencode/{templates/testing-standards-template.md → skills/coding-standards/template-testing.md} +0 -0
- /package/src/opencode/{templates/jira-cache-template.yaml → skills/jira-integration/template-cache.yaml} +0 -0
- /package/src/opencode/{templates/module-index-template.md → skills/module-documentation/template.md} +0 -0
- /package/src/opencode/{templates/sprint-status-template.yaml → skills/sprint-planning/template.yaml} +0 -0
- /package/src/opencode/{templates/integration-tests-template.md → skills/test-design/template-integration.md} +0 -0
- /package/src/opencode/{templates/module-test-cases-template.md → skills/test-design/template-module.md} +0 -0
|
@@ -13,334 +13,186 @@ metadata:
|
|
|
13
13
|
## When to Use
|
|
14
14
|
|
|
15
15
|
Use this skill when you need to:
|
|
16
|
-
- Create epics from PRD
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- Track PRD coverage
|
|
20
|
-
|
|
21
|
-
## MANDATORY: Read Before Writing Epic
|
|
22
|
-
|
|
23
|
-
**⚠️ STOP! Before writing ANY epic, execute these steps:**
|
|
24
|
-
|
|
25
|
-
### Step 1: Find and Read Project Standards
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
# Execute these Glob searches:
|
|
29
|
-
Glob "**/AGENTS.md" OR "**/CLAUDE.md" # → Read the file found
|
|
30
|
-
Glob "**/docs/architecture.md" # → Read system architecture
|
|
31
|
-
Glob "**/coding-standards/**/*.md" # → Read ALL coding standards
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
**You MUST read these files before writing epic!**
|
|
35
|
-
|
|
36
|
-
### Step 2: Find and Read Module Documentation
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
# For the module this epic covers (e.g., "catalog"):
|
|
40
|
-
Glob "**/docs/**/catalog/**/*.md" # → Read ALL module docs
|
|
41
|
-
Glob "**/catalog-data-model*.md" # → Read data model
|
|
42
|
-
Glob "**/catalog-architecture*.md" # → Read module architecture
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Step 3: Find and Read PRD
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
Glob "**/prd.md" # → Read PRD for FR-XXX references
|
|
49
|
-
Glob "**/requirements/*.md" # → Read detailed requirements if exist
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Step 4: Find Existing Code Patterns (for technical notes)
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# Find existing code to reference in Technical Notes:
|
|
56
|
-
Glob "**/src/services/[module]/modules/*/domain/**/*.go" # → Domain patterns
|
|
57
|
-
Glob "**/src/services/[module]/modules/*/application/**/*.go" # → Use case patterns
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Pre-Epic Checklist
|
|
61
|
-
|
|
62
|
-
Before writing epic, confirm you executed:
|
|
63
|
-
- [ ] **Glob + Read** AGENTS.md/CLAUDE.md
|
|
64
|
-
- [ ] **Glob + Read** docs/architecture.md
|
|
65
|
-
- [ ] **Glob + Read** coding-standards/*.md (ALL files)
|
|
66
|
-
- [ ] **Glob + Read** module documentation (architecture, data-model)
|
|
67
|
-
- [ ] **Glob + Read** PRD for requirements
|
|
68
|
-
- [ ] **Glob** existing code patterns (for Technical Notes section)
|
|
69
|
-
|
|
70
|
-
**⛔ DO NOT WRITE EPIC WITHOUT COMPLETING ALL STEPS ABOVE!**
|
|
71
|
-
**Epic without proper architecture references = REJECTED.**
|
|
72
|
-
|
|
73
|
-
---
|
|
16
|
+
- Create epics from PRD
|
|
17
|
+
- Define epic scope and acceptance criteria
|
|
18
|
+
- Plan stories within an epic
|
|
19
|
+
- Track PRD requirement coverage
|
|
74
20
|
|
|
75
21
|
## Template
|
|
76
22
|
|
|
77
|
-
Use template at: `@.opencode/
|
|
23
|
+
Use template at: `@.opencode/skills/epic-writing/template.md`
|
|
78
24
|
|
|
79
|
-
## Epic Structure
|
|
25
|
+
## Epic Structure (v2)
|
|
80
26
|
|
|
81
|
-
### Header
|
|
27
|
+
### 1. Header
|
|
82
28
|
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
**Priority:** P0 | P1 | P2
|
|
89
|
-
**Sprint:** sprint-[N]
|
|
90
|
-
**Branch:** feature/epic-[NN]-[short-name]
|
|
29
|
+
```yaml
|
|
30
|
+
id: {{PREFIX}}-E{{N}}
|
|
31
|
+
status: backlog | ready | in_progress | done
|
|
32
|
+
priority: P0 | P1
|
|
33
|
+
sprint: {{sprint}}
|
|
91
34
|
```
|
|
92
35
|
|
|
93
|
-
###
|
|
94
|
-
|
|
95
|
-
1. **Overview** - 2-3 sentences on goal and value
|
|
96
|
-
2. **Business Value** - Why this epic matters
|
|
97
|
-
3. **Dependencies** - What must come before/after
|
|
98
|
-
4. **Architecture References** - Links to architecture sections
|
|
99
|
-
5. **PRD Coverage** - Which FRs this epic implements
|
|
100
|
-
6. **Acceptance Criteria** - MANDATORY, high-level
|
|
101
|
-
7. **Stories** - Table of stories in this epic
|
|
102
|
-
8. **Technical Notes** - Implementation hints
|
|
103
|
-
9. **Risks & Mitigations**
|
|
104
|
-
|
|
105
|
-
## Naming Conventions
|
|
36
|
+
### 2. Overview
|
|
106
37
|
|
|
107
|
-
|
|
38
|
+
Prose section with:
|
|
39
|
+
- What epic delivers (bold the outcome)
|
|
40
|
+
- Business value
|
|
41
|
+
- Scope (included)
|
|
42
|
+
- Not included
|
|
108
43
|
|
|
109
|
-
```
|
|
110
|
-
|
|
44
|
+
```markdown
|
|
45
|
+
## Overview
|
|
111
46
|
|
|
112
|
-
|
|
113
|
-
- epic-01-catalog-data-layer.md
|
|
114
|
-
- epic-05-catalog-products-service.md
|
|
115
|
-
- epic-10-inventory-reservations.md
|
|
116
|
-
```
|
|
47
|
+
This epic delivers **complete task management** for team members. When complete, users will be able to create, assign, and track tasks.
|
|
117
48
|
|
|
118
|
-
|
|
49
|
+
**Business Value:** Core functionality for MVP launch
|
|
119
50
|
|
|
120
|
-
|
|
121
|
-
|
|
51
|
+
**Scope:**
|
|
52
|
+
- Task CRUD
|
|
53
|
+
- Assignments
|
|
54
|
+
- Status workflow
|
|
122
55
|
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
- CATALOG-E05
|
|
126
|
-
- INVENTORY-E10
|
|
56
|
+
**Not Included:**
|
|
57
|
+
- Recurring tasks (Growth)
|
|
127
58
|
```
|
|
128
59
|
|
|
129
|
-
###
|
|
60
|
+
### 3. Units Affected
|
|
130
61
|
|
|
131
|
-
|
|
132
|
-
|
|
62
|
+
| Unit | Changes | Impact |
|
|
63
|
+
|------|---------|--------|
|
|
64
|
+
| → Unit: `Task` | Create | New entity |
|
|
65
|
+
| → Unit: `User` | Modify | Add relation |
|
|
133
66
|
|
|
134
|
-
|
|
135
|
-
- feature/epic-01-data-layer
|
|
136
|
-
- feature/epic-05-products-service
|
|
137
|
-
```
|
|
67
|
+
### 4. Dependencies
|
|
138
68
|
|
|
139
|
-
|
|
69
|
+
| Type | Item | Why |
|
|
70
|
+
|------|------|-----|
|
|
71
|
+
| **Requires** | Auth system | Users must exist |
|
|
72
|
+
| **Enables** | Notifications epic | Triggers on assignment |
|
|
140
73
|
|
|
141
|
-
|
|
74
|
+
### 5. PRD Coverage
|
|
142
75
|
|
|
143
|
-
|
|
76
|
+
| FR | Requirement | Notes |
|
|
77
|
+
|----|-------------|-------|
|
|
78
|
+
| → FR: `FR-001` | Create task | Core feature |
|
|
79
|
+
| → FR: `FR-002` | Assign task | |
|
|
144
80
|
|
|
145
|
-
|
|
146
|
-
## Acceptance Criteria
|
|
81
|
+
### 6. Acceptance Criteria
|
|
147
82
|
|
|
148
|
-
|
|
149
|
-
- [ ]
|
|
150
|
-
- [ ]
|
|
151
|
-
- [ ] Unit test coverage > 80%
|
|
152
|
-
- [ ] Integration tests passing
|
|
153
|
-
- [ ] Documentation updated
|
|
154
|
-
- [ ] Code review passed
|
|
83
|
+
Checklist format:
|
|
84
|
+
- [ ] User can create task
|
|
85
|
+
- [ ] User can assign task
|
|
155
86
|
- [ ] All stories completed
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
### AC Quality Rules
|
|
159
|
-
|
|
160
|
-
- **Testable** - Each criterion can be verified
|
|
161
|
-
- **Feature-complete** - Covers the entire epic scope
|
|
162
|
-
- **Not story-level** - Higher level than individual stories
|
|
163
|
-
|
|
164
|
-
## PRD Coverage Matrix
|
|
165
|
-
|
|
166
|
-
Track which FRs are covered:
|
|
167
|
-
|
|
168
|
-
```markdown
|
|
169
|
-
### PRD Coverage
|
|
87
|
+
- [ ] Tests pass (>80%)
|
|
88
|
+
- [ ] Documentation updated
|
|
170
89
|
|
|
171
|
-
|
|
172
|
-
|-------|-------------|---------|-------|
|
|
173
|
-
| FR-001 | Product creation | ✅ | S05-01 |
|
|
174
|
-
| FR-002 | Product validation | ✅ | S05-02 |
|
|
175
|
-
| FR-003 | Product search | ⏳ | S05-05 |
|
|
176
|
-
```
|
|
90
|
+
### 7. Stories
|
|
177
91
|
|
|
178
|
-
|
|
92
|
+
Table + dependency diagram:
|
|
179
93
|
|
|
180
|
-
|
|
94
|
+
| ID | Title | Size | Focus | Status |
|
|
95
|
+
|----|-------|------|-------|--------|
|
|
96
|
+
| S01-01 | Task Domain | M | → Unit: `Task` | ⬜ |
|
|
97
|
+
| S01-02 | Task Repository | M | → Unit: `Task` | ⬜ |
|
|
181
98
|
|
|
182
99
|
```
|
|
183
|
-
|
|
184
|
-
└── STORY (2-5 days)
|
|
185
|
-
└── TASK (4-6 hours)
|
|
100
|
+
S01 ──► S02 ──► S03
|
|
186
101
|
```
|
|
187
102
|
|
|
188
|
-
|
|
189
|
-
|-------|----------|-------|-------------|
|
|
190
|
-
| **Epic** | 1-2 weeks | 1 | Complete feature |
|
|
191
|
-
| **Story** | 2-5 days | 3-8 per epic | User-facing capability |
|
|
192
|
-
| **Task** | 4-6 hours | 3-6 per story | Atomic code change with tests |
|
|
193
|
-
|
|
194
|
-
### Story Decomposition Pattern
|
|
103
|
+
### 8. Technical Decisions
|
|
195
104
|
|
|
196
|
-
|
|
105
|
+
| Decision | Rationale | ADR |
|
|
106
|
+
|----------|-----------|-----|
|
|
107
|
+
| UUID for IDs | Distributed generation | → ADR: `ADR-001` |
|
|
197
108
|
|
|
198
|
-
|
|
199
|
-
## Stories
|
|
200
|
-
|
|
201
|
-
| # | Layer | Story | Est | Tasks |
|
|
202
|
-
|---|-------|-------|-----|-------|
|
|
203
|
-
| S01 | Domain | Aggregates & Value Objects | M | 6 |
|
|
204
|
-
| S02 | Domain | Repository Interfaces | S | 3 |
|
|
205
|
-
| S03 | Application | Use Cases | M | 8 |
|
|
206
|
-
| S04 | Infrastructure | Repository Implementations | M | 6 |
|
|
207
|
-
| S05 | Infrastructure | HTTP Handlers | S | 5 |
|
|
208
|
-
| S06 | Infrastructure | Event Publishers | S | 4 |
|
|
209
|
-
| S07 | Testing | Integration Tests | S | 4 |
|
|
210
|
-
```
|
|
109
|
+
### 9. Risks
|
|
211
110
|
|
|
212
|
-
|
|
111
|
+
| Risk | Impact | Mitigation |
|
|
112
|
+
|------|--------|------------|
|
|
113
|
+
| Complex validation | M | Start simple, iterate |
|
|
213
114
|
|
|
214
|
-
|
|
115
|
+
### 10. References
|
|
215
116
|
|
|
216
117
|
```
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
118
|
+
→ PRD: `docs/prd.md`
|
|
119
|
+
→ Architecture: `docs/architecture.md`
|
|
120
|
+
→ Unit: `Task`
|
|
220
121
|
```
|
|
221
122
|
|
|
222
|
-
|
|
123
|
+
## Reference Format
|
|
124
|
+
|
|
125
|
+
Always use `→` prefix:
|
|
223
126
|
|
|
224
127
|
```markdown
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
| S01 | 4 | M | - |
|
|
230
|
-
| S02 | 3 | S | S01 |
|
|
231
|
-
| S03 | 5 | L | S01 |
|
|
232
|
-
| S04 | 4 | M | S02 |
|
|
233
|
-
| S05 | 3 | S | S03 |
|
|
234
|
-
| S06 | 3 | S | S04 |
|
|
235
|
-
| S07 | 3 | S | S05,S06 |
|
|
236
|
-
| **Total** | **25** | | |
|
|
237
|
-
|
|
238
|
-
**Parallel Opportunities:** S02+S03, S04+S05
|
|
128
|
+
→ Unit: `Task`
|
|
129
|
+
→ FR: `FR-001`
|
|
130
|
+
→ ADR: `ADR-001`
|
|
131
|
+
→ PRD: `docs/prd.md`
|
|
239
132
|
```
|
|
240
133
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
## Epic Sizing
|
|
134
|
+
## Story Planning
|
|
244
135
|
|
|
245
|
-
###
|
|
136
|
+
### Story Order
|
|
246
137
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
138
|
+
Recommended order within epic:
|
|
139
|
+
1. Domain layer (entities, value objects)
|
|
140
|
+
2. Repository interfaces
|
|
141
|
+
3. Use cases
|
|
142
|
+
4. Repository implementations
|
|
143
|
+
5. HTTP handlers
|
|
144
|
+
6. Integration tests
|
|
251
145
|
|
|
252
|
-
###
|
|
146
|
+
### Story Focus
|
|
253
147
|
|
|
254
|
-
|
|
255
|
-
- More than 10 stories
|
|
256
|
-
- More than 40 tasks total
|
|
257
|
-
- Spans multiple sprints
|
|
258
|
-
- Multiple unrelated features
|
|
259
|
-
- Different team members for different parts
|
|
148
|
+
Each story should focus on one unit:
|
|
260
149
|
|
|
261
|
-
|
|
150
|
+
| ID | Title | Focus |
|
|
151
|
+
|----|-------|-------|
|
|
152
|
+
| S01-01 | Task Domain | → Unit: `Task` |
|
|
153
|
+
| S01-02 | Task Repository | → Unit: `Task` |
|
|
262
154
|
|
|
263
|
-
|
|
264
|
-
- Only 1-2 stories
|
|
265
|
-
- Less than 8 tasks
|
|
266
|
-
- Can be done in 3-4 days
|
|
267
|
-
- Part of a larger feature
|
|
268
|
-
|
|
269
|
-
### Parallel Execution Opportunities
|
|
155
|
+
## Naming Conventions
|
|
270
156
|
|
|
271
|
-
|
|
157
|
+
### File Names
|
|
272
158
|
|
|
273
|
-
```markdown
|
|
274
|
-
### Execution Phases
|
|
275
|
-
|
|
276
|
-
| Phase | Stories (Parallel) | Duration |
|
|
277
|
-
|-------|-------------------|----------|
|
|
278
|
-
| 1 | S01 | 2.5d |
|
|
279
|
-
| 2 | S02, S03 | 3d |
|
|
280
|
-
| 3 | S04, S05 | 3d |
|
|
281
|
-
| 4 | S06 | 2d |
|
|
282
|
-
| 5 | S07 | 2d |
|
|
283
|
-
| **Total** | | **5d** |
|
|
284
|
-
|
|
285
|
-
**Sequential would be:** 6.5d
|
|
286
|
-
**Savings from parallelism:** 1.5d (23%)
|
|
287
159
|
```
|
|
160
|
+
epic-[NN]-[description].md
|
|
288
161
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
```markdown
|
|
294
|
-
### Dependencies
|
|
295
|
-
|
|
296
|
-
**Requires (must complete first):**
|
|
297
|
-
- CATALOG-E01: Data layer must exist before domain
|
|
298
|
-
- CATALOG-E02: Domain types needed for repository
|
|
299
|
-
|
|
300
|
-
**Enables (unlocks these):**
|
|
301
|
-
- CATALOG-E10: Search requires products to exist
|
|
302
|
-
- INVENTORY-E01: Inventory needs product IDs
|
|
162
|
+
Examples:
|
|
163
|
+
- epic-01-task-management.md
|
|
164
|
+
- epic-02-user-auth.md
|
|
303
165
|
```
|
|
304
166
|
|
|
305
|
-
###
|
|
306
|
-
|
|
307
|
-
1. Dependencies form a DAG (no cycles!)
|
|
308
|
-
2. Sprint planning respects dependencies
|
|
309
|
-
3. Blocked epics cannot start
|
|
310
|
-
|
|
311
|
-
## Directory Structure
|
|
167
|
+
### Epic IDs
|
|
312
168
|
|
|
313
169
|
```
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
│ └── stories/
|
|
320
|
-
├── sprint-1/
|
|
321
|
-
│ ├── epic-05-products-service.md # Current
|
|
322
|
-
│ └── stories/
|
|
170
|
+
[PREFIX]-E[NN]
|
|
171
|
+
|
|
172
|
+
Examples:
|
|
173
|
+
- TASK-E01
|
|
174
|
+
- AUTH-E02
|
|
323
175
|
```
|
|
324
176
|
|
|
325
177
|
## Validation Checklist
|
|
326
178
|
|
|
327
|
-
|
|
328
|
-
- [ ]
|
|
329
|
-
- [ ]
|
|
330
|
-
- [ ]
|
|
331
|
-
- [ ]
|
|
332
|
-
- [ ]
|
|
333
|
-
- [ ]
|
|
334
|
-
- [ ] Stories table is complete
|
|
335
|
-
- [ ] Estimate is reasonable (1-2 weeks)
|
|
179
|
+
- [ ] Overview explains what and why
|
|
180
|
+
- [ ] Units affected listed with `→ Unit:` format
|
|
181
|
+
- [ ] All FRs from scope are listed with `→ FR:` format
|
|
182
|
+
- [ ] Acceptance criteria are measurable
|
|
183
|
+
- [ ] Stories have dependency order
|
|
184
|
+
- [ ] Technical decisions link to ADRs
|
|
185
|
+
- [ ] Uses `→` reference format throughout
|
|
336
186
|
|
|
337
187
|
## Output
|
|
338
188
|
|
|
339
|
-
Save to: `docs/sprint-artifacts/sprint-[N]/epic-[NN]-[
|
|
189
|
+
Save to: `docs/sprint-artifacts/sprint-[N]/epic-[NN]-[description].md`
|
|
190
|
+
|
|
191
|
+
Or backlog: `docs/sprint-artifacts/backlog/epic-[NN]-[description].md`
|
|
340
192
|
|
|
341
193
|
## Related Skills
|
|
342
194
|
|
|
343
|
-
- `story-writing` - For creating stories
|
|
344
|
-
- `
|
|
345
|
-
- `
|
|
346
|
-
- `
|
|
195
|
+
- `story-writing` - For creating stories
|
|
196
|
+
- `prd-writing` - Source of requirements
|
|
197
|
+
- `unit-writing` - For documenting affected units
|
|
198
|
+
- `sprint-planning` - For organizing epics
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Epic {{N}}: {{title}}
|
|
2
|
+
|
|
3
|
+
```yaml
|
|
4
|
+
id: {{PREFIX}}-E{{N}}
|
|
5
|
+
status: backlog | ready | in_progress | done
|
|
6
|
+
priority: P0 | P1
|
|
7
|
+
sprint: {{sprint}}
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
This epic delivers **{{user_visible_outcome}}** for {{target_users}}. When complete, users will be able to {{what_they_can_do}}.
|
|
15
|
+
|
|
16
|
+
**Business Value:** {{why_this_matters}}
|
|
17
|
+
|
|
18
|
+
**Scope:**
|
|
19
|
+
- {{included_1}}
|
|
20
|
+
- {{included_2}}
|
|
21
|
+
|
|
22
|
+
**Not Included:**
|
|
23
|
+
- {{excluded}}
|
|
24
|
+
|
|
25
|
+
<!-- e.g.
|
|
26
|
+
This epic delivers **complete task management** for team members. When complete, users will be able to create, assign, and track tasks through their lifecycle.
|
|
27
|
+
|
|
28
|
+
**Business Value:** Core functionality needed for MVP launch
|
|
29
|
+
|
|
30
|
+
**Scope:**
|
|
31
|
+
- Task CRUD operations
|
|
32
|
+
- Assignment to team members
|
|
33
|
+
- Status workflow (todo → in_progress → done)
|
|
34
|
+
|
|
35
|
+
**Not Included:**
|
|
36
|
+
- Recurring tasks (Growth feature)
|
|
37
|
+
- Task templates
|
|
38
|
+
-->
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Units Affected
|
|
43
|
+
|
|
44
|
+
| Unit | Changes | Impact |
|
|
45
|
+
|------|---------|--------|
|
|
46
|
+
| → Unit: `{{unit}}` | Create | New entity |
|
|
47
|
+
| → Unit: `{{unit}}` | Modify | Add {{what}} |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Dependencies
|
|
52
|
+
|
|
53
|
+
| Type | Item | Why |
|
|
54
|
+
|------|------|-----|
|
|
55
|
+
| **Requires** | {{epic/system}} | {{reason}} |
|
|
56
|
+
| **Enables** | {{epic/system}} | {{reason}} |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## PRD Coverage
|
|
61
|
+
|
|
62
|
+
| FR | Requirement | Notes |
|
|
63
|
+
|----|-------------|-------|
|
|
64
|
+
| → FR: `FR-{{N}}` | {{short_description}} | {{notes}} |
|
|
65
|
+
| → FR: `FR-{{N}}` | {{short_description}} | |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Acceptance Criteria
|
|
70
|
+
|
|
71
|
+
Epic is complete when:
|
|
72
|
+
- [ ] {{measurable_outcome}}
|
|
73
|
+
- [ ] {{measurable_outcome}}
|
|
74
|
+
- [ ] All stories completed
|
|
75
|
+
- [ ] Tests pass (coverage >{{N}}%)
|
|
76
|
+
- [ ] Documentation updated
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Stories
|
|
81
|
+
|
|
82
|
+
| ID | Title | Size | Focus | Status |
|
|
83
|
+
|----|-------|------|-------|--------|
|
|
84
|
+
| S{{E}}-01 | {{title}} | S/M/L | → Unit: `{{unit}}` | ⬜ |
|
|
85
|
+
| S{{E}}-02 | {{title}} | S/M/L | → Unit: `{{unit}}` | ⬜ |
|
|
86
|
+
|
|
87
|
+
**Dependency Flow:**
|
|
88
|
+
```
|
|
89
|
+
S01 ──► S02 ──► S03
|
|
90
|
+
│
|
|
91
|
+
└──► S04
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Notes:**
|
|
95
|
+
- {{implementation_note}}
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Technical Decisions
|
|
100
|
+
|
|
101
|
+
| Decision | Rationale | ADR |
|
|
102
|
+
|----------|-----------|-----|
|
|
103
|
+
| {{decision}} | {{why}} | → ADR: `ADR-{{N}}` |
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Risks
|
|
108
|
+
|
|
109
|
+
| Risk | Impact | Mitigation |
|
|
110
|
+
|------|--------|------------|
|
|
111
|
+
| {{risk}} | H/M/L | {{approach}} |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## References
|
|
116
|
+
|
|
117
|
+
→ PRD: `{{path}}`
|
|
118
|
+
→ Architecture: `{{path}}`
|
|
119
|
+
→ Unit: `{{unit}}`
|
|
@@ -141,7 +141,7 @@ After fixing issues:
|
|
|
141
141
|
### Action Required
|
|
142
142
|
|
|
143
143
|
Create the QA artifact using template:
|
|
144
|
-
`@.opencode/
|
|
144
|
+
`@.opencode/skills/acceptance-criteria/template.md`
|
|
145
145
|
|
|
146
146
|
This artifact is MANDATORY before proceeding to architecture.
|
|
147
147
|
|