
Ralph Tui Create Beads
Convert an approved PRD into a beads epic and ordered child tasks with quality gates so ralph-tui can autonomously execute your user stories.
Overview
Ralph-tui-create-beads is an agent skill most often used in Build (also Validate/scope) that turns a PRD into a beads epic, child tasks, quality gates, and dependencies for ralph-tui autonomous runs.
Install
npx skills add https://github.com/subsy/ralph-tui --skill ralph-tui-create-beadsWhat is this skill?
- Converts a markdown PRD into an epic bead plus child beads per user story in `.beads/beads.jsonl`
- Extracts universal and UI-only Quality Gates from the PRD and appends them to relevant stories
- Sets dependencies between beads following schema → backend → UI ordering
- Outputs task source ready for `ralph-tui run --tracker beads`
- Bundled with ralph-tui Beads tracker plugin for autonomous execution
- 5-step bead creation workflow including quality-gate extraction and dependency setup
Adoption & trust: 857 installs on skills.sh; 2.4k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You have a PRD full of user stories but no structured beads file ralph-tui can consume as an autonomous task queue.
Who is it for?
Indie devs pairing ralph-tui with Beads who want PRD stories translated into ordered, quality-gated agent tasks in one pass.
Skip if: Teams using Linear or GitHub Issues as the ralph-tui tracker without the Beads plugin, or PRDs with no user stories to decompose.
When should I use this skill?
Triggers: create beads, convert prd to beads, beads for ralph, ralph beads—when you have a PRD and want beads as the ralph-tui task source.
What do I get? / Deliverables
You get `.beads/beads.jsonl` with an epic, gated child beads, and schema→backend→UI dependencies ready to run with `ralph-tui run --tracker beads`.
- Epic bead in `.beads/beads.jsonl`
- Child story beads with quality gates
- Dependency graph ready for ralph-tui run
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Build/pm is the canonical shelf because output is an executable task graph in `.beads/beads.jsonl` meant to drive implementation work immediately after planning. Pm subphase reflects PRD parsing, epic creation, story breakdown, dependency wiring, and quality-gate extraction—not frontend or backend coding itself.
Where it fits
After PRD sign-off, explode user stories into beads with universal typecheck and lint gates before coding starts.
Create an epic bead and ordered children so ralph-tui can pull the next story from `.beads/beads.jsonl`.
Attach UI-only quality gates such as browser verification to interface stories while keeping backend stories gate-light.
Ensure every bead inherits PRD Quality Gates so autonomous runs cannot mark stories done without passing listed commands.
How it compares
Use after human-readable planning skills—this emits beads task JSONL, not a narrative implementation plan.
Common Questions / FAQ
Who is ralph-tui-create-beads for?
Solo builders running ralph-tui with the Beads tracker who want PRDs converted into epic and child tasks without hand-editing beads.jsonl.
When should I use ralph-tui-create-beads?
Use in validate when a PRD is ready to scope into stories, and in build/pm right before starting `ralph-tui run` so quality gates and dependencies are embedded in the task source.
Is ralph-tui-create-beads safe to install?
It writes project-local bead definitions; check the Security Audits panel on this page and review generated `.beads/beads.jsonl` before kicking off autonomous runs that execute shell gates.
SKILL.md
READMESKILL.md - Ralph Tui Create Beads
# Ralph TUI - Create Beads Converts PRDs to beads (epic + child tasks) for ralph-tui autonomous execution. > **Note:** This skill is bundled with ralph-tui's Beads tracker plugin. Future tracker plugins (Linear, GitHub Issues, etc.) will bundle their own task creation skills. --- ## 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 `ralph-tui run --tracker beads` --- ## 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: - `pnpm typecheck` - Type checking - `pnpm lint` - Linting For UI stories, also include: - Verify in browser using dev-browser skill ``` Extract: - **Universal gates:** Commands that apply to ALL stories (e.g., `pnpm typecheck`) - **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 `npm run typecheck`. --- ## 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:./tasks/feature-name-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 ralph-tui iteration (~one agent context window).** ralph-tui spawns a fresh agent instance per iteration with no memory of previous work. If a story is too big, the agent runs out of context before finishing. ### Right-sized stories: - Add a database column + migration - Add a UI component to an existing page - Update a server action with new logic - Add a filter dropdown to a list ### Too big (split these): - "Build the entire dashboard" → Split into: schema, queries, UI components, filters - "Add authentication" → Split into: schema, middleware, login UI, session handling - "Refactor the API" → Split into one story per endpoint or pattern **Rule of thumb:** If you can't describe the change in 2-3 sentences, it's too big. --- ## Story Ordering: Dependencies First Stories execute in dependency order. Earlier stories must not depend on later ones. **Correct order:** 1. Schema/database changes (migrations) 2. Server actions / backend logic 3. UI components that use the backend 4. Dashboard/summary views that aggregate data **Wrong order:** 1. ❌ UI component (depends on schema that doesn't exist yet) 2. ❌ Schema change --- ## Dependencies with `bd dep add` Use the `bd dep add` command to specify which beads must complete first: ```bash # Create the beads first bd create --parent=epic-123 --title="US-001: Add schema" ... bd create --parent=epic-123 --title="US-002: Create API" ... bd create --parent=epic-123 --title="US-003: Build UI" ... # Then add dependencies (issue depends-on blocker) bd dep add ralph-tui-002 ral