Implement spec.md with TDD
Implement spec.md with test-driven development, loop until all tests pass and output COMPLETE.
/ralph-loop "Implement spec.md. TDD. Output <promise>COMPLETE</promise> when all tests pass." --max-iterations 30
claude-code
Source: larsderidder ↗graded B · 85/100 — how grades work →
More testing loops
Build a REST API with tests
Run autonomous iterations to ship a complete REST API with full test coverage until completion is promised.
/ralph-loop "Build a REST API with tests" --max-iterations 30 --completion-promise "COMPLETE
testingmedium risk
Test all endpoints
Run tests against every API endpoint until coverage is complete or you hit 30 iterations.
/goal all endpoints tested or stop after 30 turns
testingmedium risk
Hit acceptance criteria
Drive a feature to done against explicit acceptance criteria: a working paginated endpoint, passing tests, clean lint, and a hard turn cap.
/goal the /users endpoint returns 200 with a paginated JSON body, all tests pass, and lint is clean — stop after 20 turns
testingmedium risk