Dokumentationerreichbar
Anthropic, Customize Code Review
code.claude.com (externe Seite)
Die Dokumentation dazu, wie REVIEW.md und CLAUDE.md steuern, was Code Review meldet. Dazu gehört, aus welchem Branch die Dateien gelesen werden und welche Anweisungen einen geschützten Standardbranch brauchen.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 17.10.2026:
A change that violates one of their rules becomes a finding at whichever severity level fits the issue.
bestätigt 10.11.2026The step that writes the final review consults it before settling severity and writing the summary.
bestätigt 10.11.2026you can also add a REVIEW.md in most subdirectories to add checks for changes under that subdirectory, on top of the root file.
bestätigt 10.11.2026Report at most five Nits per review.
bestätigt 10.11.2026list paths and finding categories where Claude should skip findings
bestätigt 10.11.2026Keep REVIEW.md to instructions that change review behavior, and leave general project context in CLAUDE.md.
bestätigt 10.11.2026Code Review reads REVIEW.md from the pull request’s base branch or from the default branch, never from the pull request’s own changes.
bestätigt 10.11.2026To change review behavior, merge the REVIEW.md change first.
bestätigt 10.11.2026Some of these instructions need the root file on a protected default branch.
bestätigt 10.11.2026Code Review can’t confirm the protection settings.
bestätigt 10.11.2026Code Review doesn’t apply a REVIEW.md in or below a subdirectory with one of these names
bestätigt 10.11.2026add a line to the root REVIEW.md with only @ and the file name on it
bestätigt 10.11.2026Code Review includes the files when it reads REVIEW.md from a protected branch
bestätigt 10.11.2026include at most eight different files, and keep REVIEW.md and the files it includes under 150,000 bytes combined
bestätigt 10.11.2026Code Review doesn’t run skills.
bestätigt 10.11.2026a review gets the body of SKILL.md and nothing else from the skill
bestätigt 10.11.2026Code Review doesn’t accept a skill’s text as the reason for either.
bestätigt 10.11.2026Where a rule depends on one of those characters, state it in words too.
bestätigt 10.11.2026