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.