Loop On Ci
Monitor PR checks and fix CI failures on a branch until every check reports green.
- CCM score
- 64 of 100
- skills.sh installs
- 2.3K
- GitHub stars
- 20.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full loop: resolve the PR, inspect attached checks, diagnose failures, watch pending runs, and re-check after each push
- Uses
gh pr checksas the source of truth, with--watch --fail-fastfor pending checks andgh run view --log-failedfor GitHub Actions logs - Enforces scoped fixes, no
--no-verifybypasses, and a single retry with flake evidence before reporting a flaky failure - Designed for pull requests where CI failures need iterative fixing, and reports status, fixes applied, and the PR URL when green
Install
$ npx -y skills add cursor/plugins --skill loop-on-ci -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
# Resolve the active PR
gh pr view --json number,url,headRefName
# Inspect all attached checks
gh pr checks --json name,bucket,state,workflow,link
# Watch pending checks and fail fast
gh pr checks --watch --fail-fast
# GitHub Actions logs, when the failing check links to a GHA run
gh run view <run-id> --log-failed
Guardrails
Details
- Repository
- github.com/cursor/plugins
- Categories
- DevOps & Cloud, Git & Releases
- First seen
- Jun 23, 2026
Questions
What does the loop-on-ci skill do?
The loop-on-ci skill monitors pull request checks and fixes failures until all checks are green. It uses gh pr checks as the source of truth, since that covers all PR-attached checks and not only GitHub Actions runs.
How do I install the loop-on-ci skill?
Run npx -y skills add cursor/plugins --skill loop-on-ci -y in your project. After installing, the agent can watch a branch or pull request and iterate on CI failures until the required checks pass.
What does loop-on-ci need to run?
The skill relies on the GitHub CLI (gh) and access to the pull request for the current branch. It inspects checks with gh pr checks and can pull GitHub Actions logs with gh run view when a failing check links to a run.
Where does loop-on-ci fit among DevOps and Cloud skills?
The skill is in the DevOps & Cloud category, where azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage are other top skills. Its focus is watching PR checks on GitHub and fixing failures, which sets it apart from those Azure-focused skills.
More from cursor/plugins
All 93- New Branch And Pr2.3K
- Run Smoke Tests2.3K
- Create Formal Verification Skill2.3K
- Workflow From Chats2.3K
- In Your Own Words2.2K
- Ketchup2.1K
- Sharpen2.1K
- Statechart2.1K
- Maintain Formal Verification Skill2.1K
- Make Bot Ui1.7K
- Continual Learning1.5K
- Cli For Agents1.4K
- Ketchup Video1.3K
- Cursor Sdk1.3K
- Orchestrate1.3K
- Docs Canvas1.2K
- Create Plugin Scaffold1.2K
- Review Plugin Submission1.2K
- Ralph Loop1.1K
- Create Learning Path1K
- Run Learning Retrospective935
- Reproduce And Fix Issues882
- Triage Issue Reports859
- Setup Benny845
Similar to Loop On Ci
More DevOps & Cloudfix-cicursor/plugins2.7K installsFocused CI repair loop that inspects failing PR checks and applies one minimal fix per iteration.
iterate-prdavila7/claude-code-templates245 installsAutomated loop that fixes a PR's CI failures and review feedback until all checks are green.
ci-fixwarpdotdev/oz-skills207 installsDiagnose and fix failing GitHub Actions runs by pushing minimal fixes to a dedicated branch.
monitorelitan/frost328 starsLoop-driven skill that watches a pull request and repairs CI failures until every check passes.
review-and-shipcursor/plugins2.8K installsPre-ship workflow that reviews the branch, runs targeted tests, then commits and opens or updates a PR.