1
---
2
name: breakdown-plan
3
description: 'Issue Planning and Automation prompt that generates comprehensive project plans with Epic > Feature > Story/Enabler > Test hierarchy, dependencies, priorities, and automated tracking.'
4
---
5
6
# GitHub Issue Planning & Project Automation Prompt
7
8
## Goal
9
10
Act as a senior Project Manager and DevOps specialist with expertise in Agile methodology and GitHub project management. Your task is to take the complete set of feature artifacts (PRD, UX design, technical breakdown, testing plan) and generate a comprehensive GitHub project plan with automated issue creation, dependency linking, priority assignment, and Kanban-style tracking.
11
12
## GitHub Project Management Best Practices
13
14
### Agile Work Item Hierarchy
15
16
- **Epic**: Large business capability spanning multiple features (milestone level)
17
- **Feature**: Deliverable user-facing functionality within an epic
18
- **Story**: User-focused requirement that delivers value independently
19
- **Enabler**: Technical infrastructure or architectural work supporting stories
20
- **Test**: Quality assurance work for validating stories and enablers
21
- **Task**: Implementation-level work breakdown for stories/enablers
22
23
### Project Management Principles
24
25
- **INVEST Criteria**: Independent, Negotiable, Valuable, Estimable, Small, Testable
26
- **Definition of Ready**: Clear acceptance criteria before work begins
27
- **Definition of Done**: Quality gates and completion criteria
28
- **Dependency Management**: Clear blocking relationships and critical path identification
29
- **Value-Based Prioritization**: Business value vs. effort matrix for decision making
30
31
## Input Requirements
32
33
Before using this prompt, ensure you have the complete testing workflow artifacts:
34
35
### Core Feature Documents
36
37
1. **Feature PRD**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}.md`
38
2. **Technical Breakdown**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/technical-breakdown.md`
39
3. **Implementation Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`
40
41
### Related Planning Prompts
42
43
- **Test Planning**: Use `plan-test` prompt for comprehensive test strategy, quality assurance planning, and test issue creation
44
- **Architecture Planning**: Use `plan-epic-arch` prompt for system architecture and technical design
45
- **Feature Planning**: Use `plan-feature-prd` prompt for detailed feature requirements and specifications
46
47
## Output Format
48
49
Create two primary deliverables:
50
51
1. **Project Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/project-plan.md`
52
2. **Issue Creation Checklist**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/issues-checklist.md`
53
54
### Project Plan Structure
55
56
#### 1. Project Overview
57
58
- **Feature Summary**: Brief description and business value
59
- **Success Criteria**: Measurable outcomes and KPIs
60
- **Key Milestones**: Breakdown of major deliverables without timelines
61
- **Risk Assessment**: Potential blockers and mitigation strategies
62
63
#### 2. Work Item Hierarchy
64
65
```mermaid
66
graph TD
67
A[Epic: {Epic Name}] --> B[Feature: {Feature Name}]
68
B --> C[Story 1: {User Story}]
69
B --> D[Story 2: {User Story}]
70
B --> E[Enabler 1: {Technical Work}]
71
B --> F[Enabler 2: {Infrastructure}]
72
73
C --> G[Task: Frontend Implementation]
74
C --> H[Task: API Integration]
75
C --> I[Test: E2E Scenarios]
76
77
D --> J[Task: Component Development]
78
D --> K[Task: State Management]
79
D --> L[Test: Unit Tests]
80
81
E --> M[Task: Database Schema]
82
E --> N[Task: Migration Scripts]
83
84
F --> O[Task: CI/CD Pipeline]
85
F --> P[Task: Monitoring Setup]
86
```
87
88
#### 3. GitHub Issues Breakdown
89
90
##### Epic Issue Template
91
92
```markdown
93
# Epic: {Epic Name}
94
95
## Epic Description
96
97
{Epic summary from PRD}
98
99
## Business Value
100
101
- **Primary Goal**: {Main business objective}
102
- **Success Metrics**: {KPIs and measurable outcomes}
103
- **User Impact**: {How users will benefit}
104
105
## Epic Acceptance Criteria
106
107
- [ ] {High-level requirement 1}
108
- [ ] {High-level requirement 2}
109
- [ ] {High-level requirement 3}
110
111
## Features in this Epic
112
113
- [ ] #{feature-issue-number} - {Feature Name}
114
115
## Definition of Done
116
117
- [ ] All feature stories completed
118
- [ ] End-to-end testing passed
119
- [ ] Performance benchmarks met
120
- [ ] Documentation updated
121
- [ ] User acceptance testing completed
122
123
## Labels
124
125
`epic`, `{priority-level}`, `{value-tier}`
126
127
## Milestone
128
129
{Release version/date}
130
131
## Estimate
132
133
{Epic-level t-shirt size: XS, S, M, L, XL, XXL}
134
```
135
136
##### Feature Issue Template
137
138
```markdown
139
# Feature: {Feature Name}
140
141
## Feature Description
142
143
{Feature summary from PRD}
144
145
## User Stories in this Feature
146
147
- [ ] #{story-issue-number} - {User Story Title}
148
- [ ] #{story-issue-number} - {User Story Title}
149
150
## Technical Enablers
151
152
- [ ] #{enabler-issue-number} - {Enabler Title}
153
- [ ] #{enabler-issue-number} - {Enabler Title}
154
155
## Dependencies
156
157
**Blocks**: {List of issues this feature blocks}
158
**Blocked by**: {List of issues blocking this feature}
159
160
## Acceptance Criteria
161
162
- [ ] {Feature-level requirement 1}
163
- [ ] {Feature-level requirement 2}
164
165
## Definition of Done
166
167
- [ ] All user stories delivered
168
- [ ] Technical enablers completed
169
- [ ] Integration testing passed
170
- [ ] UX review approved
171
- [ ] Performance testing completed
172
173
## Labels
174
175
`feature`, `{priority-level}`, `{value-tier}`, `{component-name}`
176
177
## Epic
178
179
#{epic-issue-number}
180
181
## Estimate
182
183
{Story points or t-shirt size}
184
```
185
186
##### User Story Issue Template
187
188
```markdown
189
# User Story: {Story Title}
190
191
## Story Statement
192
193
As a **{user type}**, I want **{goal}** so that **{benefit}**.
194
195
## Acceptance Criteria
196
197
- [ ] {Specific testable requirement 1}
198
- [ ] {Specific testable requirement 2}
199
- [ ] {Specific testable requirement 3}
200
201
## Technical Tasks
202
203
- [ ] #{task-issue-number} - {Implementation task}
204
- [ ] #{task-issue-number} - {Integration task}
205
206
## Testing Requirements
207
208
- [ ] #{test-issue-number} - {Test implementation}
209
210
## Dependencies
211
212
**Blocked by**: {Dependencies that must be completed first}
213
214
## Definition of Done
215
216
- [ ] Acceptance criteria met
217
- [ ] Code review approved
218
- [ ] Unit tests written and passing
219
- [ ] Integration tests passing
220
- [ ] UX design implemented
221
- [ ] Accessibility requirements met
222
223
## Labels
224
225
`user-story`, `{priority-level}`, `frontend/backend/fullstack`, `{component-name}`
226
227
## Feature
228
229
#{feature-issue-number}
230
231
## Estimate
232
233
{Story points: 1, 2, 3, 5, 8}
234
```
235
236
##### Technical Enabler Issue Template
237
238
```markdown
239
# Technical Enabler: {Enabler Title}
240
241
## Enabler Description
242
243
{Technical work required to support user stories}
244
245
## Technical Requirements
246
247
- [ ] {Technical requirement 1}
248
- [ ] {Technical requirement 2}
249
250
## Implementation Tasks
251
252
- [ ] #{task-issue-number} - {Implementation detail}
253
- [ ] #{task-issue-number} - {Infrastructure setup}
254
255
## User Stories Enabled
256
257
This enabler supports:
258
259
- #{story-issue-number} - {Story title}
260
- #{story-issue-number} - {Story title}
261
262
## Acceptance Criteria
263
264
- [ ] {Technical validation 1}
265
- [ ] {Technical validation 2}
266
- [ ] Performance benchmarks met
267
268
## Definition of Done
269
270
- [ ] Implementation completed
271
- [ ] Unit tests written
272
- [ ] Integration tests passing
273
- [ ] Documentation updated
274
- [ ] Code review approved
275
276
## Labels
277
278
`enabler`, `{priority-level}`, `infrastructure/api/database`, `{component-name}`
279
280
## Feature
281
282
#{feature-issue-number}
283
284
## Estimate
285
286
{Story points or effort estimate}
287
```
288
289
#### 4. Priority and Value Matrix
290
291
| Priority | Value | Criteria | Labels |
292
| -------- | ------ | ------------------------------- | --------------------------------- |
293
| P0 | High | Critical path, blocking release | `priority-critical`, `value-high` |
294
| P1 | High | Core functionality, user-facing | `priority-high`, `value-high` |
295
| P1 | Medium | Core functionality, internal | `priority-high`, `value-medium` |
296
| P2 | Medium | Important but not blocking | `priority-medium`, `value-medium` |
297
| P3 | Low | Nice to have, technical debt | `priority-low`, `value-low` |
298
299
#### 5. Estimation Guidelines
300
301
##### Story Point Scale (Fibonacci)
302
303
- **1 point**: Simple change, <4 hours
304
- **2 points**: Small feature, <1 day
305
- **3 points**: Medium feature, 1-2 days
306
- **5 points**: Large feature, 3-5 days
307
- **8 points**: Complex feature, 1-2 weeks
308
- **13+ points**: Epic-level work, needs breakdown
309
310
##### T-Shirt Sizing (Epics/Features)
311
312
- **XS**: 1-2 story points total
313
- **S**: 3-8 story points total
314
- **M**: 8-20 story points total
315
- **L**: 20-40 story points total
316
- **XL**: 40+ story points total (consider breaking down)
317
318
#### 6. Dependency Management
319
320
```mermaid
321
graph LR
322
A[Epic Planning] --> B[Feature Definition]
323
B --> C[Enabler Implementation]
324
C --> D[Story Development]
325
D --> E[Testing Execution]
326
E --> F[Feature Delivery]
327
328
G[Infrastructure Setup] --> C
329
H[API Design] --> D
330
I[Database Schema] --> C
331
J[Authentication] --> D
332
```
333
334
##### Dependency Types
335
336
- **Blocks**: Work that cannot proceed until this is complete
337
- **Related**: Work that shares context but not blocking
338
- **Prerequisite**: Required infrastructure or setup work
339
- **Parallel**: Work that can proceed simultaneously
340
341
#### 7. Sprint Planning Template
342
343
##### Sprint Capacity Planning
344
345
- **Team Velocity**: {Average story points per sprint}
346
- **Sprint Duration**: {2-week sprints recommended}
347
- **Buffer Allocation**: 20% for unexpected work and bug fixes
348
- **Focus Factor**: 70-80% of total time on planned work
349
350
##### Sprint Goal Definition
351
352
```markdown
353
## Sprint {N} Goal
354
355
**Primary Objective**: {Main deliverable for this sprint}
356
357
**Stories in Sprint**:
358
359
- #{issue} - {Story title} ({points} pts)
360
- #{issue} - {Story title} ({points} pts)
361
362
**Total Commitment**: {points} story points
363
**Success Criteria**: {Measurable outcomes}
364
```
365
366
#### 8. GitHub Project Board Configuration
367
368
##### Column Structure (Kanban)
369
370
1. **Backlog**: Prioritized and ready for planning
371
2. **Sprint Ready**: Detailed and estimated, ready for development
372
3. **In Progress**: Currently being worked on
373
4. **In Review**: Code review, testing, or stakeholder review
374
5. **Testing**: QA validation and acceptance testing
375
6. **Done**: Completed and accepted
376
377
##### Custom Fields Configuration
378
379
- **Priority**: P0, P1, P2, P3
380
- **Value**: High, Medium, Low
381
- **Component**: Frontend, Backend, Infrastructure, Testing
382
- **Estimate**: Story points or t-shirt size
383
- **Sprint**: Current sprint assignment
384
- **Assignee**: Responsible team member
385
- **Epic**: Parent epic reference
386
387
#### 9. Automation and GitHub Actions
388
389
##### Automated Issue Creation
390
391
```yaml
392
name: Create Feature Issues
393
394
on:
395
workflow_dispatch:
396
inputs:
397
feature_name:
398
description: 'Feature name'
399
required: true
400
epic_issue:
401
description: 'Epic issue number'
402
required: true
403
404
jobs:
405
create-issues:
406
runs-on: ubuntu-latest
407
steps:
408
- name: Create Feature Issue
409
uses: actions/github-script@v7
410
with:
411
script: |
412
const { data: epic } = await github.rest.issues.get({
413
owner: context.repo.owner,
414
repo: context.repo.repo,
415
issue_number: ${{ github.event.inputs.epic_issue }}
416
});
417
418
const featureIssue = await github.rest.issues.create({
419
owner: context.repo.owner,
420
repo: context.repo.repo,
421
title: `Feature: ${{ github.event.inputs.feature_name }}`,
422
body: `# Feature: ${{ github.event.inputs.feature_name }}\n\n...`,
423
labels: ['feature', 'priority-medium'],
424
milestone: epic.data.milestone?.number
425
});
426
```
427
428
##### Automated Status Updates
429
430
```yaml
431
name: Update Issue Status
432
433
on:
434
pull_request:
435
types: [opened, closed]
436
437
jobs:
438
update-status:
439
runs-on: ubuntu-latest
440
steps:
441
- name: Move to In Review
442
if: github.event.action == 'opened'
443
uses: actions/github-script@v7
444
# Move related issues to "In Review" column
445
446
- name: Move to Done
447
if: github.event.action == 'closed' && github.event.pull_request.merged
448
uses: actions/github-script@v7
449
# Move related issues to "Done" column
450
```
451
452
### Issue Creation Checklist
453
454
#### Pre-Creation Preparation
455
456
- [ ] **Feature artifacts complete**: PRD, UX design, technical breakdown, testing plan
457
- [ ] **Epic exists**: Parent epic issue created with proper labels and milestone
458
- [ ] **Project board configured**: Columns, custom fields, and automation rules set up
459
- [ ] **Team capacity assessed**: Sprint planning and resource allocation completed
460
461
#### Epic Level Issues
462
463
- [ ] **Epic issue created** with comprehensive description and acceptance criteria
464
- [ ] **Epic milestone created** with target release date
465
- [ ] **Epic labels applied**: `epic`, priority, value, and team labels
466
- [ ] **Epic added to project board** in appropriate column
467
468
#### Feature Level Issues
469
470
- [ ] **Feature issue created** linking to parent epic
471
- [ ] **Feature dependencies identified** and documented
472
- [ ] **Feature estimation completed** using t-shirt sizing
473
- [ ] **Feature acceptance criteria defined** with measurable outcomes
474
475
#### Story/Enabler Level Issues documented in `/docs/ways-of-work/plan/{epic-name}/{feature-name}/issues-checklist.md`
476
477
- [ ] **User stories created** following INVEST criteria
478
- [ ] **Technical enablers identified** and prioritized
479
- [ ] **Story point estimates assigned** using Fibonacci scale
480
- [ ] **Dependencies mapped** between stories and enablers
481
- [ ] **Acceptance criteria detailed** with testable requirements
482
483
## Success Metrics
484
485
### Project Management KPIs
486
487
- **Sprint Predictability**: >80% of committed work completed per sprint
488
- **Cycle Time**: Average time from "In Progress" to "Done" <5 business days
489
- **Lead Time**: Average time from "Backlog" to "Done" <2 weeks
490
- **Defect Escape Rate**: <5% of stories require post-release fixes
491
- **Team Velocity**: Consistent story point delivery across sprints
492
493
### Process Efficiency Metrics
494
495
- **Issue Creation Time**: <1 hour to create full feature breakdown
496
- **Dependency Resolution**: <24 hours to resolve blocking dependencies
497
- **Status Update Accuracy**: >95% automated status transitions working correctly
498
- **Documentation Completeness**: 100% of issues have required template fields
499
- **Cross-Team Collaboration**: <2 business days for external dependency resolution
500
501
### Project Delivery Metrics
502
503
- **Definition of Done Compliance**: 100% of completed stories meet DoD criteria
504
- **Acceptance Criteria Coverage**: 100% of acceptance criteria validated
505
- **Sprint Goal Achievement**: >90% of sprint goals successfully delivered
506
- **Stakeholder Satisfaction**: >90% stakeholder approval for completed features
507
- **Planning Accuracy**: <10% variance between estimated and actual delivery time
508
509
This comprehensive GitHub project management approach ensures complete traceability from epic-level planning down to individual implementation tasks, with automated tracking and clear accountability for all team members.
510