# loop-on-ci

> Claude/Codex skill by [@cursor](https://omgskills.com/library/cursor/index.md) · 5k stars · Updated 2026-08-25

Monitor PR checks and fix failures until green. Uses gh pr checks as the source of truth for PR-attached checks.

## Install

```sh
git clone https://github.com/cursor/plugins /tmp/plugins && ln -s /tmp/plugins/cursor-team-kit/skills/loop-on-ci ~/.claude/skills/loop-on-ci
```

## From README

Loop on CI Trigger Need to watch a branch or pull request and iterate on CI failures until all required checks are green. Use gh pr checks as the source of truth. It includes all PR-attached checks, while gh run list only covers GitHub Actions. Workflow Resolve the PR for the current branch. Inspect current PR checks before waiting. If checks already failed, diagnose those failures first. If checks are pending, watch with gh pr checks --watch --fail-fast. After each push, re-check the full PR check set and repeat until green. Commands Guardrails Keep each fix scoped to a single failure cause when possible. Do not bypass hooks (--no-verify) to force progress. If the failure is clearly unrelated to the PR and appears fixed on main, merge latest main instead of bloating the PR with unrelated fixes. If failures are flaky, retry once and report flake evidence. Re-run gh pr checks --json name,bucket,state,workflow,link after every push; the check set can change.

## Links

- HTML page: https://omgskills.com/skills/cursor/plugins/loop-on-ci/
- GitHub: https://github.com/cursor/plugins
- Author: [@cursor](https://omgskills.com/library/cursor/index.md)

## More from this repo

- [advisor](https://omgskills.com/skills/cursor/plugins/advisor/skills/advisor/index.md) — Advisor mode.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 7k stars
- [architect](https://omgskills.com/skills/cursor/plugins/architect/index.md) — Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 6.9k stars
- [arena](https://omgskills.com/skills/cursor/plugins/arena/index.md) — Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 5k stars
