Unclear It is not clear which review command uses these files or whether it is switched on for everyone.
What
REVIEW.md is a file a repository can contain to tell automated code review what to check. New code builds a section of the review prompt (the instructions given to the model) from these files:
REVIEW.mdis read from the default branch, the repository's main line of work, using git.REVIEW.mdfiles inside the folders a change touches are now read too, and the prompt tells the model to follow them.- Folder files only add checks on top of the main file.
- The number of folders and the total bytes read are capped.
- Directories such as
vendor,node_modulesand test-like folders are skipped. - When a REVIEW.md could not be followed, the prompt says why. One example message is "Folder REVIEW.md files were not read: git could not list them in this clone".
The findings did not trace what calls this code or what controls when it is used.
Why
Repository maintainers could give different review instructions for different parts of a project. Because the files are read from the default branch, a change under review cannot rewrite its own review rules. The text of the review prompt changes along with this.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
If a `REVIEW.md` is in or below a subdirectory named in this list, Code Review skips it. Each name matches a whole subdirectory name at any depth, ignoring case, so `Tests` matches and `integration-tests` doesn't:code-review-customize see the edit
It is not clear which review command uses these files or whether it is switched on for everyone.
A small documentation edit on Customize Code Review touched a line naming REVIEW.md after this was published.