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

25 Prüfen und Review

Alle Quellen

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