# Automatic PR code review

> Get a thorough AI review on every pull request.

- Category: Code review · Difficulty: Beginner
- Estimated monthly cost: $0–$30/mo. CodeRabbit Essentials is $30 per developer per month ($24 yearly); only developers who open PRs are billed.
- Model: Managed by CodeRabbit
- MCP servers: none
- Last checked: 2026-10-21 · Hands-on tested: no (built from official docs)
- Canonical: https://getagentloadout.com/loadouts/pr-code-review/ · JSON: https://getagentloadout.com/data/loadouts/pr-code-review.json

## Tools
- [CodeRabbit](https://www.coderabbit.ai): AI pull-request reviewer for GitHub, GitLab and more. Pricing: Free (public repos) $0/mo (Free reviews forever on public repositories); Essentials $30/mo (Per developer; $24/dev/mo yearly. Only PR authors are billed); Team $60/mo (Per developer; $48/dev/mo yearly. Adds Triage, unit-test generation, custom pre-merge checks); Advanced ($72/dev/mo billed yearly; adds continuous security monitoring). Source: https://www.coderabbit.ai/pricing

## Starter prompt

```
@coderabbitai review this PR with a focus on security and error handling. Summarize the riskiest change first.
```

## Config (.coderabbit.yaml)

```yaml
# unverified: check key names against CodeRabbit docs
reviews:
  profile: assertive
  path_instructions:
    - path: "src/**"
      instructions: "Flag missing auth checks, unvalidated input and secrets in code."
```

## Setup steps
1. Install the CodeRabbit app on your repo.
2. Add a config file with path-specific instructions.
3. Open a PR and reply to review comments to refine.

## Why this works
Reviews arrive automatically on every PR, so nothing ships unreviewed even when you work alone.

## Watch out
AI reviewers miss business-logic bugs. Keep tests and a human read for risky changes.

## Unverified
- Config file keys not re-checked against CodeRabbit docs.

## Related loadouts
- [Review PRs from your terminal](https://getagentloadout.com/loadouts/terminal-pr-review/)

Some links may be affiliate links; it never affects rankings. Rankings are never for sale.
