plugins/ralph/skills/generating-prd-json-from-prd-md/SKILL.md
Generates prd.json task tracking file from PRD.md requirements document. Use when initializing Ralph loop or when the user asks to convert PRD to JSON format for autonomous execution.
npx skillsauth add qte77/claude-code-utils-plugin generating-prd-json-from-prd-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Hybrid approach: Python script parses, AI validates and corrects.
python ralph/scripts/generate_prd_json.py --dry-run
Check output for: declared vs parsed story count mismatch, missing stories, empty acceptance/files. If issues found, fix PRD markdown or note for manual correction in step 3.
python ralph/scripts/generate_prd_json.py
Script handles: PRD.md parsing, (depends: ...) extraction, content hashing, state preservation.
Validate (Read tool)
ralph/docs/prd.json (script output)docs/PRD.md (cross-reference)Correct errors (Write tool, if needed)
content_hash if title/description/acceptance changedralph/docs/prd.jsonReport
make ralph_runFor each story, verify:
id follows STORY-XXX formattitle is 3-7 words, matches PRD.md featuredescription is non-emptyacceptance array is non-emptyfiles array contains valid paths (if specified in PRD.md)content_hash is 64-char hex stringdepends_on references valid STORY-XXX IDs (no circular deps, no self-refs)Cross-reference with PRD.md:
#### Feature N: headings have corresponding stories(depends: STORY-XXX) syntax correctly parsed| Issue | Correction | | ------- | ------------ | | Empty acceptance | Extract from description or PRD.md feature | | Invalid depends_on reference | Remove non-existent story IDs | | Circular dependency | Remove one direction | | Missing content_hash | Recompute from title+description+acceptance | | Duplicate story IDs | Renumber sequentially |
See ralph/docs/templates/prd.json.template for structure and fields.
make ralph_prd_json
make ralph_init # Validate environment
make ralph_run # Start Ralph loop
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.
development
Audits website accessibility for WCAG 2.1 AA compliance, generating findings and code fixes. Use when reviewing accessibility, keyboard navigation, screen reader compatibility, or inclusive design.
development
Writes tests following TDD (using vitest and @testing-library/react) best practices. Use when writing unit tests, integration tests, or component tests in TypeScript.