SKILL

gh-fix-ci

Inspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize failure context, then create a fix plan and implement after user approval. Use when a user asks to debug or fix failing PR CI/CD checks on GitHub Actions and wants a plan + code changes; for external checks (e.g., Buildkite), only report the details URL and mark them out of scope.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Gh Pr Checks Plan Fix
  • Overview
  • Inputs
  • Quick start
  • Workflow
  • Bundled Resources
  • scripts/inspectprchecks.py

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 sandboxpermissions=requireescalated. repo: path inside the repo (default .) pr: PR number or URL (optional; defaults to current branch PR) gh authentication for the repo host python " /scripts/inspectprchecks.py" --repo "." --pr " " Add --json if you want machine-friendly output for summarization. 1. Verify gh authentication. Run gh auth status in the repo with escalated scopes (workflow/repo) after running gh auth login. If sandboxed auth status fails, rerun the command with sandboxpermissions=requireescalated to allow network/keyring access. If unauthenticated, ask the user to log in before proceeding. 2. Resolve the PR. Prefer the current branch PR: gh pr view --json number,url. If the user provides a PR numb

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/gh-fix-ci/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.374Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.