Back to Hermes Agent

Review Output Template

skills/github/github-code-review/references/review-output-template.md

2026.6.52.4 KB
Original Source

Review Output Template

Use this as the structure for PR review summary comments. Copy and fill in the sections.

For PR Summary Comment

markdown
## 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

LevelIconWhen to useBlocks merge?
CriticalšŸ”“Security vulnerabilities, data loss risk, crashes, broken core functionalityYes
Warningāš ļøBugs in non-critical paths, missing error handling, missing tests for new codeUsually yes
SuggestionšŸ’”Style improvements, refactoring ideas, performance hints, documentation gapsNo
Looks Goodāœ…Clean patterns, good test coverage, clear naming, smart design decisionsN/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.