Bootstrap a project from a PRD. Use when the user runs /setup and pastes a PRD, or says "set up this project" with requirements. Reads the boilerplate, fills in all config files, and proposes a scaffold plan before writing any code.
The user has provided a PRD (product requirements document). Bootstrap this project from it.
Read these files before doing anything else:
From the PRD the user provided, extract:
Propose a concrete stack (language, framework, database, test runner, package manager). Base it on what the PRD implies. If the user specified a stack, use that exactly.
Rewrite the placeholder sections in CLAUDE.md with real values:
Also fill in the Stack-Specific sections in:
Decompose all PRD features into concrete, actionable tasks. Organise them as:
Each task should be one implementable unit of work, not a vague feature name. Bad: - [ ] Authentication Good: - [ ] Set up NextAuth with GitHub + email providers and session middleware
Write .claude/docs/plans/initial-architecture.md covering:
Output a summary:
Project: [name] Stack: [chosen stack]
Key decisions:
Files updated:
First 3 tasks queued:
Ready to scaffold. Shall I proceed?
Do NOT write any source code or run any shell commands until the user says yes.
Once the user approves: