Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

better-ralph更好的拉尔夫

Agent Skill

better-ralph 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

27,026

周安装

1,104

GitHub Stars

公开资料未说明

下载量

8,655
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:better-ralph(更好的拉尔夫)
来源仓库:https://github.com/austindixson/better-ralph
安装命令:
openclaw skills install better-ralph
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install better-ralph

简介

用于运行 Better Ralph 迭代流程。

  • 按优先级选择并完成 PRD 故事。
  • 自动提交进度并标记通过状态。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 仅使用标准工具链完成开发闭环。安装时按仓库提供的命令执行,建议先在测试环境验证依赖、命令权限和文件改动范围。
  • better-ralph 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
better-ralph
description
Run one Better Ralph iteration: PRD-driven autonomous coding. Read prd.json, pick next story, implement it, run checks, commit, mark story passed, append progress. Uses only standard OpenClaw tools (read, write, exec, git). Triggers on: run better ralph, better ralph iteration, do one ralph story, next prd story, ralph loop.
user-invocable
true

Better Ralph – One Iteration (OpenClaw)

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.


When to Use

  • 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).

One-Iteration Workflow

Do these steps in order. Use only your standard file, exec, and git tools.

1. Read state

  • 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.

2. Pick the next story

  • 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.

3. Ensure git branch

  • 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>).

4. Implement the story

  • 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.

5. Run quality checks

  • 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.

6. Commit (only if checks passed)

  • 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

7. Mark story passed in prd.json

  • 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).

8. Append progress to progress.txt

  • Append (do not overwrite) a new block to progress.txt with this format:
## [Current date/time] - [Story ID]
- What was implemented (1–2 sentences)
- Files changed (list paths)
- **Learnings for future iterations:**
  - Patterns or gotchas (e.g. "this codebase uses X for Y", "remember to update Z when changing W")
---
  • If progress.txt does not exist, create it with a first line like # Better Ralph Progress then the block above.

9. Report to user

  • 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."

prd.json format

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").

Codebase Patterns (progress.txt)

Optionally keep a Codebase Patterns section at the top of progress.txt so future iterations (or you in the next run) see it first:

# Better Ralph Progress

## Codebase Patterns
- Use X for Y in this codebase
- Always run Z after changing W
- Tests require PORT=3000

---

When you read progress.txt at the start of an iteration, use this section as context. When you discover a reusable pattern, add it here (edit the top of the file and keep the rest intact). Do not put story-specific details in Codebase Patterns.


Rules

  • 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.

Checklist (one iteration)

  • [ ] 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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.35%
按下载量换算6,435

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills