gh-fix-ci

Installation
Summary

Debug and fix failing GitHub Actions checks in pull requests using gh CLI inspection and log analysis.

  • Inspects PR checks via GitHub CLI, fetches GitHub Actions logs, and summarizes failure context with actionable log snippets
  • Requires prior gh authentication with repo and workflow scopes; verifies status before proceeding
  • Drafts a fix plan (using create-plan skill if available, otherwise inline) and implements only after explicit user approval
  • Treats external CI providers (Buildkite, etc.) as out of scope; reports only their details URLs
  • Includes bundled Python script for automated check inspection with JSON output and configurable log line limits
SKILL.md

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.

  • If a plan-oriented skill (for example create-plan) is available, use it; otherwise draft a concise plan inline and request approval before implementing.

Prereq: authenticate with the standard GitHub CLI once (for example, run gh auth login), then confirm with gh auth status (repo + workflow scopes are typically required).

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>"
Related skills

More from openai/skills

Installs
1.6K
Repository
openai/skills
GitHub Stars
19.0K
First Seen
Jan 20, 2026