Skip to content

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.

980 B
Raw Blame

CI Sweeper Starter

Scaffold for the CI Sweeper loop.

Quick Start

  1. 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.md
    
  2. Add GitHub Action (optional): examples/github-actions/ci-sweeper.yml

  3. Start (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.