# Sprint Contract Examples

Project-specific completion criteria templates. Copy and adapt — never use as-is.

## Web App (Frontend)

```
- [ ] Page loads without console errors
- [ ] Mobile responsive (375px width)
- [ ] All interactive elements clickable and functional
- [ ] i18n: no missing translation keys
- [ ] Dark mode renders correctly (if applicable)
- [ ] API calls return expected data
- [ ] Loading states shown during async operations
```

## Video Script (Content)

```
- [ ] Duration: [X-Y] seconds when read aloud
- [ ] Hook in first 3 seconds
- [ ] Follows script framework (SCRIPT-FRAMEWORK.md)
- [ ] Data/claims have cited sources
- [ ] CTA present at end
- [ ] Tone matches brand voice
```

## Pine Script / Trading Indicator

```
- [ ] Compiles without errors in TradingView
- [ ] Backtested on [X]+ bars
- [ ] Signals do not repaint
- [ ] Parameters have sensible defaults
- [ ] Alert conditions defined
```

## Design / Brand Asset

```
- [ ] Follows brand color palette
- [ ] Mobile-first layout
- [ ] Text readable at target size
- [ ] Export formats: [PNG/SVG/etc]
- [ ] Consistent with existing brand system
```

## API / Backend

```
- [ ] All endpoints return correct status codes
- [ ] Error handling for invalid inputs
- [ ] Database migrations run cleanly
- [ ] No hardcoded secrets/credentials
- [ ] Response time < [X]ms for key endpoints
```

## Discord Bot / Cron Task

```
- [ ] Message sends to correct channel
- [ ] accountId specified for multi-account setups
- [ ] Timeout sufficient for task completion
- [ ] Graceful failure (no silent crashes)
- [ ] Output format matches spec
```
