Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure CodeRabbit review behavior per branch and environment using path instructions and base branches. Use when setting different review profiles per branch, configuring stricter reviews for release branches, or customizing CodeRabbit behavior across dev/staging/prod workflows. Trigger with phrases like "coderabbit environments", "coderabbit staging", "coderabbit per-branch config", "coderabbit release review", "coderabbit environment setup".
.claude/skills/jeremylongshore-coderabbit-multi-env-setup/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 58% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 169% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 149% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 115% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 55% | 0% |
Model environments as policy inputs, not separate deployments. Feature-branch YAML supplies config; auto-review controls target eligibility.
references/official-docs.md and re-check any time-sensitive contract before execution.base_branches adds target branches with regex patterns.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Require owner approval before auto-review scope, global override, or release enforcement changes. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A branch matrix, precedence map, patch, synthetic evidence, and rollback commit. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response | |---|---| | Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. | | Required access or approval is missing | Produce a draft and evidence plan only. | | Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. | | Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Add release/.* and test a release-target PR.
Correct base-branch configuration guidance.
references/official-docs.md.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 14,275 | 8,917 | -38% | 1 | 1 | 0% | 2,681 | 3,982 | +49% | 0 | 0 | — |
case-02 | fail→fail | 13,381 | 9,004 | -33% | 1 | 1 | 0% | 2,650 | 4,111 | +55% | 0 | 0 | — |
case-03 | fail→fail | 11,657 | 7,733 | -34% | 1 | 1 | 0% | 2,481 | 3,768 | +52% | 0 | 0 | — |
case-04 | fail→pass | 9,376 | 4,346 | -54% | 1 | 1 | 0% | 1,867 | 2,952 | +58% | 0 | 0 | — |
case-05 | pass→pass | 6,306 | 3,924 | -38% | 1 | 1 | 0% | 1,357 | 2,893 | +113% | 0 | 0 | — |
case-06 | pass→pass | 5,359 | 3,327 | -38% | 1 | 1 | 0% | 1,092 | 2,758 | +153% | 0 | 0 | — |
case-07 | fail→pass | 19,761 | 8,630 | -56% | 1 | 1 | 0% | 1,381 | 3,711 | +169% | 0 | 0 | — |
case-08 | fail→pass | 6,990 | 4,773 | -32% | 1 | 1 | 0% | 1,191 | 2,961 | +149% | 0 | 0 | — |
case-09 | fail→pass | 8,827 | 6,597 | -25% | 1 | 1 | 0% | 1,493 | 3,206 | +115% | 0 | 0 | — |
case-10 | pass→pass | 6,383 | 2,770 | -57% | 1 | 1 | 0% | 1,104 | 2,582 | +134% | 0 | 0 | — |
case-11 | fail→fail | 9,505 | 6,278 | -34% | 1 | 1 | 0% | 1,761 | 3,287 | +87% | 0 | 0 | — |
case-12 | pass→pass | 8,385 | 4,970 | -41% | 1 | 1 | 0% | 1,605 | 2,995 | +87% | 0 | 0 | — |
case-13 | fail→pass | 9,115 | 2,172 | -76% | 1 | 1 | 0% | 1,636 | 2,537 | +55% | 0 | 0 | — |
case-14 | fail→pass | 10,305 | 4,531 | -56% | 1 | 1 | 0% | 2,196 | 2,968 | +35% | 0 | 0 | — |
case-15 | pass→pass | 12,683 | 4,709 | -63% | 1 | 1 | 0% | 2,239 | 3,141 | +40% | 0 | 0 | — |
case-16 | pass→pass | 3,422 | 2,064 | -40% | 1 | 1 | 0% | 602 | 2,495 | +314% | 0 | 0 | — |
case-17 | pass→pass | 8,486 | 7,980 | -6% | 1 | 1 | 0% | 1,460 | 3,380 | +132% | 0 | 0 | — |
case-18 | fail→pass | 8,329 | 6,044 | -27% | 1 | 1 | 0% | 1,517 | 3,156 | +108% | 0 | 0 | — |
case-19 | fail→pass | 9,508 | 5,360 | -44% | 1 | 1 | 0% | 1,576 | 3,129 | +99% | 0 | 0 | — |
case-20 | pass→pass | 13,887 | 12,300 | -11% | 1 | 1 | 0% | 2,782 | 4,559 | +64% | 0 | 0 | — |
case-21 | pass→pass | 4,774 | 3,525 | -26% | 1 | 1 | 0% | 867 | 2,956 | +241% | 0 | 0 | — |
case-22 | pass→pass | 3,866 | 4,377 | +13% | 1 | 1 | 0% | 684 | 2,893 | +323% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +36 percentage points is the difference between those two pass rates over the 21 comparable cases.
The publisher has shipped newer versions since this run, so these numbers describe v1, not the version currently listed.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.