Add claude-code-spring module: CLAUDE.md, a path-scoped rule, two skills, four hooks run against real hook JSON, project .mcp.json from the claude mcp CLI, and tests that lint the setup on Spring Boot 4.2.0

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b86yyhhudsSLnwNUFY
This commit is contained in:
Ankur Mhatre
2026-11-22 02:05:35 +05:30
co-authored by Claude Sonnet 5.5
parent a620d91d0a
commit 3aa20a1dce
40 changed files with 1175 additions and 0 deletions
@@ -0,0 +1,18 @@
---
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.