prd-to-json
Installation
SKILL.md
PRD to JSON
Use this skill to convert .prd/prd-*.md into .prd/prd.json for Ralph.
Inputs
- If multiple PRD files exist, ask which one to convert.
- If no PRD file exists, instruct the user to run
/prd-discoveryfirst.
Workflow
-
Find the PRD
- Look for
.prd/prd-*.md. - If one file exists, use it. Otherwise ask the user to choose.
- Look for
-
Parse the PRD
- Extract title, overview, and user stories.
- For each story, capture id, title, description, and acceptance criteria.