Gh fix ci

From Kevin-Liu-01/Agent-Machines · View interactive version

Gh fix ci is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. 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

How to use this skill

Skill file

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.

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

Quick start

Workflow

  1. Verify gh authentication.
  1. Resolve the PR.
  1. Inspect failing checks (GitHub Actions only).
  1. Scope non-GitHub Actions checks.
  1. Summarize failures for the user.
  1. Create a plan.
  1. Implement after approval.
  1. Recheck status.

Bundled Resources

scripts/inspect_pr_checks.py

Fetch failing PR checks, pull GitHub Actions logs, and extract a failure snippet. Exits non-zero when failures remain so it can be used in automation.

Usage examples:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.