Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when you need to design, review, or improve validation in Spring Boot applications — including Bean Validation on request DTOs, @Valid/@Validated at API boundaries, constraint groups, custom constraints, @ConfigurationProperties validation, nested DTO validation, and consistent validation error handling. This should trigger for requests such as Add validation support in Spring Boot; Review Spring Boot validation rules; Improve request validation in Spring Boot REST APIs; Add custom Bean Vali
.claude/skills/jabrena-303-frameworks-spring-boot-validation/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-19 | ✗→✓ | ▲ Improved | 61% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 42% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 40% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 23% | 0% |
| case-07 | ✓→✓ | = Same ✓ | -12% | 0% |
Apply Spring Boot validation best practices at API boundaries.
What is covered in this Skill?
Scope: Apply recommendations based on the reference rules and good/bad examples.
Before applying validation changes, ensure the project compiles. After improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRead references/303-frameworks-spring-boot-validation.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 validation-related 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/303-frameworks-spring-boot-validation.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 4,288 | 5,129 | +20% | 1 | 1 | 0% | 228 | 629 | +176% | 0 | 0 | — |
case-01 | fail→fail | 5,233 | 5,935 | +13% | 1 | 1 | 0% | 157 | 711 | +353% | 0 | 0 | — |
case-03 | fail→fail | 16,330 | 5,227 | -68% | 1 | 1 | 0% | 3,536 | 666 | -81% | 0 | 0 | — |
case-04 | pass→pass | 8,804 | 10,235 | +16% | 1 | 1 | 0% | 1,609 | 2,288 | +42% | 0 | 0 | — |
case-05 | pass→pass | 3,953 | 3,339 | -16% | 1 | 1 | 0% | 664 | 932 | +40% | 0 | 0 | — |
case-06 | pass→pass | 11,533 | 11,445 | -1% | 1 | 1 | 0% | 2,078 | 2,550 | +23% | 0 | 0 | — |
case-07 | pass→pass | 12,857 | 10,421 | -19% | 1 | 1 | 0% | 2,563 | 2,265 | -12% | 0 | 0 | — |
case-08 | pass→pass | 5,460 | 3,459 | -37% | 1 | 1 | 0% | 835 | 1,020 | +22% | 0 | 0 | — |
case-09 | pass→pass | 7,341 | 3,788 | -48% | 1 | 1 | 0% | 1,227 | 985 | -20% | 0 | 0 | — |
case-10 | pass→pass | 10,527 | 5,591 | -47% | 1 | 1 | 0% | 1,777 | 1,407 | -21% | 0 | 0 | — |
case-11 | pass→pass | 4,355 | 4,805 | +10% | 1 | 1 | 0% | 667 | 1,151 | +73% | 0 | 0 | — |
case-12 | pass→pass | 11,896 | 9,043 | -24% | 1 | 1 | 0% | 2,086 | 2,158 | +3% | 0 | 0 | — |
case-13 | pass→pass | 10,445 | 4,830 | -54% | 1 | 1 | 0% | 1,698 | 1,256 | -26% | 0 | 0 | — |
case-14 | pass→pass | 8,975 | 7,311 | -19% | 1 | 1 | 0% | 1,535 | 1,670 | +9% | 0 | 0 | — |
case-15 | pass→pass | 9,222 | 8,544 | -7% | 1 | 1 | 0% | 1,651 | 2,432 | +47% | 0 | 0 | — |
case-16 | pass→pass | 13,818 | 14,716 | +6% | 1 | 1 | 0% | 2,842 | 2,773 | -2% | 0 | 0 | — |
case-17 | pass→pass | 13,864 | 14,284 | +3% | 1 | 1 | 0% | 2,608 | 2,466 | -5% | 0 | 0 | — |
case-18 | pass→pass | 8,630 | 6,463 | -25% | 1 | 1 | 0% | 1,478 | 1,508 | +2% | 0 | 0 | — |
case-19 | fail→pass | 4,125 | 3,650 | -12% | 1 | 1 | 0% | 685 | 1,101 | +61% | 0 | 0 | — |
case-20 | pass→pass | 5,877 | 2,677 | -54% | 1 | 1 | 0% | 1,042 | 826 | -21% | 0 | 0 | — |
case-21 | pass→pass | 9,289 | 7,512 | -19% | 1 | 1 | 0% | 1,512 | 1,587 | +5% | 0 | 0 | — |
case-22 | pass→pass | 3,582 | 2,794 | -22% | 1 | 1 | 0% | 607 | 909 | +50% | 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. 1 case got worse with the skill loaded, and it is 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.