NachschlagenQuellenregister

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 22.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 22.11.2026
  • The step that writes the final review consults it before settling severity and writing the summary.bestätigt 22.11.2026
  • you 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 22.11.2026
  • Report at most five Nits per review.bestätigt 22.11.2026
  • list paths and finding categories where Claude should skip findingsbestätigt 22.11.2026
  • Keep REVIEW.md to instructions that change review behavior, and leave general project context in CLAUDE.md.bestätigt 22.11.2026
  • Code 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 22.11.2026
  • To change review behavior, merge the REVIEW.md change first.bestätigt 22.11.2026
  • Some of these instructions need the root file on a protected default branch.bestätigt 22.11.2026
  • Code Review can’t confirm the protection settings.bestätigt 22.11.2026
  • Code Review doesn’t apply a REVIEW.md in or below a subdirectory with one of these namesbestätigt 22.11.2026
  • add a line to the root REVIEW.md with only @ and the file name on itbestätigt 22.11.2026
  • Code Review includes the files when it reads REVIEW.md from a protected branchbestätigt 22.11.2026
  • include at most eight different files, and keep REVIEW.md and the files it includes under 150,000 bytes combinedbestätigt 22.11.2026
  • Code Review doesn’t run skills.bestätigt 22.11.2026
  • a review gets the body of SKILL.md and nothing else from the skillbestätigt 22.11.2026
  • Code Review doesn’t accept a skill’s text as the reason for either.bestätigt 22.11.2026
  • Where a rule depends on one of those characters, state it in words too.bestätigt 22.11.2026
  • Put checks for those subdirectories in the root REVIEW.md, or in a parent subdirectory’s REVIEW.md when neither that parent nor anything above it is on the list.bestätigt 22.11.2026
  • The remaining subdirectory REVIEW.md files on the paths a pull request changes share a limit of 150,000 bytes, not counting the root file.bestätigt 22.11.2026

25 Prüfen und Review

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.