Interactively create the initial MVP PRD and split into specifications
Receives the PRD slug as an argument: $ARGUMENTS
Interactively create the initial MVP PRD for a new project and generate a complete document set under docs/prds/prd-{slug}/.
Use docs/prds/_template/ as the baseline for file structure and formatting.
Before starting PRD creation, confirm that the project is backed by a git repository with a remote configured.
git rev-parse --is-inside-work-tree (or check for a .git directory)git remote -v and confirm at least one remote (typically origin) existsinit-repo skill to initialize git and create the remote repositoryinit-repo completes, return here and continue with ## Steps## StepsRationale: PRD artifacts (docs/prds/prd-{slug}/), roadmap updates, and README changes are meant to be version-controlled and pushed. Creating them before the repository exists risks losing work and breaks the downstream Ralph Loop workflow, which assumes a branch can be created and pushed from prd.md's ## Branch.
Check the following:
docs/)docs/ubiquitous/glossary.md — review existing terms to ensure terminology consistency in the new PRDDiscuss the following topics with the user:
Create the docs/prds/prd-{slug}/ directory and generate the following files.
Match the templates under docs/prds/_template/ instead of inventing new section names or table layouts.
prd.md# Product Requirements Document (PRD) - MVP
## Branch
`ralph/{slug}`
## Overview
[What this product achieves]
## Background
[Why this product is needed]
## Product Principles
[Design principles and values]
## Scope
### In Scope
- [Feature 1]
- [Feature 2]
### Out of Scope
- [Features not included]
## Target Users
[Personas and target users]
## Use Cases
[Key use cases]
## Functional Requirements
[Specific functional requirements]
## UX Requirements
[User experience requirements]
## System Requirements
[Technical and system requirements]
## Milestones
| Milestone | Description | Target Date |
|-----------|-------------|-------------|
| ... | ... | ... |
progress.mdCreate progress.md from docs/prds/_template/progress.md.
Requirements:
## Specification StatusSpecification | Title | Status | Completed On | NotesStatus column must be the third columnpending, in-progress, or donespec-*.md fileCompleted On and Notes empty until there is real content to record## Summary so the counts and current focus match the current spec setCorrect shape:
# Progress - [PRD Title]
Use only these status values: `pending`, `in-progress`, `done`
## Specification Status
| Specification | Title | Status | Completed On | Notes |
|---------------|-------|--------|--------------|-------|
| spec-001-xxx | [Title] | pending | | |
| spec-002-xxx | [Title] | pending | | |
## Summary
- Done: 0/2
- Current focus: spec-001-xxx
todo.mdAdd tasks derived from milestones. Each task should be executable in one implementation pass.
knowledge.mdInitialize with an empty template.
dependencies.mdInitialize with an empty template (Mermaid graph + implementation order table).
Based on the PRD's functional requirements, split into individual specifications in consultation with the user:
/spec-createprogress.md so the filename slug and title match the specification exactlyprogress.md matches the number of files under specifications/docs/roadmap.mddocs/prds/prd-{slug}/prd.md for detailsdocs/ubiquitous/glossary.md