gh-fix-ci

Diagnose and fix failing GitHub Actions PR checks using gh CLI commands.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/majedsiefalnasr/bunyan-app-cursor --skill gh-fix-ci-majedsiefalnasr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-ci
Source: https://github.com/majedsiefalnasr/bunyan-app-cursor/tree/main/.agents/skills/gh-fix-ci
Command: npx skills add https://github.com/majedsiefalnasr/bunyan-app-cursor --skill gh-fix-ci-majedsiefalnasr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debug and fix failing GitHub PR checks in GitHub Actions.

Core Features & Use Cases

  • Inspect: Use gh pr checks to list failing checks and identify affected PRs.
  • Diagnose: Use gh run view <run-id> --log-failed to view detailed error logs.
  • Categorize: Classify failures into lint, test, build, or type categories.
  • Fix & Verify: Apply targeted fixes and re-run checks to verify resolutions.

Quick Start

Identify a failing PR check with gh pr checks, view the failing run logs with gh run view <run-id> --log-failed, categorize the failure, apply the fix, and re-run the checks to confirm success.

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 PR checks?

To debug failing GitHub Actions PR checks, you can use `gh pr checks` to list failing checks and `gh run view <run-id> --log-failed` to view detailed error logs. This allows you to diagnose issues directly from your terminal.

What's the best way to categorize CI workflow failures for targeted fixes?

The best way to categorize CI workflow failures is to classify them into lint, test, build, or type categories based on the error logs. This categorization guides the application of targeted fixes for your specific GitHub Actions run.

Can I use gh CLI commands to fix failing GitHub pull request workflows?

Yes, you can use gh CLI commands to fix failing GitHub pull request workflows. The process involves inspecting checks with `gh pr checks`, diagnosing via logs, applying fixes, and verifying by re-running the checks.

Do I need specific dependencies to run GitHub Actions diagnostics and fixes?

You do not need specific dependencies beyond the standard GitHub CLI to run diagnostics and fixes. The Skill uses built-in `gh` commands to inspect checks, view logs, and verify resolutions without external tooling.

Why does my GitHub Actions build keep failing after applying a lint fix?

If your GitHub Actions build keeps failing after a lint fix, you may not have re-run the checks to verify the resolution. Always apply your targeted fix and execute the checks again to confirm the build passes.