gnodet

Monitor CI — Git skill for Claude Code

Git community

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

Terminal
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 checks to 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 Repository