
Ralph Tui Create Beads Rust
Turn a PRD markdown file into a beads-rust epic and ordered child beads so ralph-tui can run autonomous stories with quality gates attached.
Overview
ralph-tui-create-beads-rust is an agent skill most often used in Build (also Validate) that converts a PRD into beads-rust epics and child beads for ralph-tui execution.
Install
npx skills add https://github.com/subsy/ralph-tui --skill ralph-tui-create-beads-rustWhat is this skill?
- Extracts universal and UI-specific Quality Gates from the PRD Quality Gates section.
- Creates an epic bead plus one child bead per user story via beads-rust br CLI.
- Wires dependencies schema → backend → UI across beads.
- Output is ready for ralph-tui run --tracker beads-rust.
- Documents br vs bd: use this skill when beads-rust is installed, not original beads.
- Five-step workflow: extract Quality Gates, create epic, create per-story child beads, set schema→backend→UI dependencies
Adoption & trust: 843 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 br epic, gates, or dependencies for ralph-tui to chew through autonomously.
Who is it for?
Indie builders using ralph-tui with beads-rust who want PRD stories translated into trackable beads without hand-rolling br commands.
Skip if: Projects without a PRD or quality-gates section, or environments where only original beads bd is installed.
When should I use this skill?
You have a PRD and want beads for ralph-tui with beads-rust (br); triggers include create beads, convert prd to beads, beads for ralph, ralph beads, br beads.
What do I get? / Deliverables
You get an epic with gated child beads and schema→backend→UI dependencies, ready to run with ralph-tui run --tracker beads-rust.
- Epic bead for the feature
- Child beads per user story with quality gates embedded
- Dependency graph ready for ralph-tui run --tracker beads-rust
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Bead creation is the handoff from approved requirements into executable agent tasks—canonical first home is Build PM even when the PRD was written earlier. It structures work breakdown, dependencies, and quality gates—the same artifacts a solo builder needs before autonomous implementation loops.
Where it fits
After the PRD’s Quality Gates section is filled in, generate beads so scope is executable not just narrative.
Split each user story into br child beads with typecheck and lint appended before handing off to ralph-tui.
Attach browser verification gates only to UI beads called out in the PRD.
Reuse extracted universal gates as the minimum bar every autonomous story must pass.
How it compares
PRD-to-beads workflow skill for ralph-tui—not a generic markdown TODO parser or a replacement for writing the PRD itself.
Common Questions / FAQ
Who is ralph-tui-create-beads-rust for?
Solo developers running Ralph TUI with the beads-rust br CLI who need autonomous execution backed by an epic and per-story beads from an existing PRD.
When should I use ralph-tui-create-beads-rust?
Use in Validate once a PRD exists, then in Build PM before ralph-tui runs—when triggers like create beads, convert prd to beads, or ralph beads appear.
Is ralph-tui-create-beads-rust safe to install?
It drives local br CLI task creation; review the Security Audits panel on this page and treat PRD paths and shell commands as sensitive in shared repos.
SKILL.md
READMESKILL.md - Ralph Tui Create Beads Rust
# Ralph TUI - Create Beads (beads-rust) Converts PRDs to beads (epic + child tasks) for ralph-tui autonomous execution using **beads-rust** (`br` CLI). > **Note:** This skill uses the `br` command from beads-rust. If you have the original beads (`bd`) installed instead, use the `ralph-tui-create-beads` skill. --- ## The Job Take a PRD (markdown file or text) and create beads using `br` commands: 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-rust` --- ## 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 `br create` command with **HEREDOC syntax** to safely handle special characters: ```bash # Create epic (link back to source PRD) br 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) br 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 `br dep add` Use the `br dep add` command to specify which beads must complete first: ```bash # Create the beads first br create --parent=epic-123 --title="US-001: Add schema" ... br create --parent=epic-123 --title="US-002: Create API" ... br create --parent=epic-123 --title="US-003: Build UI" ...