Convert PRDs to Beads tasks for Reeds autonomous execution. Creates an epic with child beads for each user story. Triggers on: create beads, convert prd to beads, prd to tasks.
View on GitHubskills/prd-to-beads/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/rikdc/reeds/blob/main/skills/prd-to-beads/SKILL.md -a claude-code --skill prd-to-beadsInstallation paths:
.claude/skills/prd-to-beads/# PRD to Beads Converts PRDs to Beads (epic + child tasks) for Reeds autonomous execution. > Adapted from [ralph-tui](https://github.com/human-ui/ralph-tui) (MIT License). --- ## The Job Take a PRD (markdown file or text) and create beads in `.beads/beads.jsonl`: 1. **Extract Quality Gates** from the PRD's "Quality Gates" section 2. Create an **epic** bead for the feature 3. Create **child beads** for each user story (with quality gates appended) 4. Set up **dependencies** between beads (schema → backend → UI) 5. Output ready for `/reeds-start` --- ## Step 1: Extract Quality Gates Look for the "Quality Gates" section in the PRD: ```markdown ## Quality Gates These commands must pass for every user story: - `make test` - Run tests - `make lint` - Linting For UI stories, also include: - Manual browser verification ``` Extract: - **Universal gates:** Commands that apply to ALL stories (e.g., `make test`) - **UI gates:** Commands that apply only to UI stories (e.g., browser verification) **If no Quality Gates section exists:** Ask the user what commands should pass, or use a sensible default like `go test ./...`. --- ## Output Format Beads use `bd create` command with **HEREDOC syntax** to safely handle special characters: ```bash # Create epic (link back to source PRD) bd create --type=epic \ --title="[Feature Name]" \ --description="$(cat <<'EOF' [Feature description from PRD] EOF )" \ --external-ref="prd:./path/to/prd.md" # Create child bead (with quality gates in acceptance criteria) bd create \ --parent=EPIC_ID \ --title="[Story Title]" \ --description="$(cat <<'EOF' [Story description with acceptance criteria INCLUDING quality gates] EOF )" \ --priority=[1-4] ``` > **CRITICAL:** Always use `<<'EOF'` (single-quoted) for the HEREDOC delimiter. This prevents shell interpretation of backticks, `$variables`, and `()` in descriptions. --- ## Story Size: The #1 Rule **Each story must be completable in ONE Reeds iteration (~one agent c