What problem does it solve?
This Skill helps software teams quickly identify and fix failing GitHub PR checks by using the GitHub CLI (gh) to locate failing checks, fetch logs, summarize failure context, and draft a remediation plan. It keeps scope focused on GitHub Actions and treats external providers (for example Buildkite) as out of scope.
Core Features & Use Cases
- Locate failing checks with gh pr checks and extract run metadata and details URLs.
- Fetch GitHub Actions logs and produce a concise failure snippet for faster triage.
- Draft a remediation plan and require explicit approval before applying any changes.
- Apply fixes and recheck status, facilitating a smooth CI repair workflow in code reviews.
Quick Start
Use the gh-fix-ci skill to inspect PR checks and generate a plan:
- python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"
- Add --json for machine-friendly output to feed into reviews or automation.
After reviewing the plan, provide explicit approval to apply changes and re-run checks.