Inspect GitHub PR for CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved review threads. Create fix plans and implement after user approval. Resolve review threads and notify reviewers after fixes.
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/akiojin/skills/blob/main/github/skills/gh-fix-ci/SKILL.md -a claude-code --skill gh-fix-ciInstallation paths:
.claude/skills/gh-fix-ci/# Gh PR Checks Plan Fix ## Overview Use gh to inspect PRs for: - Failing CI checks (GitHub Actions) - Merge conflicts - Update Branch requirements (base branch advanced) - Reviewer comments (review summaries, inline comments, issue comments) - Change Requests from reviewers - Unresolved review threads Then propose a fix plan, implement after explicit approval, resolve threads for addressed reviewer comments (required for merge in many repositories), and notify reviewers. - Depends on the `plan` skill for drafting and approving the fix plan. Prereq: ensure `gh` is authenticated (for example, run `gh auth login` once), then run `gh auth status` with escalated permissions (include workflow/repo scopes) so `gh` commands succeed. ## Inputs - `repo`: path inside the repo (default `.`) - `pr`: PR number or URL (optional; defaults to current branch PR) - `mode`: inspection mode (`checks`, `conflicts`, `reviews`, `all`) - `max-review-comments`: max reviewer comments to list per category - `required-only`: limit CI checks to required checks only (uses `gh pr checks --required`) - `gh` authentication for the repo host ## Quick start ```bash # Inspect all (CI, conflicts, reviews) - default mode python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" # CI checks only python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode checks # Conflicts only python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode conflicts # Reviews only (Change Requests + Unresolved Threads) python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode reviews # JSON output python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --json # Required checks only (if gh supports --required) python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number>" --mode checks --required-only # Limit review comment output python "<path-to-skill>/script