/code-to-prd Reverse-engineer a frontend codebase into a complete Product Requirements Document. Usage What It Does 1. Scan — Run to detect framework, routes, APIs, enums, and project structure 2. Scaffold — Run to create directory with README.md, per-page stubs, and appendix files 3. Analyze — Walk through each page following the Phase 2 workflow: fields, interactions, API dependencies, page relationships 4. Generate — Produce the final PRD with all pages, enum dictionary, API inventory, and page relationship map Steps Step 1: Analyze Determine the project path (default: current directory).…