Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when you need to use Spring Data JDBC with Java records — including entity design with records, repository pattern, immutable updates, aggregate relationships, custom queries, transaction management, and avoiding N+1 problems. This should trigger for requests such as Review Java code for Spring Data JDBC; Apply best practices for Spring Data JDBC in Java code; Model Spring Data JDBC aggregates with Java records; Review Spring Data JDBC repositories and aggregate boundaries; Improve optimisti
.claude/skills/jabrena-312-frameworks-spring-data-jdbc/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-22 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-05 | ✓→✗ | ▼ Worse | -32% | 0% |
| case-17 | ✓→✗ | ▼ Worse | -42% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 53% | 0% |
| case-13 | ✓→✓ | = Same ✓ | -7% | 0% |
Apply Spring Data JDBC guidelines with Java records.
What is covered in this Skill?
Scope: Apply recommendations based on the reference rules and good/bad code examples.
Before applying any Spring Data JDBC changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRead references/312-frameworks-spring-data-jdbc.md and inspect the current project setup before proposing changes.
Identify requested outcomes, constraints, and the minimum safe set of changes to apply.
Implement or refactor configuration/code following the reference patterns and project conventions.
Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.
For detailed guidance, examples, and constraints, see references/312-frameworks-spring-data-jdbc.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→pass | 14,588 | 24,785 | +70% | 1 | 1 | 0% | 3,126 | 4,772 | +53% | 0 | 0 | — |
case-13 | pass→pass | 15,933 | 11,494 | -28% | 1 | 1 | 0% | 2,779 | 2,592 | -7% | 0 | 0 | — |
case-01 | fail→fail | 20,796 | 6,007 | -71% | 1 | 1 | 0% | 3,888 | 892 | -77% | 0 | 0 | — |
case-02 | fail→fail | 21,136 | 6,552 | -69% | 1 | 1 | 0% | 3,309 | 978 | -70% | 0 | 0 | — |
case-03 | fail→fail | 18,166 | 6,725 | -63% | 1 | 1 | 0% | 3,335 | 906 | -73% | 0 | 0 | — |
case-05 | pass→fail | 7,646 | 7,394 | -3% | 1 | 1 | 0% | 1,612 | 1,102 | -32% | 0 | 0 | — |
case-06 | pass→pass | 13,595 | 9,362 | -31% | 1 | 1 | 0% | 2,646 | 1,702 | -36% | 0 | 0 | — |
case-07 | pass→pass | 8,384 | 5,237 | -38% | 1 | 1 | 0% | 1,486 | 1,454 | -2% | 0 | 0 | — |
case-08 | fail→fail | 8,823 | 9,270 | +5% | 1 | 1 | 0% | 1,573 | 2,214 | +41% | 0 | 0 | — |
case-22 | fail→pass | 8,339 | 2,764 | -67% | 1 | 1 | 0% | 1,185 | 953 | -20% | 0 | 0 | — |
case-09 | pass→pass | 10,257 | 6,640 | -35% | 1 | 1 | 0% | 1,847 | 1,743 | -6% | 0 | 0 | — |
case-10 | pass→pass | 11,104 | 6,809 | -39% | 1 | 1 | 0% | 2,056 | 1,781 | -13% | 0 | 0 | — |
case-11 | pass→pass | 7,021 | 5,667 | -19% | 1 | 1 | 0% | 1,083 | 1,536 | +42% | 0 | 0 | — |
case-12 | pass→pass | 10,022 | 6,274 | -37% | 1 | 1 | 0% | 1,768 | 1,804 | +2% | 0 | 0 | — |
case-14 | pass→pass | 6,203 | 4,974 | -20% | 1 | 1 | 0% | 1,055 | 1,461 | +38% | 0 | 0 | — |
case-15 | pass→pass | 7,451 | 6,810 | -9% | 1 | 1 | 0% | 1,273 | 1,601 | +26% | 0 | 0 | — |
case-16 | pass→pass | 11,840 | 5,366 | -55% | 1 | 1 | 0% | 1,885 | 1,601 | -15% | 0 | 0 | — |
case-17 | pass→fail | 9,656 | 4,728 | -51% | 1 | 1 | 0% | 1,521 | 879 | -42% | 0 | 0 | — |
case-18 | pass→pass | 14,998 | 7,530 | -50% | 1 | 1 | 0% | 2,364 | 1,873 | -21% | 0 | 0 | — |
case-19 | pass→pass | 23,895 | 10,462 | -56% | 1 | 1 | 0% | 2,142 | 1,895 | -12% | 0 | 0 | — |
case-20 | pass→pass | 17,025 | 8,208 | -52% | 1 | 1 | 0% | 2,073 | 2,021 | -3% | 0 | 0 | — |
case-21 | pass→pass | 7,310 | 5,596 | -23% | 1 | 1 | 0% | 1,143 | 1,429 | +25% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of -5 percentage points is the difference between those two pass rates over the 19 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.