Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

loop-on-ci — Claude Code skill: PR check monitoring and automated

A skill that monitors PR checks via gh pr checks and helps the agent iteratively find and fix CI failures until all tests pass. Requires GitHub CLI and repository access with an open pull request.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cursor/plugins --skill loop-on-ci -a claude-code
Open on GitHub

What loop-on-ci does

loop-on-ci manages the feedback loop: polls the full set of PR checks, diagnoses why each one failed, watches pending checks with gh pr checks --watch --fail-fast, and re-evaluates the entire check suite after each commit. It uses gh pr checks as the single source of truth, which covers all PR-attached checks, not just GitHub Actions.

The skill applies fixes scoped to a single failure cause at a time, avoids bypassing hooks, and does not bloat the PR with unrelated changes. If a failure is clearly independent of the current changes and passes on main, it suggests merging the latest main instead. When tests appear flaky, it retries once and documents the evidence.

Requires gh CLI installed and permission to view and manage the PR. The skill re-runs gh pr checks --json name,bucket,state,workflow,link after every push because the check set can change.

What it helps with

  • Track all PR checks including those outside GitHub Actions
  • Iterate through CI failures and apply fixes until green status
  • Distinguish flaky tests from real failures and retry intelligently
  • Diagnose the root cause of a check failure from its logs

Example prompts for the agent

  • Monitor the PR status and help fix any failing checks
  • Run loop-on-ci on the feature branch and get all checks to green
  • Check PR status, find what broke, and fix the code

How to install loop-on-ci

1Skills CLI (Vercel)

npx skills add cursor/plugins --skill loop-on-ci -a claude-code

2Manually: put the files in place

~/.claude/skills/loop-on-ci/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/loop-on-ci/

From the same set18

The whole set →
unslop cursor This skill removes common AI writing patterns, filler, and vague phrasing while keeping the meaning and intended tone. Use it when polishing text. Claude Code CX Codex Cursor +1 27,700installs thermo-nuclear-code-quality-review cursor Runs a strict maintainability audit of code changes, abstractions, large files, and branching complexity. Use it when a routine review needs deeper structural scrutiny. Claude Code CX Codex Cursor +1 22,200installs deslop cursor Inspects branch diffs against main to remove AI-generated code clutter and inconsistent styling. Ideal for polishing branch changes before pull request review. Claude Code CX Codex Cursor +1 9,300installs how cursor Explores codebase architecture and runtime execution paths before you edit code. Helps determine module ownership, layering, and placement for new features. Claude Code CX Codex Cursor +1 5,900installs why cursor The skill investigates why code took its current shape by checking Git history and available MCP sources, then returns cited findings about decisions and tradeoffs. Claude Code CX Codex Cursor +1 5,700installs fix-merge-conflicts cursor Resolves merge conflicts in a branch, then checks the build and tests before wrapping up. Use it when several conflicted files need focused fixes without a refactor. Claude Code CX Codex Cursor +1 2,700installs thermo-nuclear-review cursor A skill for comprehensive analysis of branch changes: checks code for bugs, broken functionality, security vulnerabilities, and feature-gate leaks. Use when you need thorough review before merge. Claude Code CX Codex Cursor +1 2,700installs review-and-ship cursor This skill automates code review before shipping: checks for bugs, tests, and intent fit, then commits and opens a PR. Use it to verify your work is ready before merge. Claude Code CX Codex Cursor +1 2,500installs

Similar

write-pr tldraw Sets PR title and description standards: semantic types, structured templates, and reviewer-focused writing rules. Claude Code CX Codex Cursor +1 419installs write-issue tldraw Enforces GitHub issue formatting and triage standards based on the tldraw repository. It helps draft clear titles, structure descriptions, and manage labels. Claude Code CX Codex Cursor +1 405installs difit-review yoshiko-pg Launches the local difit viewer for git diffs and attaches review notes to exact code lines. Runs only upon explicit request. Claude Code CX Codex Cursor +1 1,900installs resolve-conflicts tailcallhq Handles Git merge conflicts plan-first: audits the files, rebuilds lock files, rescues edits from deleted files, and asks you when the diff is ambiguous. Claude Code CX Codex Cursor +1 683installs adr-review ruvnet Reviews git diffs against accepted Architecture Decision Records to detect violations, forbidden patterns, and architecture drift before merging code. Claude Code CX Codex Cursor +1 745installs triage Matt Pocock This skill moves issues and external PRs through triage states, verification, and agent briefs. It fits maintainers managing an issue queue. Claude Code 990,453installs code-review Matt Pocock Reviews changes from a chosen reference point against repository standards and the originating spec. Use it for a branch, PR, or work in progress. Claude Code 789,521installs implement Matt Pocock Implements work from a specification or tickets, following a test-driven flow and ending with review and a commit. Use it when a coding task needs a defined delivery routine. Claude Code 774,700installs

Questions about loop-on-ci

How do I install loop-on-ci for Claude Code?

Run npx skills add cursor/plugins --skill loop-on-ci -a claude-code. The skill will be available at ~/.claude/skills/loop-on-ci/SKILL.md.

What does loop-on-ci do?

It monitors PR checks using gh pr checks, diagnoses why checks fail, and helps the agent iteratively fix them. It re-evaluates the full check set after each push until all tests pass.

Why does it use `gh pr checks` instead of `gh run list`?

gh pr checks includes all checks attached to the PR, while gh run list only covers GitHub Actions workflows. This gives a complete picture of check status.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor