# Requirements Documentation Templates
## User Story Template
```markdown
**As a** [user role]
**I want** [capability]
**So that** [business benefit]
**Acceptance Criteria**:
- Given [context], When [action], Then [outcome]
```
## Use Case Template
```markdown
**Use Case**: [Name]
**Actor**: [Primary actor]
**Preconditions**: [What must be true before]
**Main Flow**: [Step-by-step normal flow]
**Alternative Flows**: [Variations and exceptions]
**Postconditions**: [System state after completion]
```
## Functional Requirement Template
```markdown
**FR-XXX**: The system shall [specific capability]
**Priority**: Must Have / Should Have / Could Have / Won't Have
**Rationale**: [Why this is needed]
**Acceptance Criteria**: [How to verify]
```