loop-on-ci
Skill0 starsChanged 13 days agoMITView on GitHub
Monitor PR checks and fix failures until green. Uses gh pr checks as the source of truth for PR-attached checks.
5 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- jimyag/dotfilestheir own version, first seen Oct 8, 2026
- dhanji4U/skillsedited, first seen Oct 2, 2026
- Kripu77/software-factoryedited, first seen Aug 26, 2026
- ElyzeSolutions/skillsword for word, first seen Aug 6, 2026
- cogine-ai/cogine-dev-skillsetword for word, first seen Jun 25, 2026
Other versions5 projects use a version of this.
Word for word · 2
- cogine-ai/cogine-dev-skillset★ 4100% same
- ElyzeSolutions/skills★ 1100% same
Edited · 2
- Kripu77/software-factory★ 796% same
- dhanji4U/skills★ 288% same
Wrote their own version · 1
- jimyag/dotfiles★ 11same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- check-compiler-errorsSkill
- control-cliSkill
- control-uiSkill
- deslopSkill
- fix-ciSkill
- fix-merge-conflictsSkill
- get-pr-commentsSkill
- make-pr-easy-to-reviewSkill
- new-branch-and-prSkill
- pr-review-canvasSkill
- review-and-shipSkill
- run-smoke-testsSkill
- thermo-nuclear-code-quality-reviewSkill
- verify-thisSkill
- weekly-reviewSkill
- what-did-i-get-doneSkill
- workflow-from-chatsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use gh pr checks as the source of truth.
- Distinctive: line 18
If checks already failed, diagnose those failures first.
- Very specific: line 19
If checks are pending, watch with gh pr checks --watch --fail-fast.
- Distinctive: line 20
After each push, re-check the full PR check set and repeat until green.
- Distinctive: line 40
Keep each fix scoped to a single failure cause when possible.
- Very specific: line 41
Do not bypass hooks (--no-verify) to force progress.
- Distinctive: line 42
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.
- Distinctive: line 43
If failures are flaky, retry once and report flake evidence.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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-failedGuardrails
- 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,linkafter every push; the check set can change.
Output
- Current CI status
- Failure summary and fixes applied
- PR URL once checks are green
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

