| name | ralph-init |
| description | Initialize a PRD (Product Requirements Document) for structured ralph-loop execution |
Ralph Init
Initialize a PRD (Product Requirements Document) for structured ralph-loop execution. Creates a structured requirements document that Ralph can use for goal-driven iteration.
Usage
/ralph-init "project or feature description"
Behavior
- Gather requirements via interactive interview or from the provided description
- Create PRD at
.omq/plans/prd-{slug}.md with:
- Problem statement
- Goals and non-goals
- Acceptance criteria (testable)
- Technical constraints
- Implementation phases
- Link to Ralph so that
/ralph can use the PRD as its completion criteria
- Initialize/ensure canonical progress ledger at
.omq/state/{scope}/ralph-progress.json (session scope if active session exists)
Canonical source contract
- Canonical PRD source of truth is
.omq/plans/prd-{slug}.md.
- Ralph progress source of truth is
.omq/state/{scope}/ralph-progress.json (session scope when available).
- Legacy
.omq/prd.json / .omq/progress.txt inputs are compatibility-only and migrate one-way into canonical artifacts.
Output
A structured PRD file saved to .omq/plans/ that serves as the definition of done for Ralph execution.
Next Steps
After creating the PRD, start execution with:
/ralph "implement the PRD"
Ralph will iterate until all acceptance criteria in the PRD are met and architect-verified.