engineering / Review & improve
ci-monitoring
Watches GitHub PR checks and handles CI failures — reruns failed jobs, ignores the approval-requirements check, and confirms PR readiness once all required checks are green.
Put it to work.
Ask your agent to use ci-monitoring, or let it load the skill when your task matches the description.
Use the ci-monitoring skillInvocation syntax varies by agent. Use the skill name in your prompt, or your agent’s supported slash command.
About this skill
Monitor GitHub PR checks, rerun failed jobs when appropriate, and confirm merge-readiness.
- Watches checks until pass/fail is clear
- Suggests rerunning only failed jobs for likely unrelated failures
- Emphasizes actionable CI signal over noisy informational checks
Install
npx skills@latest add smeltery/skillsOr copy just this skill:
mkdir -p ~/.claude/skills/ci-monitoring
curl -fsSL https://raw.githubusercontent.com/smeltery/skills/main/skills/engineering/ci-monitoring/SKILL.md \
-o ~/.claude/skills/ci-monitoring/SKILL.mdUsage
Use when a PR has running or failing checks and you need a tight feedback loop.
Files
SKILL.md— canonical skill definition.
Read the full SKILL.md
Watching PR Checks
gh pr checks <pr_number> --watchKeep watching until:
- All checks pass, or
- You can clearly report which check failed and why
Note: You can ignore the "approval requirements" check which will not complete until a human approves.
After New Commits
Re-run local tests and/or re-watch for GitHub PR checks.
Handling Failures
If a failing test appears unrelated to your change
Rerun only failed jobs (preferred):
- Find run id in
gh pr checksoutput or on GitHub Actions UI - Re-run failed jobs:bash
gh run rerun <run_id> --failed
PR Ready Confirmation
Confirm the PR is ready:
- All required checks green
- Approval requirements satisfied
- PR description complete and reviewer-friendly