Write the PRD with these sections:
Header table (immediately after the # PRD: ... title)
| | |
| --- | --- |
| **Date** | YYYY-MM-DD |
| **Status** | Draft |
| **Priority** | High / Medium / Low |
| **Impact** | One-line summary of user impact |
| **Tasks** | — (not yet planned) |
| **Phase** | Phase name if applicable, or omit row |
The **Tasks** row is a placeholder for the two-way PRD ↔ tasks link. /plan-tasks fills it in when the tasks file is created.
Problem
What user pain or gap does this feature address? Why now?
Goals / Non-Goals
- Goals: 3-5 measurable outcomes
- Non-Goals: Explicitly out of scope items to prevent creep
User Stories
Key workflows in As a <user>, I want <action>, so that <outcome> format.
Technical Approach
Architecture decisions, new components/commands, state management, data flow. Reference existing patterns from docs/architecture.md.
UI/UX
Describe interactions, layout, states (loading, empty, error). Reference design system from docs/design-system.md. Include rough wireframe descriptions if helpful.
Data Model
New TypeScript interfaces, Zustand stores, Tauri command signatures, or Rust structs.
Dependencies
New libraries, APIs, or prerequisite work.
Quality Gates
Specific, testable criteria for "done". Include both functional and design requirements per project standards.
Out of Scope
Features or enhancements explicitly deferred to future work.