Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b86yyhhudsSLnwNUFY
19 lines
651 B
Markdown
19 lines
651 B
Markdown
---
|
|
name: review-diff
|
|
description: Reviews the uncommitted changes for bugs, missing tests and Spring Boot 4 import mistakes. Use before committing.
|
|
disable-model-invocation: true
|
|
allowed-tools: Bash(git diff *) Bash(git status *)
|
|
---
|
|
|
|
## Changes under review
|
|
|
|
!`git diff HEAD`
|
|
|
|
## What to check
|
|
1. Behaviour changes without a matching test.
|
|
2. Boot 3 imports that no longer exist in Boot 4 (see CLAUDE.md).
|
|
3. `double` used for money, field injection, entities returned from controllers.
|
|
4. Edits to files under `db/migration` that already exist.
|
|
|
|
Report findings as a list: file, line, problem, suggested fix. If there are none, say so in one line.
|