skill-requirementslisted
Install: claude install-skill saitarrun/sdlc-workflow
# Skill: Requirements & User Stories (INVEST)
## INVEST Criteria — Making Stories Actionable
A well-written user story is **INVEST-compliant**:
- **Independent**: Story doesn't depend on another story (can be built in any order)
- **Negotiable**: Details can be discussed and refined (not cast in stone)
- **Valuable**: Delivers value to the end user (not just internal plumbing)
- **Estimable**: Engineer can estimate size (2-13 story points)
- **Small**: Fits in a single sprint (1-2 weeks max)
- **Testable**: Acceptance criteria are clear and provable
## Story Format
```markdown
## User Story: [Feature Name]
As a [role/persona]
I want to [action/capability]
So that [business value/outcome]
### Acceptance Criteria
- Given [precondition]
When [action]
Then [observable result]
### Edge Cases & Questions
- Q: What happens if [scenario]?
- Q: Should we support [case]?
### Definition of Done
- [ ] Code written and reviewed
- [ ] Acceptance criteria tests pass
- [ ] Documentation updated
- [ ] Performance tested (if relevant)
- [ ] Security review passed (if relevant)
```
## Story Estimation
- **Small (2-3 pts)**: Can be done in a day, low complexity, well-understood
- **Medium (5 pts)**: Takes 2-3 days, some unknowns, requires design
- **Large (8 pts)**: Takes full sprint, many unknowns, high risk
- **Too Large (13+ pts)**: Break into smaller stories
## Common Pitfalls
| Pitfall | Bad Example | Good Example |
|---------|-------------|--------------|
| Not independent