What problem does it solve?
Manual conversion of product requirement documents (PRDs) into a machineāreadable format is timeāconsuming and errorāprone. This Skill automates the transformation of PRDs into the prd.json schema required by the Ralph autonomous agent, ensuring consistency and readiness for singleāiteration development.
Core Features & Use Cases
- Automatic PRD discovery: Reads the newest PRD from the
.ralph/tasks/ directory.
- Structured JSON output: Generates
prd.json with project metadata, branch naming, ordered user stories, and verifiable acceptance criteria.
- Story sizing & ordering: Enforces singleāiteration story size limits and dependencyāfirst ordering.
- Branch naming conventions: Applies
feat/, fix/, hotfix/, or chore/ prefixes based on PRD content.
- Archiving: Safely archives previous
prd.json and progress files when switching features.
- Checklist validation: Performs preāsave checks for completeness, verifiability, and correct ordering.
Quick Start
Say āconvert this prd to ralph formatā to generate a prd.json file for the current project.