In short.
Customize Code Review is a guide for repository maintainers configuring Claude Code’s pull request reviews, with important controls dependent on branch protection and which branch supplies the instructions. It explains how to adjust severity, limit minor comments, exclude findings and add team-specific checks. Its most useful detail is the distinction between instructions that exist in a repository and instructions a review actually reads. It also documents file inclusion limits and restrictions on using skill files. Pricing, licensing and measured review accuracy are unknown from this page, and none of the behavior was tested.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected page at [https://code.claude.com/docs/en/code-review-customize.md], including the local-command distinction, branch-protection rules, directory exclusions, ordinary includes, skill includes and documented limits. Linked pages and the documentation index are excluded. No service, command, configuration or example was executed. Accuracy, instruction compliance and performance remain unassessed; costs and licensing remain unknown.
The overview
identity
This Claude Code documentation page explains how to customize the Code Review service through committed repository instructions. Its original address is [https://code.claude.com/docs/en/code-review-customize.md]. It is a configuration guide, rather than a standalone reviewer or an installable skill.
Its two main files serve different purposes: CLAUDE.md supplies project instructions used across Claude Code tasks, while REVIEW.md supplies instructions specifically for pull request review.
assessment
The guide is useful when reviews produce too many minor comments, assign inappropriate severity, comment on generated files or overlook team rules. It provides concrete ways to express those preferences and explains several reasons an instruction might not apply.
Its central caveat is operational: adding REVIEW.md to a pull request does not make that version govern the review. Instructions must first be merged into the branch the service reads. The page documents intended behavior but supplies no measurements of detection accuracy, false positives or compliance with custom instructions.
users
The strongest fit is repository maintainers and development teams already using the Code Review service. Beginners get a root-file example; experienced developers get details about branch selection, scoped instructions, includes and limits.
Teams using only the local /code-review command need to recognize the distinction: that command reads CLAUDE.md files but not REVIEW.md. The page does not establish account eligibility or provide the full service onboarding procedure.
capabilities
REVIEW.md can request repository-specific severity definitions, cap Nit comments, exclude paths or finding categories, and add checks such as integration tests for new API routes. A Nit is the minor-comment category used in the examples. Instructions can also demand stronger evidence, such as a source file and line reference for a claim about behavior.
Eligible subdirectory files add guidance for changes beneath their paths. The root file can include separate rule files and certain repository skill files. These instructions affect what reviews find and report; they do not change the review format, review thoroughness or when reviews run.
Using it
requirements
Using the guidance requires access to the Code Review service and the ability to commit and merge repository instruction files. Branch protection determines which REVIEW.md features apply. An Owner changes review thoroughness and the Review runs setting separately.
For the default branch, either a classic branch protection rule or a qualifying ruleset counts as protection. For another branch, only a qualifying ruleset counts. A ruleset qualifies if it restricts updates or requires pull requests with at least one approval. In the approval case, it must also dismiss approval after a new push or require approval after the last push.
mechanism
Code Review reads the root CLAUDE.md and CLAUDE.md files in the parent directories of changed files. REVIEW.md reaches both the agents finding issues and those verifying them; the final review-writing step also consults it when settling severity and the summary.
If the default branch is protected and the pull request targets it or a branch without a protecting ruleset, the review reads REVIEW.md from the default branch. If the pull request targets another branch protected by a qualifying ruleset, it reads that base branch instead. The base branch is the branch the pull request would merge into. These configurations support the root file, includes and eligible subdirectory files.
With an unprotected default branch and a base branch having no protection of either kind, only the default branch’s root REVIEW.md is read. If protection cannot be confirmed, no REVIEW.md is read; the page includes an unprotected default branch paired with a base branch having only a classic protection rule in this case. Lowering severity, excluding findings and capping Nits are explicitly tied to instructions read from a protected default branch.
setup
Create REVIEW.md at the repository root, put review-specific guidance there, and merge it before expecting it to affect reviews. Keep general project context in CLAUDE.md. Protect the default branch and check which branch supplies instructions before relying on exclusions, Nit caps or subdirectory files.
To split root guidance, place a line such as @review-security.md by itself in the root REVIEW.md and save that file beside it. Ordinary includes must use exact, case-sensitive filenames without spaces. They expand only when REVIEW.md is read from a protected branch, and both files come from the same commit. Ordinary includes are one level deep; includes inside included files or subdirectory REVIEW.md files remain plain text.
example
The page’s backend-service example reserves Important findings for behavior failures, data leaks and rollback problems. It treats style and naming suggestions as minor, caps Nits at five, excludes checks already enforced by continuous integration, and skips generated files under src/gen/ and lockfiles.
The same example asks reviewers to check that new API routes have integration tests, logs omit personal data and request bodies, and database queries are scoped to the caller’s tenant. This illustrates specific instructions a team could adapt. Applying its exclusions and Nit cap requires the protected-default-branch configuration described in the guide; the example was not executed.
Assessment & evidence
limitations
Subdirectory REVIEW.md files are ignored in or beneath directories whose whole names match reserved names, regardless of letter case or depth. These names are test, tests, __tests__, testdata, fixtures, __fixtures__, golden, corpus, snapshots, __snapshots__, example, examples, sample, samples, demo, demos, generated, vendor, third_party, third-party, thirdparty, node_modules, bower_components, external, extern, deps, godeps, pods, carthage, site-packages and contrib. A name such as integration-tests does not match. Put guidance for these paths in the root file or an eligible ancestor.
Eligible subdirectory files share a separate 150,000-byte limit, excluding the root file. Root REVIEW.md and its included files have a combined 150,000-byte limit and may include at most eight different files. A file that reaches the byte limit is skipped whole. More than 64 counted Markdown links causes the entire root REVIEW.md to be skipped; HTTP, HTTPS, mailto and anchor links, plus links inside included skills, do not count.
A skill include must use .claude/skills/<folder>/SKILL.md, with no spaces and the folder directly beneath skills. The file must be regular text, with no symbolic link in its path, and no larger than 30,000 bytes including frontmatter. At most eight skill include lines are allowed, with repeated lines counting again. A skill include line must sit outside code fences, and every HTML comment and every pre, script, style or textarea block above it must be closed.
An included skill contributes only its body. Code Review does not run its commands, substitute arguments or load supporting files. Some punctuation is rewritten, so syntax-sensitive rules also need prose explanations. Exclusions and Nit caps must be in REVIEW.md or an ordinary root-level included file; skill text is not accepted as their justification. The page does not establish how conflicting instructions are resolved.
reasoning
The distinction between CLAUDE.md and REVIEW.md gives teams a practical placement rule: shared project expectations belong in CLAUDE.md, while review-specific priorities belong in REVIEW.md. This follows the documented difference in which tasks and tools read each file.
The branch rules make merged instructions decisive: a pull request cannot supply its own governing REVIEW.md changes. Requiring source references for behavior claims is a concrete way to request better-supported comments, but the page provides no measured evidence of the resulting improvement. Treat these files as review guidance whose effectiveness still needs observation.
alternatives
The page presents CLAUDE.md as the alternative for guidance needed across Claude Code tasks, including local reviews. REVIEW.md is the dedicated option for service-specific pull request instructions. Ordinary root-level includes are an alternative to including a skill when that skill depends on commands, arguments or supporting files.
For linting, formatting and type errors already covered by continuous integration, the example recommends excluding duplicate findings. The page does not compare competing AI review services or establish their relative capabilities or costs.
evidence
The evidence is the complete selected documentation page at [https://code.claude.com/docs/en/code-review-customize.md]. It contains configuration explanations, a backend example, inclusion restrictions and a branch-selection table.
These are documented behavior claims, not observed results. Nothing was executed. Linked setup, troubleshooting, severity, memory, skill and local-command pages were outside the selected scope, so their contents do not establish additional facts here.
Access & freshness
costs
The page gives no subscription price, per-review charge, billing model or account entitlement requirements. Service costs are unknown. It also provides no measured effect of custom instructions on review cost or duration.
rights
The supplied page does not state a license or redistribution terms for the documentation or its examples. Redistribution permission is therefore unknown. Service terms and rights concerning submitted repository content are also not established by this page.
freshness
The supplied page was captured on 15 November 2026 at 00:45:02.066 UTC. It provides no publication date, last-updated date or associated product version. The capture identifies the documented snapshot; whether the service or page changed afterward is unknown.
actions
Start with a small root REVIEW.md addressing a specific review problem. Confirm which branch supplies it, merge it there, and ensure the protection configuration supports the requested controls. Put guidance that both the Code Review service and the local /code-review command should apply in CLAUDE.md, since both read it, and keep REVIEW.md for rules specific to pull request review.
Before expanding instructions, check directory eligibility, include filenames, byte limits and link counts. For included skills, repeat in the body any frontmatter guidance a review needs, such as the conditions in the description for when the skill applies, and replace dependencies on commands or supporting files with explicit text. Editing a skill’s ! commands, $ARGUMENTS or links also changes how the skill works in Claude Code. If the team relies on those, copy the guidance into a file beside REVIEW.md and include that file instead of the skill. Inspect the review check output for skipped instructions, while remembering that unmatched ordinary include filenames may remain plain text without a skipped-include warning.
