---
description:
globs:
alwaysApply: false
---

# <Product / Feature Name>

<TL;DR: 1–2 sentences: For [target user], build [capability] so they can [value].>

---

## Users & Value

- **Primary user / persona:** <who specifically>
- **Jobs-to-be-done (JTBD):**
  - When <situation>, I want <motivation>, so I can <outcome>.
  - When <situation>, I want <motivation>, so I can <outcome>.

---

## Success Metrics

- **Primary Goal:** <what success looks like in plain words>
- **Success Criteria:** <what you will measure, with formula> (target: <value>)

---

## Scope

| Must‑have (MVP) | Nice‑to‑have (Later) | Explicitly Out (Not now) |
| --------------- | -------------------- | ------------------------ |
| <bullet>        | <bullet>             | <bullet>                 |
| <bullet>        | <bullet>             | <bullet>                 |

- **Definition of Done (MVP):**
  - [ ] <clear acceptance criterion 1>
  - [ ] <clear acceptance criterion 2>
  - [ ] <clear acceptance criterion 3>

---

## Tech Stack

### Frontend:

- Next.js with TypeScript
- React for UI components
- Tailwind CSS for styling
- Firebase Authentication for user management

### Backend:

- Firebase Functions (Python) for video processing
- 11Labs API for AI voice synthesis
- FFmpeg for audio/video manipulation
- Firebase Storage for video file storage

### Database:

- Firebase Firestore for user data and processing metadata
- Firebase Storage for video assets and processed files
