Monitor CI — Git skill for Claude Code
Monitor CI for a PR, diagnose failures, and fix them.
How to install Monitor CI
Installs to ~/.claude/skills/gnodet-claude-code-commands-monitor-ci/SKILL.md
mkdir -p ~/.claude/skills/gnodet-claude-code-commands-monitor-ci && curl -fsSL https://raw.githubusercontent.com/gnodet/claude-code-commands/HEAD/commands/monitor-ci.md -o ~/.claude/skills/gnodet-claude-code-commands-monitor-ci/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Monitor CI does
Monitor CI for a PR, diagnose failures, and fix them.
If a PR number is provided ("$ARGUMENTS"), use that. Otherwise, detect the PR associated with the current branch by running `gh pr view --json number --jq '.number'`. If no PR is found, abort with a clear message.
Phase 1: Check Current Status
- Run
gh pr checksto get the status of all checks. - If all checks have passed, report "CI is green" and stop.
- If checks are still pending, watch them: `gh run watch
--exit-
Alternatives in Git
- Fix PR — by metabase - Fetches and fixes unresolved PR comments by automatically retrieving feedback, addressing review 46.5k ★
- Gh Fix CI — Debug and fix failing GitHub Actions PR checks using log inspection 14.6k ★
- Linting — Run rm -rf .mypy_cache && pre-commit run --all-files and fix the issues 3.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Dx Gha
Diagnose GitHub Actions failures. Fetches recent failed runs, reads logs, identifies root cause, suggests fixe
PR Shepherd
Monitor a PR through to merge - handles CI failures, reviews, and thread resolution
Fix Faults
Analyze all fault reports, diagnose root causes using debug logs, research fixes, implement in parallel, and c
Gw PR Fix
Check CI failures and fix issues for PR #$ARGUMENTS.
PR Autofix
Fix PRs autonomously. Triage open PRs by tier, address thread feedback, fix CI failures, and enable auto-merge
PR Fix
Create PR and iteratively fix CI failures with interactive confirmation
Related Agents
Hook Health
Monitor and diagnose hook failures, silent data corruption, and schema mismatches in the .claude/hooks/ infras
Sf Bugfix Agent
Diagnose and fix Salesforce build errors, Apex test failures, metadata conflicts, and deployment issues with m
DevOps Manager
Diagnose and fix CI/CD pipeline failures, GitHub Actions workflows, Dependabot, Vercel deployments, and build/