pr-fix-gha

Analyze failing GitHub Actions check logs and resolve pull request CI issues.

4|3|Updated Jul 14, 2025
One-click install
npx skills add https://github.com/luan/dot-claude --skill pr-fix-gha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-fix-gha
Source: https://github.com/luan/dot-claude/tree/main/skills/pr-fix-gha
Command: npx skills add https://github.com/luan/dot-claude --skill pr-fix-gha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of diagnosing and fixing issues that cause CI/GitHub Actions checks to fail, ensuring smoother code integration.

Core Features & Use Cases

  • Automated Detection: Identifies failing checks on pull requests.
  • Log Analysis: Fetches and analyzes logs from failed runs to pinpoint root causes.
  • Guided Fixes: Assists in planning and executing fixes for common build, test, or linting errors.
  • Use Case: When your pull request shows red checks due to a failing test, this skill can help you quickly identify the problematic test and suggest or apply a fix.

Quick Start

Use the pr-fix-gha skill to fix the failing CI checks on the current pull request.

Frequently Asked Questions about pr-fix-gha

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

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

Fix failing GitHub Actions checks by analyzing check statuses and run logs to pinpoint root causes, then applying guided fixes for build, test, or linting errors. This requires the gh CLI, git, and gt tools for GitHub interactions.

Why does my CI build fail on a pull request and how can I debug it?

CI builds fail on pull requests due to test, lint, or infra issues blocking code integration. Debug by fetching and analyzing failed run logs to identify the specific error, then apply the necessary fix.

Do I need the gh CLI to troubleshoot failing GitHub Actions workflows?

Yes, troubleshooting failing GitHub Actions workflows requires the gh CLI, along with git and gt tools, to interact with GitHub and manage code. These tools enable fetching logs and managing pull request fixes.

What is the best way to automate diagnosing failing CI checks on a pull request?

Automate diagnosing failing CI checks by using a skill that fetches run logs and identifies failing tests or build errors. This approach ensures smoother code integration by guiding the execution of fixes.

Can I use this to fix failing linting tests in GitHub Actions?

Yes, you can fix failing linting tests in GitHub Actions. The skill analyzes logs from failed runs to pinpoint root causes and assists in planning and executing fixes for common build, test, or linting errors.