gh-fix-pr

Diagnose and fix GitHub PR issues via the GitHub CLI and GraphQL API.

8|3|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/akiojin/skills --skill gh-fix-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-fix-pr
Source: https://github.com/akiojin/skills/tree/main/github/skills/gh-fix-pr
Command: npx skills add https://github.com/akiojin/skills --skill gh-fix-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates diagnosing and fixing GitHub PR issues, including CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved threads, enabling faster and safer PR merges.

Core Features & Use Cases

  • Automatically detect failing CI checks, merge conflicts, and required base-branch updates for PRs
  • Propose and apply fix plans after explicit user approval
  • Reply to all reviewer comments (addressed or explained) and resolve threads to finalize PRs
  • Notify reviewers with a summary of actions taken and next steps after fixes
  • Use cases: CI-first PRs in busy repos, long-running PRs requiring branch updates, and complex review workflows

Quick Start

Run the PR checks workflow on a PR to automatically detect failures, propose fixes, apply changes after approval, and notify reviewers.

Frequently Asked Questions about gh-fix-pr

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

FAQPage Schema
How do I automatically fix failing CI checks and merge conflicts in a GitHub PR?

You can automate fixing GitHub PR issues by running a workflow that detects CI failures and merge conflicts, proposes a fix plan, and applies changes after you explicitly approve them.

Can I automate replies to reviewer comments and resolve unresolved threads on GitHub pull requests?

Yes, you can automate replying to all reviewer comments, addressing or explaining change requests, and resolving unresolved threads to finalize GitHub pull requests.

Do I need GitHub CLI authentication to automate PR fixes and updates?

Yes, automating PR fixes requires GitHub CLI (gh) authentication and uses the GitHub GraphQL API to diagnose failures, update base branches, and enforce explicit user approval for auto-fixes.

How do I update my PR base branch when it falls behind the main branch?

Automating base-branch updates detects when your PR requires synchronization with the main branch, proposes the update, and applies the fix after explicit approval to enable faster merges.

What is the best way to handle complex PR review workflows in busy repositories?

The best way to handle complex PR review workflows is automating the end-to-end diagnosis of CI failures, conflicts, and reviewer feedback, then notifying reviewers with a summary of actions taken.

Are auto-fixes applied to my GitHub pull requests without my approval?

No, auto-fixes are not applied automatically; the workflow enforces explicit user approval before applying any proposed fixes to CI failures, merge conflicts, or reviewer feedback on your pull requests.