pr-fixup

Automates GitHub pull request fixup by polling CI checks and addressing review comments.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/AvatarGanymede/pcraft --skill pr-fixup-avatarganymede
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-fixup
Source: https://github.com/AvatarGanymede/pcraft/tree/main/.agents/skills/pr-fixup
Command: npx skills add https://github.com/AvatarGanymede/pcraft --skill pr-fixup-avatarganymede

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of waiting for CI checks and automated reviews on a pull request, fixing failures, addressing comments, and then pushing the changes.

Core Features & Use Cases

  • CI Checks and Reviews: Waits for CI checks and automated reviews (CodeRabbit, Greptile, Claude, OpenCode, cubic) on a PR.
  • Fix Failures: Identifies and fixes failing CI checks and review comments.
  • Address Comments: Triage and respond to review comments, resolving threads as needed.
  • Push Changes: Automates the process of pushing fixed changes to the PR.
  • Use Case: Ideal for developers who want to streamline the PR review process, reducing manual effort and potential errors.

Quick Start

Run the pr-fixup skill to automate the fixup process for your current PR.

Frequently Asked Questions about pr-fixup

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

FAQPage Schema
How do I automate fixing CI failures and review comments on a GitHub pull request?

Automating PR fixup involves polling CI checks and automated reviews, addressing failures and comments, and pushing fixes directly to your GitHub pull request using GitHub CLI and helper scripts.

Do I need the GitHub CLI installed to automate pull request fixup tasks?

Yes, you need the GitHub CLI (`gh`) installed to automate pull request fixup tasks, as it provides the necessary interface to poll CI checks, resolve review threads, and push changes to GitHub.

Can I automate resolving review threads from CodeRabbit and Greptile on my pull request?

Yes, you can automate resolving review threads from tools like CodeRabbit, Greptile, and Claude by triaging comments, responding to feedback, and marking threads as resolved through helper scripts.

What is the best way to wait for CI checks to finish before pushing fixes to a pull request?

The best way to wait for CI checks is using an automated PR fixup process that continuously polls the check status, identifies failures, applies fixes, and pushes the corrected changes to the pull request.

Why does my automated PR fixup process fail to resolve certain review comments?

Automated PR fixup may fail to resolve review comments if the helper scripts cannot parse the comment format, if the thread is already resolved, or if GitHub CLI authentication lacks permission to modify the pull request.

Does pr-fixup work with automated code review tools like cubic and OpenCode?

Yes, pr-fixup works with automated code review tools like cubic and OpenCode by polling their automated reviews, addressing the comments they generate, and pushing the necessary code fixes to the pull request.