Generate an Architecture Decision Document (ADD) from an existing PRD. Explores multiple approaches, recommends optimal design with extractability in mind.
Generate an Architecture Decision Document (ADD) that complements an existing PRD. Analyzes requirements, explores multiple architectural approaches, and recommends the optimal design with extractability and modularity in mind.
Design Philosophy: All architectures must be designed for extraction - generic interfaces, minimal project coupling, potentially packageable as standalone libraries.
Input: $ARGUMENTS — Path to the PRD file (e.g., .ai/prd/feature-name.md)
Extract: core requirements, constraints, scale indicators, technology requirements.
For each option provide:
Show comparison table and recommend an option. Wait for user selection.
Elaborate: detailed component design, data flow, integration spec, extraction roadmap, file-by-file implementation guide.
add- prefix: .ai/add/add-[feature-slug].md## Architecture Decision Document Created
**ADD:** `[path]`
**PRD:** `[prd_path]`
**Decision:** Option [X] - [Name]
**Extraction Potential:** [High/Medium/Low]
**Next Steps:**
1. Review ADD with team
2. Run `/taskgen [prd_path]` to generate task list
3. Run `/execute` to begin implementation