Skip to content

Inspect failing GitHub PR checks, pull Actions logs, then plan and implement fixes after approval.

CCM score
63 of 100
skills.sh installs
325
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the workflow from gh authentication and PR resolution through failure triage, fix planning, implementation, and recheck
  • Includes scripts/inspect_pr_checks.py, which fetches failing checks, pulls GitHub Actions logs, and extracts a failure snippet with --json output
  • Enforces an approval gate: a fix plan is drafted through the plan skill and implemented only after explicit user sign-off
  • Designed for debugging failing GitHub Actions checks on a PR; external providers such as Buildkite are reported by URL only and marked out of scope

Install

$ npx -y skills add davila7/claude-code-templates --skill gh-fix-ci -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 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. 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)
  • gh authentication for the repo host

Quick start

  • python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"
  • Add --json if you want machine-friendly output for summarization.

Workflow

Details

Repository
github.com/davila7/claude-code-templates
Categories
DevOps & Cloud, Debugging, Git & Releases
First seen
Jun 3, 2026

Questions

What does the gh-fix-ci skill do?

It inspects GitHub PR checks with the gh tool, pulls failing GitHub Actions logs, and summarizes the failure context. It then drafts a fix plan and implements the changes only after the user approves the plan.

How do I install the gh-fix-ci skill?

Run npx -y skills add davila7/claude-code-templates --skill gh-fix-ci -y in your project. Afterward, the agent can debug and fix failing GitHub Actions checks on your pull requests.

What does gh-fix-ci need before it works?

It needs the gh command-line tool authenticated against your GitHub host, so you should run gh auth login once and check gh auth status. For external checks such as Buildkite, the skill only reports the details URL and marks them out of scope.

Where does gh-fix-ci fit among DevOps and Cloud skills?

It is listed in the DevOps and Cloud category alongside skills such as azure-diagnostics and azure-deploy. Unlike those Azure-focused skills, it concentrates on diagnosing failing GitHub pull request checks.

More from davila7/claude-code-templates

All 398

Similar to Gh Fix Ci

More DevOps & Cloud