Google's official skill for driving the gcloud CLI safely from an agent: validate every command against its own help text, cap the output, and refuse the operations that should never run unattended.
CodeRabbit AutofixSkill
Summary
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.
Features
- 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
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Show me the unresolved CodeRabbit comments on this PR and fix them one by one, asking me before each change.
Description
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.
Related Skills
Convex's official top-level agent skill — routes an agent to the right convex-* skill for the task and to a served capability catalogue that stays current without a reinstall.
Official Shopify skill for theme development in Liquid — teaches an agent the modern theme architecture of sections, blocks and snippets, and validates generated templates and schemas.
Shopify's official skill for writing Admin GraphQL queries and mutations — it searches the live API docs and validates every operation against the schema before handing you code.