Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
OpenAI gh-fix-ciSkill
Summary
OpenAI's skill for debugging failing GitHub Actions checks on a pull request: pull the logs with the gh CLI, summarise the failure, plan the fix, implement only after approval.
Features
- Finds failing PR checks and fetches GitHub Actions logs through the gh CLI
- Bundled inspect_pr_checks.py extracts the failure snippet and exits non-zero while checks are red
- Labels non-GitHub-Actions checks as external instead of trying to debug them
- Requires explicit approval before implementing any fix
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
The checks on my current branch's PR are failing — pull the Actions logs, tell me what broke, and draft a fix plan before changing anything.
Description
A red check on a pull request usually means opening a browser, hunting through a workflow run, and scrolling a log for the line that matters. gh-fix-ci is OpenAI's curated skill for doing that from the terminal instead, and it is deliberately careful about what happens next.
The workflow it enforces
- Verify authentication with
gh auth status, prompting forgh auth loginwith repo and workflow scopes if needed. - Resolve the PR — the current branch's pull request by default, or a number or URL you supply.
- Inspect the failing checks via a bundled
inspect_pr_checks.pyscript that handlesghfield drift and falls back to job-level logs when a run log is still in progress. A manualgh pr checks/gh run view --logpath is documented for when the script is not available. - Scope out non-Actions checks — anything whose details URL is not a GitHub Actions run (Buildkite, for example) is labelled external and reported as a link rather than chased.
- Summarise the failing check name, run URL and a concise log snippet, calling out missing logs explicitly.
- Plan, then implement — after explicit approval. The skill drafts a fix plan and waits; it does not edit code on its own.
- Recheck by re-running the relevant tests and
gh pr checks.
Why the shape matters
The two design decisions worth copying are the approval gate before any edit, and the hard scope boundary at GitHub Actions. Together they keep an agent from wandering into a third-party CI provider it cannot read, or from "fixing" a test it has not diagnosed.
The bundled script exits non-zero while failures remain, so it also works as an automation primitive rather than only an interactive helper.
Requirements
The GitHub CLI (gh), authenticated for the repository host with repo and workflow scopes, plus Python for the bundled script.
Source
From OpenAI's curated public skills collection, alongside skills for addressing PR review comments, deploying to Cloudflare and Netlify, generating images, and driving Linear.
Related Skills
Google's official skill for driving the gcloud CLI safely from an agent: validate every command against its own help text, cap the output, and refuse the operations that should never run unattended.
Convex's official top-level agent skill — routes an agent to the right convex-* skill for the task and to a served capability catalogue that stays current without a reinstall.
Official Shopify skill for theme development in Liquid — teaches an agent the modern theme architecture of sections, blocks and snippets, and validates generated templates and schemas.