---
name: gsd-new-project
description: Initialize a new project with deep context gathering and PROJECT.md
argument-hint: "[--auto]"
allowed-tools:
  - read
  - bash
  - write
  - task
  - question
---
<context>
**Flags:**
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
</context>

<objective>
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.

**Creates:**
- `.planning/PROJECT.md` — project context
- `.planning/config.json` — workflow preferences
- `.planning/research/` — domain research (optional)
- `.planning/REQUIREMENTS.md` — scoped requirements
- `.planning/ROADMAP.md` — phase structure
- `.planning/STATE.md` — project memory

**After this command:** Run `/gsd-plan-phase 1` to start execution.
</objective>

<execution_context>
@~\.config\opencode/gsd-rlm/workflows/new-project.md
@~\.config\opencode/gsd-rlm/references/questioning.md
@~\.config\opencode/gsd-rlm/references/ui-brand.md
@~\.config\opencode/gsd-rlm/templates/project.md
@~\.config\opencode/gsd-rlm/templates/requirements.md
</execution_context>

<process>
Execute the new-project workflow from @~\.config\opencode/gsd-rlm/workflows/new-project.md end-to-end.
Preserve all workflow gates (validation, approvals, commits, routing).
</process>
