skills/gh-fix-ci/SKILL.md
Diagnoses failing or setup-stuck GitHub Actions checks on a PR, identifies root cause, and proposes or applies targeted fixes. Triggers when the user asks to fix CI, diagnose failing checks, fix a failing workflow, address GitHub Actions errors, get a green build, or continue PR queue work without waiting on unrelated pending checks. Can run autonomously in a loop — fix, push, recheck — until all required checks are green when the user asks to loop on CI.
npx skillsauth add shipshitdev/library gh-fix-ciInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inputs:
Outputs:
Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
testing-cicd-init when baseline CI is missingdeployment-composer when failures block a releasecode-review for risky fixesgh auth status -h github.comgh pr view --json number,urlgh pr checks --json name,bucket,state,workflow,linkbucket is pass / fail / pending / skipping / cancel; gh run list
only sees GitHub Actions, so prefer the PR-checks view.)gh run view <run-id> --json jobsgh run cancel <run-id>gh run rerun <run-id> --failedgh run rerun <run-id> --job <job-id>gh run view <run-id> --log-failed (failed steps only; --log for the full log)gh run view --job <job-id> --log-failedlink and extract the
error from there rather than dropping it as out of scope.When the user asks to "loop on CI" or "get it green and keep going," run the fix → push → recheck cycle without pausing for approval each iteration (the user authorized the loop once, up front):
gh pr checks --watch --fail-fast (or poll --json name,bucket,state if a
non-interactive run is needed).--no-verify — fix the hook failure, don't skip
it).Guardrails: no --no-verify, no disabling or weakening checks to force green, and
no force-push to shared branches.
development
Coordinates a weekly engineering review of board accuracy, recent code changes, operational health, and scoped cleanup. Use for a recurring repository health review or a review of the last several days.
testing
Audits project board configuration and prepares explicitly requested setup, copy, or normalization changes while preserving the existing workflow and provider boundaries. Use when inspecting a board's fields, columns, scope, or configuration.
testing
Reconciles a project board with current work and delivery evidence, reports incomplete coverage and metadata gaps, and applies only approved provider-supported field changes. Use when auditing board drift, reviewing blocked work, or assessing upcoming delivery.
development
Walk through how a subsystem works. Use for "how does X work", code walkthroughs before changing something, and placement or ownership questions. Explains architecture, runtime flow, and onboarding mental models. Can critique architecture. Use why for motivation.