← All skills & workflows

development

hewitt-ralph

Autonomous TDD coding loop — runs tests, writes code, runs tests again, iterates until passing.

RALPH (Repeated Autonomous Loop for PRD Handling) implements coding tasks using strict test-driven development — write a failing test, make it pass, refactor, repeat. Adapted from [Craig Hewitt's Ralph skill](https://github.com/thecraighewitt/skills).

Difficulty
advanced
Input
conversation
Output
document
Needs
install
Used by
Product Manager

What it needs

  • task_description — What to implement — a user story, issue description, or task spec
  • project_path — Absolute path to the project being worked on
  • task_list — List of tasks to implement — can be a markdown checklist, issue list, or PRD
  • max_iterations — Maximum iterations before stopping (default: 10)

What you get

  • Full loop log with all iterations, tests, and commits
  • Log of what was implemented, tests written, and commit made
  • prefer a permanent directory)

Ask it like this

  • ralph
  • TDD loop
  • red-green-refactor
  • autonomous coding
  • implement with tests
  • test-driven development cycle.
  • implement with tests
  • run tests, fix, repeat