| name | code-review |
| description | Run a structured checklist over changed files — DTO conventions, Java/Spring style, JPA/transaction correctness, test coverage, commit conventions, and security basics. Produces a ✓/⚠/✗ report. |
| allowed-tools | Bash(git *:*), Read, Glob, Grep |
Step 1 — Gather Changed Files
git diff develop...HEAD --name-only 2>/dev/null || git diff HEAD~5...HEAD --name-only
git diff develop...HEAD 2>/dev/null || git diff HEAD~5...HEAD
Read each changed .java file with the Read tool for detailed analysis.
Step 2 — Run Checklist
DTO
Java / Spring Style
JPA / Database
Package Structure
Test
Commit Convention
Security
Step 3 — Report
Output each item in the following format:
- ✓ Pass
- ⚠ Warning (recommendation)
- ✗ Error (needs fix)
Group by category, and finish with a summary:
Total {n} items reviewed
✓ {p} passed / ⚠ {w} warnings / ✗ {e} errors
Errors and warnings:
- ✗ [filename] : [issue description]
- ⚠ [filename] : [recommendation]