跳到正文
TakoAPI
返回技能列表

better-ralph

由 runeweaverstudios 提供

Coding Agents & IDEs
512下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: run better ralph

智能体
  1. 1

    Read prd.json and check progress.txt for codebase patterns

  2. 2

    Find the highest-priority story where passes is false

  3. 3

    Check out the branch named in prd.json.branchName if not already on it

  4. 4

    Implement code satisfying all acceptanceCriteria for the selected story

  5. 5

    Run project quality commands (test, lint, typecheck) and stop if any fail

  6. 6

    Stage all changes and commit with message 'feat: [ID] - [Title]'

  7. 7

    Set the story's passes to true in prd.json and write the file

  8. 8

    Append a dated progress block to progress.txt

输出

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

安装

clawhub install runeweaverstudios/better-ralph

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接