Create Brownfield Story Task
Purpose
Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness.
When to Use This Task
Use this task when:
- The enhancement can be completed in a single story
- No new architecture or significant design is required
- The change follows existing patterns exactly
- Integration is straightforward with minimal risk
- Change is isolated with clear boundaries
Use brownfield-create-epic when:
- The enhancement requires 2-3 coordinated stories
- Some design work is needed
- Multiple integration points are involved
Use the full brownfield PRD/Architecture process when:
- The enhancement requires multiple coordinated stories
- Architectural planning is needed
- Significant integration work is required
Instructions
1. Quick Project Assessment
Gather minimal but essential context about the existing project:
Current System Context:
Change Scope:
2. Story Creation
Create a single focused story following this structure:
Story Title
{{Specific Enhancement}} - Brownfield Addition
User Story
As a {{user type}},
I want {{specific action/capability}},
So that {{clear benefit/value}}.
Story Context
Existing System Integration:
- Integrates with: {{existing component/system}}
- Technology: {{relevant tech stack}}
- Follows pattern: {{existing pattern to follow}}
- Touch points: {{specific integration points}}
Acceptance Criteria
Functional Requirements:
- {{Primary functional requirement}}
- {{Secondary functional requirement (if any)}}
- {{Integration requirement}}
Integration Requirements: 4. Existing {{relevant functionality}} continues to work unchanged 5. New functionality follows existing {{pattern}} pattern 6. Integration with {{system/component}} maintains current behavior
Quality Requirements: 7. Change is covered by appropriate tests 8. Documentation is updated if needed 9. No regression in existing functionality verified
Technical Notes
- Integration Approach: {{how it connects to existing system}}
- Existing Pattern Reference: {{link or description of pattern to follow}}
- Key Constraints: {{any important limitations or requirements}}
Definition of Done
3. Risk and Compatibility Check
Minimal Risk Assessment:
- Primary Risk: {{main risk to existing system}}
- Mitigation: {{simple mitigation approach}}
- Rollback: {{how to undo if needed}}
Compatibility Verification:
4. Validation Checklist
Before finalizing the story, confirm:
Scope Validation:
Clarity Check:
Success Criteria
The story creation is successful when:
- Enhancement is clearly defined and appropriately scoped for single session
- Integration approach is straightforward and low-risk
- Existing system patterns are identified and will be followed
- Rollback plan is simple and feasible
- Acceptance criteria include existing functionality verification
Important Notes
- This task is for VERY SMALL brownfield changes only
- If complexity grows during analysis, escalate to brownfield-create-epic
- Always prioritize existing system integrity
- When in doubt about integration complexity, use brownfield-create-epic instead
- Stories should take no more than 4 hours of focused development work