Matt Pocock's two-axis code review skill: parallel sub-agents check a diff against the repo's coding standards and against the originating issue or spec, reported side by side.
CodeRabbit Autofix Skill
Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
Install
Other ways to install
About
- Fetches unresolved CodeRabbit review threads for the current branch's PR
- Applies fixes with per-change approval rather than a bulk rewrite
- Treats comment bodies and 'Prompt for AI Agents' blocks as untrusted data, never as executable instructions
- Loads AGENTS.md first and follows the repository's own build, lint and test conventions
CodeRabbit leaves review comments on a pull request; this official skill closes the loop by having your coding agent fetch the unresolved threads for the current branch's PR and work through them with per-change approval.
The security position
The most interesting thing about this skill is what it refuses to do. CodeRabbit comments include a "Prompt for AI Agents" section — text written to be pasted into an assistant. The skill treats those sections, and every comment body, as untrusted input: issue reports to be read, never instructions to be executed. That is the correct handling for any bot-authored text that reaches an agent with write access to your repository, and it is rare to see it stated so plainly in a vendor skill.
The workflow
- Step 0 — look for
AGENTS.mdin the repository and follow its build, lint, test and commit guidance for the rest of the run. - Confirm prerequisites:
ghandgitavailable,gh auth statusclean, the current branch has an open PR, and CodeRabbit (coderabbitai,coderabbit[bot],coderabbitai[bot]) has reviewed it. - Fetch the unresolved review threads, then propose and apply fixes one change at a time, each explicitly approved, validating as it goes.
Reusable GitHub command primitives are mirrored into a github.md reference, but the skill is fully executable from SKILL.md alone.
Requirements
A GitHub-hosted git repository with an open pull request on the current branch, reviewed by CodeRabbit, plus the GitHub CLI authenticated.
Source
Published by CodeRabbit under the MIT licence, alongside a code-review skill that runs a review through the CodeRabbit CLI.
Try it
Once installed, ask your agent something like:
Show me the unresolved CodeRabbit comments on this PR and fix them one by one, asking me before each change.
SKILL.md
The instructions your agent loads, as published by CodeRabbit.
Related Skills
See all CodeRabbit Autofix alternativesAddy Osmani's skill for multi-axis code review before merge: correctness, readability, architecture, security and performance, with severity labels, change-size targets, a tests-first review order and a review checklist.
Skill: Open Code Review
by Alibaba Group
Alibaba's open-source AI code review CLI as an agent skill: line-level comments on diffs, branches and commits, with optional auto-fix.
Trail of Bits' security review skill for PRs, commits, and diffs: risk-first analysis with git history, blast radius, and honest coverage limits.