story-tmpl.md•2.28 kB
# User Story: {{Story Title}}
[[LLM: This template guides creation of comprehensive user stories. Ensure each story follows INVEST principles (Independent, Negotiable, Valuable, Estimable, Small, Testable).]]
## Story Overview
**Story ID**: {{Unique identifier}}
**Epic**: {{Related epic name}}
**Priority**: {{High/Medium/Low}}
**Estimate**: {{Story points or time estimate}}
## User Story
**As a** {{user type}}
**I want** {{goal or desire}}
**So that** {{benefit or value}}
## Acceptance Criteria
[[LLM: Define specific, testable criteria that must be met for the story to be considered complete. Use Given-When-Then format where appropriate.]]
- [ ] {{Specific, testable criterion 1}}
- [ ] {{Specific, testable criterion 2}}
- [ ] {{Specific, testable criterion 3}}
## Definition of Done
[[LLM: Include standard definition of done items plus any story-specific requirements.]]
- [ ] Code implemented and reviewed
- [ ] Unit tests written and passing
- [ ] Integration tests passing
- [ ] Documentation updated
- [ ] Acceptance criteria verified
- [ ] {{Any additional story-specific requirements}}
## Technical Notes
[[LLM: Include any technical considerations, constraints, or implementation guidance.]]
{{Technical implementation notes and considerations}}
## Dependencies
[[LLM: List any dependencies on other stories, external systems, or resources.]]
- {{Dependency 1}}
- {{Dependency 2}}
## Mockups/Wireframes
[[LLM: Include or reference any visual designs, mockups, or wireframes.]]
{{Links to designs or embedded mockups}}
## Test Scenarios
[[LLM: Define specific test scenarios to validate the story.]]
### Happy Path
{{Primary success scenario}}
### Edge Cases
{{Edge cases and error scenarios}}
## Notes and Comments
[[LLM: Include any additional context, discussions, or clarifications.]]
{{Additional notes and context}}
---
## Dev Agent Record
[[LLM: This section is for development tracking. Only update during development.]]
### Implementation Tasks
- [ ] {{Task 1}}
- [ ] {{Task 2}}
- [ ] {{Task 3}}
### Debug Log
| Date | Issue | Resolution |
|------|-------|------------|
| | | |
### Completion Notes
{{Notes from development completion}}
### Change Log
| Date | Change | Reason |
|------|--------|--------|
| | | |