# Openai Gh Fix Ci

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub...

- Repository: https://github.com/trailofbits/skills-curated (523 stars)
- Category: Testing
- License: CC-BY-SA-4.0
- Last updated: 2026-07-14
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add trailofbits/skills-curated --skill openai-gh-fix-ci -g -a claude-code -y`
Codex: `npx skills add trailofbits/skills-curated --skill openai-gh-fix-ci -g -a codex -y`
Cursor: `npx skills add trailofbits/skills-curated --skill openai-gh-fix-ci -g -a cursor -y`
Gemini CLI: `npx skills add trailofbits/skills-curated --skill openai-gh-fix-ci -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add trailofbits/skills-curated`

## Description

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL. Originally from OpenAI's curated skills catalog.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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 "{baseDir}/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"`
- Add `--json` if you want machine-friendly output for summarization.

## Workflow

The rest: https://github.com/trailofbits/skills-curated/blob/HEAD/plugins/openai-gh-fix-ci/skills/openai-gh-fix-ci/SKILL.md
