fix-pr

Resolve CI failures and review comments on GitHub pull requests.

30|1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Codagent-AI/agent-skills --skill fix-pr-codagent-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-pr
Source: https://github.com/Codagent-AI/agent-skills/tree/main/skills/fix-pr
Command: npx skills add https://github.com/Codagent-AI/agent-skills --skill fix-pr-codagent-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually resolving CI failures and review comments on pull requests is tedious, requires frequent context switching between logs, code, and review threads, and can delay merges if issues are missed or addressed inconsistently.

Core Features & Use Cases

  • Automated Context Gathering: Fetches all failed CI check logs and unresolved review comments for the current PR in one pass.
  • Dedicated Fixer Subagent: Dispatches an autonomous subagent to implement minimal, focused fixes for all identified issues, following existing code patterns.
  • Quality Gate Enforcement: Runs automated validation before pushing fixes, and automatically resolves fixed review threads to keep PRs moving.
  • Use Case: If your PR has 3 failing CI checks and 2 unresolved review comments, this skill will collect all context, fix the issues, validate the changes, and push the updated PR without manual intervention.

Quick Start

Use the fix-pr skill to automatically resolve all CI failures and review comments on your current pull request.

Frequently Asked Questions about fix-pr

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

FAQPage Schema
How do I automatically fix CI failures and resolve review comments on a GitHub pull request?

To automatically fix CI failures and review comments on a GitHub pull request, you can use a PR automation skill that gathers failed check logs and unresolved threads via GitHub CLI, then dispatches a subagent to implement and validate minimal focused fixes.

Can I automate GitHub code review workflow resolutions without manual intervention?

Yes, you can automate GitHub code review workflow resolutions by fetching unresolved review threads and applying minimal, focused fixes through an autonomous subagent, which then runs automated validation and pushes updates to keep PRs moving.

Does PR automation for CI failures require the GitHub CLI to fetch check logs?

Yes, PR automation for CI failures requires the GitHub CLI (gh) to fetch PR metadata, failed GitHub Actions check logs, and unresolved review threads needed to implement and validate minimal code fixes.

What is the best way to handle multiple failing GitHub Actions checks and unresolved PR comments at once?

The best way to handle multiple failing GitHub Actions checks and unresolved PR comments is to gather all context in one pass and dispatch an autonomous fixer subagent to implement minimal fixes followed by automated validation and push operations.

How does an autonomous subagent ensure minimal focused fixes for unresolved review threads?

An autonomous subagent ensures minimal focused fixes for unresolved review threads by collecting all failed CI check logs and review context in a single pass, implementing changes that follow existing code patterns, and running quality gate validation before pushing.

When should I avoid using automated PR fixes for GitHub Actions continuous integration?

You should avoid using automated PR fixes for GitHub Actions continuous integration if your repository does not use GitHub Actions for CI or GitHub code review workflows to enforce pre-merge quality standards, as the automation relies on these specific platforms.