You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/commands/code-review.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@ To do this, follow these steps precisely:
15
15
- The pull request is closed
16
16
- The pull request is a draft
17
17
- The pull request does not need code review (e.g. automated PR, trivial change that is obviously correct)
18
-
- Claude has already commented on this PR (check `gh pr view <PR> --comments` for comments left by claude)
19
18
20
19
If any condition is true, stop and do not proceed.
21
20
@@ -73,9 +72,12 @@ Note: Still review Claude generated PR's.
73
72
- For small, self-contained fixes, include a committable suggestion block
74
73
- For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), describe the issue and suggested fix without a suggestion block
75
74
- 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.
75
+
- If there's already a previous inline comment for the issue, update it instead of creating a new inline comment.
76
76
77
77
**IMPORTANT: Only post ONE comment per unique issue. Do not post duplicate comments.**
78
78
79
+
10. Check for previous comments from Claude about issues that are not present anymore and resolve the conversation.
80
+
79
81
Use this list when evaluating issues in Steps 4 and 5 (these are false positives, do NOT flag):
80
82
81
83
- Pre-existing issues
@@ -106,4 +108,4 @@ No issues found. Checked for bugs and CLAUDE.md compliance.
106
108
- Repo name must match the repo you're code reviewing
107
109
-# sign after the file name
108
110
- 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`)
111
+
- 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