This folder holds the input that the “Ralph Wiggum” loop feeds to the coding agent.
prd.json is a lightweight, JSON-based PRD/TODO list: an array of small, testable work items (similar to user stories) that the agent can pick from.
Each item typically contains:
category: e.g.functionaloruidescription: one-line requirement/behaviorsteps: human-readable acceptance stepspasses: boolean that flips totruewhen the work item is completed
- Keep items small enough to fit in one agent iteration.
- Have the agent implement one item per run, keep checks/tests green, then update
passes. - The loop can stop early when everything relevant is marked
passes: true.
The prd.json in this repo is intentionally an example/template (WordPress plugin-only “Hello Ralph” block stories) to demonstrate the format. Replace it with your own product’s requirements.
The runner scripts in this repo currently assume:
- local WordPress environment via
wp-env(runnpx wp-env start) - PHP checks run via
composer lintandcomposer test(PHPUnit + Brain Monkey) - block assets build via
npm run build