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
CI Sweeper Starter
Scaffold for the CI Sweeper loop.
Quick Start
Copy skills and state:
npx @cobusgreyling/loop-init . --pattern ci-sweeper --tool grok # Or manual: mkdir -p .grok/skills cp -r starters/ci-sweeper/.grok/skills/ci-triage .grok/skills/ cp templates/SKILL.md.minimal-fix .grok/skills/minimal-fix/SKILL.md cp templates/SKILL.md.verifier .grok/skills/loop-verifier/SKILL.md cp starters/ci-sweeper/ci-sweeper-state.md.example ci-sweeper-state.mdAdd GitHub Action (optional):
examples/github-actions/ci-sweeper.ymlStart (Grok):
/loop 15m Check CI on main. Update ci-sweeper-state.md. Classify failures. For new actionable failures (not flakes): worktree + minimal-fix + loop-verifier. Run loop-gate check before commit. Escalate after 3 attempts.
Flake Policy
If the same test failed and passed on retry without code change → Watch, do not auto-fix.