create-prd
Create PRD
FIRST ACTION — Write the PRD file immediately
Write the complete PRD to docs/spec/{filename}.md where {filename} is auto-generated from the user's request (see naming rules below). Do NOT ask the user where to save or what to name it — pick the best name and write.
SINGLE-WRITE MANDATE: Write ALL content (Metadata + all 13 chapters + Review Record) in ONE operation. Use a single Bash heredoc or Write tool call. NEVER use sequential Edit calls or multiple cat >> appends.
SKELETON-FIRST: Every mode writes a complete skeleton with ACTUAL content (IDs, flowcharts, tables, - [ ] criteria). No ... placeholders. The output must pass all verification checks immediately.
Speed targets: Coaching <30s. Fast/Update/Batch/Recovery <120s. Validate <60s. Write and stop.
Allowed before first write: Only cat existing PRD files (for update/validate modes that need a baseline). No other bash, no reading references/* or trajectory/logs.
Output Path & File Naming
Default Output Path
Always write the PRD file to docs/spec/ directory (relative to project root). If the directory doesn't exist, create it.