Buckets:
Review Output Template
Use this as the structure for PR review summary comments. Copy and fill in the sections.
For PR Summary Comment
## Code Review Summary
**Verdict: [Approved โ
| Changes Requested ๐ด | Reviewed ๐ฌ]** ([N] issues, [N] suggestions)
**PR:** #[number] โ [title]
**Author:** @[username]
**Files changed:** [N] (+[additions] -[deletions])
### ๐ด Critical
<!-- Issues that MUST be fixed before merge -->
- **file.py:line** โ [description]. Suggestion: [fix].
### โ ๏ธ Warnings
<!-- Issues that SHOULD be fixed, but not strictly blocking -->
- **file.py:line** โ [description].
### ๐ก Suggestions
<!-- Non-blocking improvements, style preferences, future considerations -->
- **file.py:line** โ [description].
### โ
Looks Good
<!-- Call out things done well โ positive reinforcement -->
- [aspect that was done well]
---
*Reviewed by Hermes Agent*
Severity Guide
| Level | Icon | When to use | Blocks merge? |
|---|---|---|---|
| Critical | ๐ด | Security vulnerabilities, data loss risk, crashes, broken core functionality | Yes |
| Warning | โ ๏ธ | Bugs in non-critical paths, missing error handling, missing tests for new code | Usually yes |
| Suggestion | ๐ก | Style improvements, refactoring ideas, performance hints, documentation gaps | No |
| Looks Good | โ | Clean patterns, good test coverage, clear naming, smart design decisions | N/A |
Verdict Decision
- Approved โ โ Zero critical/warning items. Only suggestions or all clear.
- Changes Requested ๐ด โ Any critical or warning item exists.
- Reviewed ๐ฌ โ Observations only (draft PRs, uncertain findings, informational).
For Inline Comments
Prefix inline comments with the severity icon so they're scannable:
๐ด **Critical:** User input passed directly to SQL query โ use parameterized queries to prevent injection.
โ ๏ธ **Warning:** This error is silently swallowed. At minimum, log it.
๐ก **Suggestion:** This could be simplified with a dict comprehension:
`{k: v for k, v in items if v is not None}`
โ
**Nice:** Good use of context manager here โ ensures cleanup on exceptions.
For Local (Pre-Push) Review
When reviewing locally before push, use the same structure but present it as a message to the user instead of a PR comment. Skip the PR metadata header and just start with the severity sections.
Xet Storage Details
- Size:
- 2.47 kB
- Xet hash:
- d85ece3b7709af31842236836bae34abc6ab659f1d9d7afe30a7c6ec3c3cb37e
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.