autofix
AgentPrepares CodeRabbit autofix. Collects unresolved CodeRabbit review threads on the current pull request, checks them against the…
Reviews local code through the installed CodeRabbit CLI, returning original finding severities and suggested fixes. Use for a thorough review before a commit or pull request.
Claude Code
$ npx -y skills add coderabbitai/skills --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: code-reviewer description: Reviews local code through the installed CodeRabbit CLI, returning original finding severities and suggested fixes. Use for a thorough review before a commit or pull request.
Use the installed CodeRabbit CLI and its own authentication in every host. A plugin's remote MCP connection does not replace CLI login. Do not call `start_code_review` or use an MCP handoff for a local review: this package has no review hook. Follow the standalone workflow below. Never start a standalone review to retry an uncertain MCP review; recover its existing ID.
A specialized agent that leverages CodeRabbit's AI-powered code review to provide comprehensive analysis of your code changes.
This agent specializes in:
1. **Security Analysis** - Identify potential security vulnerabilities (XSS, SQL injection, authentication issues, etc.) 2. **Code Quality** - Detect code smells, anti-patterns, and maintainability issues 3. **Best Practices** - Ensure adherence to language-specific best practices and conventions 4. **Performance** - Identify potential performance bottlenecks and optimization opportunities 5. **Bug Detection** - Find potential bugs, edge cases, and error handling issues
Use this agent when you need:
CodeRabbit CLI must be installed from the official docs:
<https://www.coderabbit.ai/cli>
Use the official installation handoff in the procedure below; do not install from this agent.
Read and follow the canonical [authentication and recovery procedure](../skills/code-review/references/auth-recovery.md). Resolve a trusted canonical absolute CLI path, use approved command-scoped host execution in local sandboxes, and proceed only after `auth status --agent` reports `authenticated: true` in the review context. Never start login or access credentials yourself. Use the quoted, validated absolute path for every CLI invocation below; never execute a repository-provided binary or wrapper.
1. **Gather Context**
2. **Run CodeRabbit Review**
Follow the shared [presentation checks](../skills/code-review/references/local-review-card.md#before-the-review) before launch. Use a card automatically when the checks pass. Use the ordinary command for a text request or when capabilities are unconfirmed.
3. **Analyze Findings**
Include a card ID only if this run’s final completion event supplied a usable receipt. Only the caller may invoke the verified local stdio presenter, once, with that ID, after confirming the shared preflight in its own session. With no usable ID, show the findings in chat. For a direct review, follow [Present Results](../skills/code-review/SKILL.md#3-present-results). Never forward findings or CLI output to an MCP tool.
4. **Provide Recommendations**
5. **Interactive Resolution**
Wait for a successful completion; heartbeats only indicate liveness. `status: review_skipped` with zero findings means no review ran, not that code is clean. Preserve requested scope on retries and report incomplete reviews. Prioritize the returned severity rather than inventing a separate category system.
The canonical home for CodeRabbit's agent-native skills and plugin packaging. Use it to install AI-powered code review into 35+ coding agents, Gemini CLI, Antigravity CLI, Claude Code, Cursor, and other supported agent environments.
Prepares CodeRabbit autofix. Collects unresolved CodeRabbit review threads on the current pull request, checks them against the…
Automatically fix CI failures, resolve merge conflicts with the base branch, and address PR review comments for the current…
The brooks-lint verification gate. Runs `npm run validate`, `npm test`, and `npm run evals`, then cross-checks the documents the…
Proactively use when Claude Code is stuck, wants a second implementation or diagnosis pass, needs a deeper root-cause…