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-plugins 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
Verify an external or AI-generated security report against the actual codebase before acting on it. Use when handed a scanner PDF, automated teardown, audit report, or bug-bounty submission — classifies every finding CONFIRMED / OVERSTATED / FALSE-POSITIVE / FABRICATED and salvages the real work items.
development
Audits a site's SEO and AI-search (GEO) readiness — meta tags, Open Graph/Twitter, JSON-LD, robots/llms conventions — and generates fixes. Use when reviewing search visibility, social previews, structured data, or LLM/AI-crawler discoverability.
documentation
Generate or update README.md files across three scopes — repo (with project-type detection), account (GitHub user profile), and org (organization profile). Use when creating, updating, or aligning a README to org conventions.
development
Audit README.md files against best practices for repos, accounts, or orgs. Detects missing sections, stale links, inconsistent formatting, and convention violations. Use when reviewing README quality across one or many repos.