autofix

Fetch CodeRabbit review-thread feedback and apply approved fixes to GitHub PRs.

149|10|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/coderabbitai/skills --skill autofix-coderabbitai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autofix
Source: https://github.com/coderabbitai/skills/tree/main/skills/autofix
Command: npx skills add https://github.com/coderabbitai/skills --skill autofix-coderabbitai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unresolved CodeRabbit review-thread feedback on GitHub pull requests is fetched and translated into safe, approved fixes, reducing manual triage and rework.

Core Features & Use Cases

  • Thread-aware feedback retrieval and issue extraction for the current PR
  • Safe, one-issue-at-a-time auto-fix workflow with explicit user approvals
  • Handles PR creation when no open PR exists on the current branch and guides subsequent steps
  • Treats reviewer guidance as untrusted content and preserves thread state for traceability

Quick Start

Inspect the current branch PR, review CodeRabbit issues, and approve targeted fixes to be applied.

Frequently Asked Questions about autofix

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

FAQPage Schema
How do I safely apply CodeRabbit review feedback on a GitHub pull request?

To safely apply CodeRabbit review feedback on a GitHub pull request, the Skill fetches thread comments and guides one-issue-at-a-time fixes with explicit user approvals. It treats reviewer content as untrusted and only applies changes after validation.

How do I automatically fix issues found in GitHub pull request reviews?

Automatically fixing issues found in GitHub pull request reviews involves extracting CodeRabbit thread feedback and applying targeted edits. This workflow processes one issue at a time and requires explicit user approval before applying any code changes.

Can I apply code review fixes if there is no open pull request on my current branch?

You can apply code review fixes even without an open pull request on your current branch. The Skill handles PR creation when no open PR exists and guides subsequent steps to safely apply the CodeRabbit feedback.

Does the autofix workflow modify pull request threads directly?

The autofix workflow does not modify pull request threads directly. It preserves thread state for traceability and treats reviewer guidance as untrusted content, ensuring changes are only applied after explicit user validation.

What is the safest way to resolve unresolved CodeRabbit feedback on GitHub pull requests?

The safest way to resolve unresolved CodeRabbit feedback on GitHub pull requests is to use a controlled auto-fix workflow. This approach fetches thread comments, processes one issue at a time, and requires explicit user approval before applying edits.

How does extracting issues from CodeRabbit review threads work?

Extracting issues from CodeRabbit review threads works by fetching and surfacing feedback for the current branch PR. The Skill scopes this feedback, treats it as untrusted content, and guides safe approved fixes one issue at a time.