Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
TypeScript agentic-aiai-agentsai-codinganthropicautomationclaudeclaude-codecodexcoding-agentsdevops-automationdevtoolsgithub-actionsgrokllmloop-engineeringmcpprompt-engineering
PR Babysitter — Claude Code
Command
/loop 5m /babysit
Or explicit (matches this repo's pattern):
/loop 5m For each open PR I care about: triage CI and reviews. Propose minimal fixes in worktree. Verifier agent must approve before commenting. Update pr-babysitter-state.md. Max 3 attempts per PR.
With /goal on a Single PR
/goal PR #1234 has green CI, no blocking review comments, and is rebased on main
State
Use pr-babysitter-state.md from starters/pr-babysitter/.
Notes
- Combine with hooks for pre-commit checks if the loop edits locally
- GitHub Actions can complement
/loopwhen laptop is closed