LaunchKit · 2026
Back to Skills

better-ralph

Run one Better Ralph iteration: PRD-driven autonomous coding.

0
512 downloads
by @runeweaverstudios

Setup & Installation

openclaw skills install @runeweaverstudios/better-ralph

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install better-ralph

What This Skill Does

Better Ralph runs one iteration of a PRD-driven coding loop. It reads prd.json, picks the next incomplete user story by priority, implements it, runs quality checks, commits the result, marks the story passed, and appends a progress entry. Each invocation handles exactly one story.

It enforces one-story-per-commit discipline and blocks commits on failing checks, so the branch stays in a working state throughout development.

When to use it

  • Working through a user story backlog one commit at a time
  • Keeping prd.json in sync with actual implementation progress
  • Enforcing a consistent commit message format across a feature branch
  • Resuming incremental development across multiple sessions with a progress log
  • Catching lint or test failures before they land in a commit

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: run better ralph

AGENT
  1. 1Read prd.json and check progress.txt for codebase patterns
  2. 2Find the highest-priority story where passes is false
  3. 3Check out the branch named in prd.json.branchName if not already on it
  4. 4Implement code satisfying all acceptanceCriteria for the selected story
  5. 5Run project quality commands (test, lint, typecheck) and stop if any fail
  6. 6Stage all changes and commit with message 'feat: [ID] - [Title]'
  7. 7Set the story's passes to true in prd.json and write the file
  8. 8Append a dated progress block to progress.txt
OUTPUT

Story US-001 committed; prd.json updated with passes=true; progress.txt appended with files changed and learnings