Loop/loopCImedium riskbeginnersafety C · 53GitHub

Get the PR mergeable and green

Loop every 30m checking CI status and unresolved comments, fixing scoped issues until the PR is mergeable or a stop rule fires.

Prompt
→ Claude Code
/loop 30m Check PR CI and unresolved comments. Fix scoped issues per .agent/context/loops.md (fallback: docs/agents/loops.md) stop rules. Stop when mergeable and green or a stop rule fires
claude-code

Source: ChidiOkoene ↗graded C · 53/100 — how grades work (Safety Score v2) →

Similar loops

All ci loops →

Run every 15 minutes to classify CI failures, fix clear regressions in a worktree with verification, and escalate infrastructure or security test failures.

prompt
→ Claude Code
/loop 15m $ci-triage — update ci-sweeper-state.md. Classify failures first. Fix only clear regressions in a worktree with verifier. Max 3 attempts. Escalate infra and security test failures
/goalCIlow risk

Get the build green

Run the build, fix the first error, and repeat until npm run build exits 0, with a 10-turn cap.

prompt
→ Claude Code
/goal `npm run build` exits 0 — run the build, fix the first error, repeat until it succeeds; stop after 10 turns

Run ci-triage on failing CI, fix clear regressions in isolation, verify before push, and update state—up to 3 attempts per cluster.

prompt
→ Claude Code
/loop 15m Run ci-triage on failing CI for default branch and open PRs. Update ci-sweeper-state.md. Fix only clear regressions in an isolated worktree. Spawn loop-verifier before any push. Max 3 attempts per failure cluster