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
Windsurf Examples
Copy-pasteable loop patterns for Windsurf, using Cascade Workflows as the manual workflow surface and .windsurf/rules/ for persistent skill context. External reminders or triggers can provide cadence, but should not merge or act on PRs.
| Example | Cadence | Risk | File |
|---|---|---|---|
| Daily Triage | 1d–2h (manual /daily-triage) |
Low | daily-triage.md |
| PR Babysitter | 5m–15m (manual /pr-babysitter; external reminder optional) |
Medium | pr-babysitter.md |
| CI Sweeper | 5m–15m (manual /ci-sweeper; external reminder optional) |
Medium | ci-sweeper.md |
| Issue Triage | 2h–1d (manual /issue-triage; external reminder optional) |
Low | issue-triage.md |
| Dependency Sweeper | 6h–1d (manual /dependency-sweeper; external reminder optional) |
Medium | dependency-sweeper.md |
| Post-Merge Cleanup | 1d–6h (manual /post-merge-cleanup; external reminder optional) |
Low | post-merge-cleanup.md |
| Changelog Drafter | 1d or tag (manual /changelog-drafter; external reminder optional) |
Low | changelog-drafter.md |
No loop-init --tool windsurf yet — copy SKILL.md + STATE.md from any starter (e.g. starters/minimal-loop), then follow the example to wire a Cascade Workflow.
Audit after copying:
npx @cobusgreyling/loop-audit . --suggest