loop-on-ci

Monitor pull request CI checks and iterate fixes until all required checks pass.

Updated May 22, 2026
One-click install
npx skills add https://github.com/paulbrittain/claude-team-kit --skill loop-on-ci-paulbrittain
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: loop-on-ci
Source: https://github.com/paulbrittain/claude-team-kit/tree/main/skills/loop-on-ci
Command: npx skills add https://github.com/paulbrittain/claude-team-kit --skill loop-on-ci-paulbrittain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you reliably monitor pull request CI checks and iteratively address failing build/test jobs until the PR is fully green.

Core Features & Use Cases

  • CI status truth from PR-attached checks: Uses gh pr checks to reflect the full set of checks attached to the PR, not just GitHub Actions runs.
  • Failure-first diagnosis loop: Prioritizes diagnosing already-failed checks before waiting on pending ones, then repeats after each change.
  • Flake-aware retry guardrails: Retries once for flaky failures and reports flake evidence instead of blindly spamming fixes.

Quick Start

Ask your AI to monitor the active pull request's checks with gh pr checks, diagnose any failures, apply scoped fixes, and keep iterating until all required checks are green.

Frequently Asked Questions about loop-on-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix failing CI checks on a pull request?▼

This Skill monitors pull request CI checks using `gh pr checks`, diagnoses failed builds, applies scoped fixes, and iterates until all required status checks are green.

What is the best way to monitor GitHub Actions status checks during active development?▼

Monitoring GitHub Actions status checks is handled by using `gh pr checks` as the source of truth, prioritizing the diagnosis of already-failed checks before waiting on pending ones.

How do I troubleshoot flaky CI failures without spamming duplicate fixes?▼

To troubleshoot flaky CI failures without spamming fixes, this Skill retries failed checks once, reports flake evidence, and applies iterative troubleshooting only when genuine failures are detected.

Does this CI monitoring approach work with status checks beyond GitHub Actions runs?▼

Yes, this CI monitoring approach works with status checks beyond GitHub Actions runs by reading the full set of checks attached to the PR via `gh pr checks`.

How do I re-check pull request checks after applying a code fix?▼

To re-check pull request checks after applying a code fix, this Skill re-checks the full PR check set after each scoped change and continues the feedback loop until all checks pass.