gh-fix-ci

Diagnose failing GitHub PR checks and generate an approved repair plan.

5|Updated Feb 6, 2022
One-click install
npx skills add https://github.com/christofferbergj/dotfiles --skill gh-fix-ci-christofferbergj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-ci
Source: https://github.com/christofferbergj/dotfiles/tree/main/.agents/skills/gh-fix-ci
Command: npx skills add https://github.com/christofferbergj/dotfiles --skill gh-fix-ci-christofferbergj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually diagnosing failing GitHub PR checks can be time-consuming; gh-fix-ci provides a guided workflow to locate failures, fetch logs, and propose an approved fix plan.

Core Features & Use Cases

  • Inspect PR checks via gh and read GitHub Actions logs to surface actionable failure context.
  • Generate a concise plan for triage and fixes, and implement only after explicit user approval.
  • Scope-only: excludes external CI providers like Buildkite; focuses on GitHub workflows.

Quick Start

Ask the skill to locate failing PR checks, summarize the failure context, and draft an approved fix plan.

Frequently Asked Questions about gh-fix-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug failing GitHub Actions checks on a pull request?

To debug failing GitHub Actions checks, you can use a guided workflow that inspects PR checks via gh, fetches the workflow logs, surfaces the failure context, and drafts a repair plan for approval before applying fixes.

What is the best way to automatically generate a fix plan for failing GitHub PR checks?

Generating a fix plan for failing GitHub PR checks involves parsing PR checks JSON and analyzing GitHub Actions logs to extract failure context, producing a concise triage plan that requires explicit user approval before implementation.

Can I use gh commands to analyze GitHub Actions logs and extract failure context?

Yes, you can use gh commands to analyze GitHub Actions logs by requiring gh authentication to parse PR checks JSON and fetch logs, which extracts actionable failure context to guide the repair workflow.

Does this workflow support external CI providers like Buildkite for log analysis?

No, this workflow is scope-only for GitHub-hosted workflows and PR contexts, explicitly excluding external CI providers like Buildkite to focus entirely on GitHub Actions log analysis and repair.