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,13 @@
CLAUDE.md lines: 33 (guidance: under 200)
CLAUDE.md import @README.md exists: true
settings.json hook events: [PreToolUse, PostToolUse, Stop]
PreToolUse matcher=Bash ./.claude/hooks/guard-bash.sh executable=true timeout=10
PreToolUse matcher=Edit|Write|MultiEdit ./.claude/hooks/protect-files.sh executable=true timeout=10
PostToolUse matcher=Edit|Write|MultiEdit ./.claude/hooks/test-after-edit.sh executable=true timeout=180
Stop matcher=(none, matches everything) ./.claude/hooks/stop-gate.sh executable=true timeout=300
permissions.deny: [Read(./.env), Read(./.env.*), Read(./src/main/resources/application-prod.properties)]
skill new-endpoint: keys=[name, description, argument-hint, allowed-tools]
skill review-diff: keys=[name, description, disable-model-invocation, allowed-tools]
mcp server gitea: type=stdio command=gitea-mcp
mcp server db: type=stdio command=npx
secrets in .mcp.json: false