Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Run one Better Ralph iteration: pick next incomplete PRD story by priority, implement it, run checks, commit, mark passed, and append progress, using only st...
Run one Better Ralph iteration: pick next incomplete PRD story by priority, implement it, run checks, commit, mark passed, and append progress, using only st...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Execute one iteration of the Better Ralph workflow: pick the next PRD story, implement it, run quality checks, commit, update the PRD, and append progress. Uses only standard tools (read_file, write_file, edit, exec, git). No external runner or Aether-Claw required.
User says: "run better ralph", "do one better ralph iteration", "next prd story", "ralph loop", "implement next story from prd". Project has a prd.json in the workspace root (see Output Format below for schema).
Do these steps in order. Use only your standard file, exec, and git tools.
Read prd.json (workspace root). Parse the JSON. Read progress.txt if it exists. If it has a section ## Codebase Patterns near the top (up to the next ## or end of file), use that as context for implementation patterns. Otherwise proceed without it.
From prd.json.userStories, find all with passes === false. Sort by priority ascending (lower number = higher priority). Take the first (highest priority incomplete story). If every story has passes === true, reply: "All PRD stories are complete. Nothing left to do." and stop.
Check current git branch (e.g. run git branch --show-current or use your git tool). If prd.json has a branchName and it differs from the current branch, checkout or create that branch (e.g. git checkout -b <branchName> or git checkout <branchName>).
Story = the one you picked. It has: id, title, description, acceptanceCriteria, priority, passes. Implement the story: write or edit code so that every item in acceptanceCriteria is satisfied. Work on this story only. Do not start the next story.
Run the project’s quality commands (e.g. npm test, npm run lint, npm run typecheck, or whatever the project uses). If any check fails, do not commit. Tell the user what failed and stop. Do not update prd.json or progress.txt for a failed story.
Stage all changes (e.g. git add -A or your git tool’s equivalent). Commit with message exactly: feat: [Story ID] - [Story Title] Example: feat: US-002 - Display priority on task cards
Read prd.json again (in case it changed). Find the user story with the same id you just completed. Set its passes to true. Write the full updated prd.json back (preserve structure and other fields; only change that story’s passes).
Say which story you completed (ID and title) and that you updated the PRD and progress. If there are still stories with passes === false, say: "Run another iteration to do the next story." If all are complete, say: "All PRD stories are complete."
If the user wants to create a new prd.json (no file yet), create it with this shape: { "project": "ProjectName", "branchName": "ralph/feature-kebab-case", "description": "Short feature description", "userStories": [ { "id": "US-001", "title": "Short title", "description": "As a [role], I want [thing] so that [benefit].", "acceptanceCriteria": [ "Verifiable criterion 1", "Verifiable criterion 2", "Typecheck passes" ], "priority": 1, "passes": false, "notes": "" } ] } priority: Lower number = higher priority. Order by dependency (e.g. schema before UI). passes: Start as false; set to true only after the story is implemented and committed. acceptanceCriteria: Each item must be checkable (e.g. "Typecheck passes", "Tests pass").
One story per invocation. Do not implement multiple stories in one go. Do not commit failing code. Only commit after quality checks pass. Do not mark a story as passed if you did not commit (e.g. checks failed). Append to progress.txt; never replace the whole file (except when creating it for the first time). Keep changes minimal and focused on the current story’s acceptance criteria.
Read prd.json and progress.txt (and Codebase Patterns if present) Picked next story (passes=false, lowest priority number) Git branch matches prd.json.branchName Implemented story and satisfied all acceptance criteria Quality checks passed (test/lint/typecheck) Committed with message feat: [ID] - [Title] Set that story’s passes to true in prd.json Appended progress block to progress.txt
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.