Skip to content

Commit ba85901

Browse files
committed
Add AI clause to Claude code review command
1 parent e41c3af commit ba85901

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.claude/commands/code-review.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Note: Still review Claude generated PR's.
7373
- For small, self-contained fixes, include a committable suggestion block
7474
- For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), describe the issue and suggested fix without a suggestion block
7575
- Never post a committable suggestion UNLESS committing the suggestion fixes the issue entirely. If follow up steps are required, do not leave a committable suggestion.
76+
- Suffix every comment body with: "Generated by AI (Anthropic Claude, [model name of the agent posting the comment])"
7677

7778
**IMPORTANT: Only post ONE comment per unique issue. Do not post duplicate comments.**
7879

@@ -94,9 +95,9 @@ Notes:
9495

9596
---
9697

97-
## Code review
98+
No issues found through automated code review.
9899

99-
No issues found. Checked for bugs and CLAUDE.md compliance.
100+
Generated by AI (Anthropic Claude, [model name])
100101

101102
---
102103

@@ -106,4 +107,4 @@ No issues found. Checked for bugs and CLAUDE.md compliance.
106107
- Repo name must match the repo you're code reviewing
107108
- # sign after the file name
108109
- Line range format is L[start]-L[end]
109-
- Provide at least 1 line of context before and after, centered on the line you are commenting about (eg. if you are commenting about lines 5-6, you should link to `L4-7`)
110+
- Provide at least 1 line of context before and after, centered on the line you are commenting about (eg. if you are commenting about lines 5-6, you should link to `L4-7`)

0 commit comments

Comments
 (0)