Watch CI runs and iterate on failures until all checks pass
Scanned 9/2/2026
Install to Claude Code
npx -y skills add nota-america/forgecat-agent-profiles --skill loop-on-ci --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Loop On Ci?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/nota-america-loop-on-ci-eddb4866)More formats (shields.io, HTML) on the badges page.
---
name: loop-on-ci
description: Watch CI runs and iterate on failures until all checks pass
---
# Loop on CI
## Trigger
Need to watch branch CI and iterate on failures until green.
## Workflow
1. Find the current branch and latest workflow run.
2. Wait for CI completion with `gh run watch --exit-status`.
3. If failed, inspect failed logs, implement a focused fix, commit, and push.
4. Repeat until all required checks pass.
## Commands
```bash
# Latest run for current branch
gh run list --branch "$(git branch --show-current)" --limit 5
# Block until completion (0 on pass, non-zero on fail)
gh run watch --exit-status
# Inspect failed jobs
gh run view <run-id> --log-failed
```
## Guardrails
- Keep each fix scoped to a single failure cause when possible.
- Do not bypass hooks (`--no-verify`) to force progress.
- If failures are flaky, retry once and report flake evidence.
## Output
- Current CI status
- Failure summary and fixes applied
- PR URL once checks are green
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!