Monitor Ci banner
gnodet gnodet

Monitor Ci

Git community

Description

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 <number>` 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 <run_id> --exit-

Installation

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.

Full documentation available on GitHub

View Source Repository