Skip to content

Commit e091c55

Browse files
docs: add rule for responding to automated reviewers
Add section to development-workflow.md explaining how to respond to automated reviewers like CodeRabbit, including mentioning them with @coderabbitai and referencing commit hashes.
1 parent e45cabe commit e091c55

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.claude/rules/development-workflow.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,19 @@ When reviewers (human or automated) mark feedback as "nitpick" or "optional":
286286

287287
**When deferring:** Note the suggestion in a comment or issue for future consideration.
288288

289+
#### Responding to Automated Reviewers
290+
291+
When addressing feedback from automated reviewers (e.g., CodeRabbit):
292+
293+
1. **Mention the reviewer** - Start replies with `@coderabbitai` to ensure proper notification
294+
2. **Explain the resolution** - Briefly describe how the issue was addressed or why it doesn't apply
295+
3. **Reference commits** - Include the commit hash where the fix was made (e.g., "Addressed in commit abc1234")
296+
297+
**Example reply:**
298+
```text
299+
@coderabbitai Addressed in commit e45cabea. Aligned with the @NonNull contract from AbstractDeserializer by removing the null-handling code.
300+
```
301+
289302
### Phase 5: Verification & PR
290303
- `superpowers:verification-before-completion` - Confirm all tests pass
291304
- Verify all code review issues are resolved

0 commit comments

Comments
 (0)