CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

303-frameworks-spring-boot-validation

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 Validation constraints in Spring Boot; Validate configuration properties in Spring Boot. Part of Plinth Toolkit

66

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is well-structured as a progressive-disclosure overview with strong validation checkpoints (compile-before, stop-on-fail, verify-after) and a properly signaled, real reference file. Its weaknesses are redundancy — the trigger list and capability list duplicate the frontmatter description — and thin in-body actionability, with the substantive guidance entirely delegated to the reference.

Suggestions

Remove the 'When to use this skill' section and the 'What is covered in this Skill?' bullet list — both duplicate the frontmatter description's capabilities and trigger phrases; a single sentence pointing to the reference suffices.

Add one short inline example of the highest-value pattern (e.g., a controller method with @Valid on a request DTO and the corresponding 400 error response) so the skill's core instruction is actionable before jumping to the reference file.

Replace vague step names like 'Gather scope and decide target improvements' and 'Apply framework-aligned changes' with concrete checkpoints (e.g., 'list the DTOs/controllers touched', 'apply the matching example from the reference'), and extend the SAFETY rule with a recovery step when post-change `mvn clean verify` fails.

DimensionReasoningScore

Conciseness

The body is mostly lean, but two sections are redundant: 'What is covered in this Skill?' and 'When to use this skill' restate the frontmatter description's capabilities and the identical trigger list ('Add validation support in Spring Boot'...), and 'Scope: Apply recommendations based on the reference rules and good/bad examples' is filler. Not 4 because an entire duplicated trigger-list section is more than a minor trim; not 2 because there is no concept-explainer padding and the Constraints/Workflow sections earn their tokens.

3 / 5

Actionability

Concrete, copy-pasteable commands exist ('Run `./mvnw compile` or `mvn compile`', '`./mvnw clean verify` or `mvn clean verify`', 'Read references/303-frameworks-spring-boot-validation.md'), but the core how-to is deferred: steps like 'Gather scope and decide target improvements' and 'Implement or refactor validation-related configuration/code following the reference patterns' are high-level direction with no concrete annotation/code example inline. Not 4 because the only executable content is build commands while the skill's actual instructions live entirely in the reference; not 2 because the build/verify commands and named reference path are specific and executable.

3 / 5

Workflow Clarity

The 4-step workflow (read reference/assess, gather scope, apply changes, verify/report) has explicit checkpoints: 'MANDATORY: Run `./mvnw compile`... before applying any change', 'SAFETY: If compilation fails, stop immediately', and 'VERIFY: Run `./mvnw clean verify`... after applying improvements'. Not 5 because 'stop immediately' is a halt rather than a fix-and-retry feedback loop and there is no guidance for handling a post-change verify failure; not 3 because compile-before/verify-after checkpoints are explicit, not merely implicit.

4 / 5

Progressive Disclosure

The ~50-line body is a clean overview pointing to a single one-level-deep reference that exists and is substantive (references/303-frameworks-spring-boot-validation.md, 395 lines with Examples 1-7), signaled both in Constraints ('BEFORE APPLYING: Read the reference') and in a dedicated '## Reference' section with a markdown link. Matches the anchor-5 pattern of a concise overview with well-signaled references; no nested references or inlined bulk content.

5 / 5

Total

15

/

20

Passed

Description

95%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a strong exemplar: comprehensive concrete capabilities, explicit verbatim trigger phrases, and a tightly scoped Spring Boot validation niche. The only deduction is the second-person 'Use when you need to...' phrasing, which the rubric penalizes on specificity.

DimensionReasoningScore

Specificity

Enumerates comprehensive concrete capabilities — 'Bean Validation on request DTOs', '@Valid/@Validated at API boundaries', 'constraint groups', 'custom constraints', '@ConfigurationProperties validation', 'nested DTO validation', 'consistent validation error handling' — matching the anchor-5 example of multiple specific concrete actions. Reduced by 1 per the rubric guideline because 'Use when you need to design...' uses second-person voice instead of third person; not score 3 since coverage is far more comprehensive than '1-2 concrete actions'.

4 / 5

Completeness

Explicitly answers both: 'what' via the enumerated capabilities (design, review, improve validation across DTOs, boundaries, groups, config properties) and 'when' via 'Use when you need to...' plus 'This should trigger for requests such as...'. Matches the anchor-5 example exactly; not 4 because the 'when' is fully explicit with concrete trigger phrases rather than improvable.

5 / 5

Trigger Term Quality

Natural user phrasings are given verbatim as triggers: 'Add validation support in Spring Boot', 'Review Spring Boot validation rules', 'Improve request validation in Spring Boot REST APIs', 'Add custom Bean Validation constraints in Spring Boot', 'Validate configuration properties in Spring Boot', plus synonyms (Bean Validation, request validation, configuration properties). Comprehensive natural-term coverage; below there is no anchor.

5 / 5

Distinctiveness Conflict Risk

Every trigger and capability is scoped to 'Spring Boot' validation, a clear niche (Bean Validation, @Validated, @ConfigurationProperties) with distinct triggers and minimal conflict risk against generic Java or validation skills. Not 4 since even the closely-related overlap cases (plain Spring, Jakarta EE) are excluded by the consistent Spring Boot qualifier.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

jabrena/plinth

Path

skills/303-frameworks-spring-boot-validation/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.