gh-fix-ci

Automate debugging of failing GitHub Actions PR checks with gh CLI.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/loganylchen/skills --skill gh-fix-ci-loganylchen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-ci
Source: https://github.com/loganylchen/skills/tree/main/gh-fix-ci
Command: npx skills add https://github.com/loganylchen/skills --skill gh-fix-ci-loganylchen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill helps debug and fix failing GitHub PR checks that run in GitHub Actions, streamlining the CI/CD process and ensuring code quality.

Core Features & Use Cases

  • Automated Check Inspection: Uses the gh CLI to inspect failing checks and their logs.
  • Failure Summarization: Identifies the root cause of failures by summarizing relevant log snippets.
  • Fix Planning: Drafts a plan to address the identified issues.
  • Use Case: When a pull request fails its CI checks, this Skill can automatically investigate the failure, pinpoint the error in the logs, and suggest a fix, allowing developers to resolve issues faster.

Quick Start

Use the gh-fix-ci skill to inspect failing checks for the current pull request.

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?

This Skill automates debugging failing GitHub Actions checks by leveraging the gh CLI to inspect checks, fetch logs, summarize failure contexts, and draft actionable fix plans for your pull requests.

Can I use this Skill to debug CI failures with external providers like Buildkite?

No, this Skill specifically targets GitHub Actions and excludes external CI providers. It focuses on deterministic task execution for debugging failing PR checks within the GitHub Actions ecosystem.

How does this Skill identify the root cause of CI failures in GitHub Actions?

It identifies the root cause by using bundled Python scripts to analyze fetched logs, pinpointing specific errors, and summarizing relevant log snippets to explain the GitHub Actions failure context.

Do I need the gh CLI installed to automate GitHub PR check debugging?

Yes, the gh CLI is a required dependency. The Skill leverages the gh CLI to interact with GitHub Actions, inspect failing checks, and fetch the necessary logs for automated debugging and fix planning.

What is the best way to get a fix plan for a failing GitHub Actions pull request check?

The best way is to use this Skill, which automatically investigates the failing GitHub Actions check, pinpoints the error in the logs, and drafts a targeted plan to address the identified issues.