Sign in
Explore
Skills · SkillEveryday codingDevOps & CloudCI/CDDebuggingGit & pull requestsReviewed

gh-fix-ci

Debug failing GitHub Actions checks on a PR with gh: read logs, summarise the failure, draft a fix plan, and implement only after approval.

Kind
Skill
Works with
Codex, Claude Code
Source
openai/skills @ 49f948faa925
Path
skills/.curated/gh-fix-ci/SKILL.md
Jobs
Debugging, Git workflow
Topics
CI/CD, Debugging, Git & pull requests

Credit

Made by
openai
Original
github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/gh-fix-ci/ (the skill folder)
  • 3 other files in the folder: LICENSE.txt, agents/openai.yaml, scripts/inspect_pr_checks.py
Runs scripts
Yes
  • scripts/inspect_pr_checks.py
  • script file in the folder (scripts/inspect_pr_checks.py)
Uses the network
None found
Needs secrets
None found
Reads outside the project
  • /usr/bin/env (scripts/inspect_pr_checks.py)
Calls other skills
  • /logs
  • create-plan
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/inspect_pr_checks.py
Source revision
49f948faa925
Licence
Apache-2.0
Last activity
28 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# 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>"`
- Add `--json` if you want machine-friendly output for summarization.

## Workflow

1. Verify gh authentication.
   - Run `gh auth status` in the repo.
   - If unauthenticated, ask the user to run `gh auth login` (ensuring repo + workflow scopes) before proceeding.
2. Resolve the PR.
   - Prefer the current branch PR: `gh pr view --json number,url`.
…