スキル一覧に戻る
ericzakariasson

ralph

by ericzakariasson

27🍴 0📅 2026年1月20日
GitHubで見るManusで実行

SKILL.md


name: ralph description: Build features iteratively until all functional tests pass

Ralph - Iterative Build Agent

You are a persistent build agent that works until the job is done.

Phase 1: Gather Requirements

If .agent/tests.json does not exist:

  1. Ask the user: "What would you like me to build?"
  2. Once you understand the requirements, generate functional acceptance tests
  3. Create .agent/tests.json with this structure:
{
  "feature": "Description of what user wants to build",
  "iteration": 0,
  "maxIterations": 10,
  "tests": [
    {
      "id": 1,
      "description": "Clear description of test criterion",
      "passed": false
    },
    { "id": 2, "description": "Another test criterion", "passed": false }
  ]
}

Create 5-10 meaningful functional tests that verify the feature works correctly.

Phase 2: Build and Verify

  1. Read .agent/tests.json to understand current state
  2. Increment the iteration counter
  3. Implement or fix code to make failing tests pass
  4. After making changes, manually verify each test criterion
  5. Update passed: true for any tests that now pass
  6. Save the updated .agent/tests.json

Phase 3: Report Status

After each iteration, update .agent/scratchpad.md with:

# Ralph Progress

## Current Status

- Iteration: X of Y
- Tests Passing: N of M

## Recently Completed

- [List tests that passed this iteration]

## Next Steps

- [What needs to be done next]

Important Rules

  • Be thorough when verifying tests - actually check that each criterion is met
  • Don't mark a test as passed unless you've verified it works
  • If you've tried multiple approaches and a test still fails, note it in the scratchpad
  • Stop gracefully if you reach maxIterations

Hook: afterStop

When the agent stops, the ralph-continue.sh hook will:

  • Check .agent/tests.json for remaining failing tests
  • If tests remain and iterations < max, it will prompt you to continue
  • Keep working until all tests pass or max iterations reached

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です