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 Starter
Scaffold for the PR Babysitter loop (L2 — assisted fixes with verifier).
Quick Start
Copy into your repo:
npx @cobusgreyling/loop-init . --pattern pr-babysitter --tool grok # Or manual: cp -r starters/pr-babysitter/.grok/skills/* .grok/skills/ cp starters/pr-babysitter/pr-babysitter-state.md.example pr-babysitter-state.md cp starters/pr-babysitter/LOOP.md .Customize skills with your review norms and required checks.
Start (Grok):
/loop 5m Check open PRs. Update pr-babysitter-state.md. For CI failures or actionable review comments on allowlisted PRs: worktree + minimal-fix + loop-verifier. Run loop-context --check before each retry; run loop-gate check before commit. Never merge — propose only. Escalate after 3 attempts per PR.Sign PR comments:
🤖 Loop Engineering — PR Babysitter
Files
| File | Purpose |
|---|---|
pr-babysitter-state.md.example |
Watcher state |
.grok/skills/pr-review-triage/ |
PR triage skill |
LOOP.md |
Team loop config |
Safety
- No auto-merge by default
- Denylist: auth, payments, secrets — see safety.md