
Gh Fix Ci
When a GitHub PR's CI checks blow up, this skill automates the tedious dance of running gh commands to figure out what failed and why. It pulls GitHub Actions logs, extracts the relevant failure snippet, then uses the plan skill to draft a fix and waits for your approval before implementing. The bundled Python script handles the common annoyances like field drift in gh's JSON output and jobs that are still running. It explicitly scopes out external CI like Buildkite rather than pretending it can handle everything. Honest take: this is the kind of automation that saves you from scrolling through 3,000 line logs in the GitHub UI at 11pm when a test flakes.
- skills.sh installs
- 325
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill gh-fix-ci --agent claude-codeInstalls into .claude/skills of the current project.
Files
Gh Pr Checks Plan Fix
Overview
Use gh to locate failing PR checks, fetch GitHub Actions logs for actionable failures, summarize the failure snippet, then propose a fix plan and implement after explicit approval.
- Depends on the
planskill 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. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.
Inputs
repo: path inside the repo (default.)pr: PR number or URL (optional; defaults to current branch PR)ghauthentication for the repo host
Quick start
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"- Add
--jsonif you want machine-friendly output for summarization.
Workflow
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- DevOps & CI/CD, Git & Pull Requests, Debugging, Productivity & Planning
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Pyhealth325
- Scanpy325
- Aeon324
- Web To Markdown322
- Biomni321
- Constitutional Ai321
- Nanogpt320
- Sglang320
- Uspto Database318
- Receiving Code Review317
- Transformer Lens Interpretability317
- Skypilot Multi Cloud Orchestration316
- Llava315
- Mdr 745 Specialist315
- Create Pr314
- Fda Database313
- Astropy312
- Skill Developer312
- Environment Setup Guide311
- Requesting Code Review311
- Roier Seo311
- Grpo Rl Training310
- Railway Database310
- Remotion Best Practices310