Loop/loopCode Reviewhigh riskadvancedsafety B · 80

The nested perfect loop

A loop wrapping a goal wrapping a review: every 30 minutes, drive all PR review comments to resolved via /review, 10 turns max per pass.

prompt
→ Claude
/loop 30m /goal all PR review comments resolved via /review, stop after 10 turns
claude-code

Implementation note

Demonstrates loop composition: the outer timer re-triggers a bounded goal. Kill the outer loop once the PR is approved.

Source: awesome-agent-loops

More review loops

Address review comments, fix CI

Loop/loop

Check your PR for new comments and CI failures, address them, then loop every 5 minutes until all pass.

prompt
→ Claude
/loop 5m check my PR, address review comments, and fix failing CI
reviewmedium riskclaude-code

Review code changes until done

Loop/loop

Review the current change and iterate until you confirm the work is complete.

prompt
→ Claude
/loop Review the current change and continue until complete
reviewlow riskclaude-code

Map codebase with review prompt

Loop/ralphnew

Run a review prompt against your codebase repeatedly until the completion promise resolves, with no iteration cap.

prompt
→ Claude
/ralph-loop "<review prompt>" --completion-promise "CODEBASE MAP COMPLETE" . One ralph loop per discovered codebase (loops until the promise; no iteration cap per v3.8.0 unbounded solving
reviewmedium riskclaude-code