CtrlK
BlogDocsLog inGet started
Tessl Logo

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 cursor-rules-java project

68

Quality

81%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

62%

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

This skill functions primarily as a thin orchestration wrapper around a reference document, providing a clear workflow and build verification steps but almost no standalone actionable content. The workflow clarity is its strongest aspect with explicit compile-before and verify-after checkpoints. Its main weakness is that it defers all concrete implementation guidance (code examples, patterns, anti-patterns) to the reference file, making the SKILL.md itself minimally actionable.

Suggestions

Add at least one concrete code example inline — e.g., a sample DTO with Bean Validation annotations and a controller method using @Valid — so the skill provides immediate actionable guidance without requiring the reference file.

Remove the 'When to use this skill' section, which duplicates the skill description metadata and adds no instructional value.

Include a brief example of the expected 400 error response format inline, since consistent error handling is listed as a key coverage area.

DimensionReasoningScore

Conciseness

The 'What is covered' section and 'When to use this skill' section are somewhat redundant with each other and with the skill description. The constraints section is reasonably tight but the overall content could be more efficient — the bullet list of coverage areas is informational padding rather than actionable content.

2 / 3

Actionability

The skill provides concrete build commands (./mvnw compile, ./mvnw clean verify) and a clear workflow, but all actual implementation guidance is deferred to the reference file. There are no code examples, no concrete validation annotation patterns, no example DTOs or error response structures — everything actionable lives in the reference document.

2 / 3

Workflow Clarity

The workflow is clearly sequenced with four explicit steps: read reference, gather scope, apply changes, and verify. The constraints section includes explicit validation checkpoints (compile before changes, verify after changes) with a stop condition if compilation fails, forming a proper feedback loop.

3 / 3

Progressive Disclosure

The skill correctly references a single external file for detailed guidance, which is good one-level-deep disclosure. However, since no bundle files were provided, we cannot verify the reference path exists. The SKILL.md itself is thin — it's essentially a wrapper that delegates almost everything to the reference, providing very little standalone value beyond the workflow and constraints.

2 / 3

Total

9

/

12

Passed

Description

100%

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

This is a strong skill description that excels across all dimensions. It provides specific concrete capabilities, includes natural trigger terms with example queries, explicitly addresses both what and when, and is narrowly scoped to Spring Boot validation making it highly distinctive. The only minor note is that it uses second-person 'you' in the opening ('when you need to'), but the rubric penalizes first/second person on specificity, and the rest of the description uses appropriate third-person framing of capabilities.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and concepts: Bean Validation on request DTOs, @Valid/@Validated at API boundaries, constraint groups, custom constraints, @ConfigurationProperties validation, nested DTO validation, and validation error handling.

3 / 3

Completeness

Clearly answers both 'what' (design, review, or improve validation in Spring Boot applications with specific validation types listed) and 'when' (explicit 'Use when' clause at the start plus 'This should trigger for requests such as...' with concrete example queries).

3 / 3

Trigger Term Quality

Includes excellent natural trigger terms users would say: 'Add validation support in Spring Boot', 'Review Spring Boot validation rules', 'Improve request validation', 'custom Bean Validation constraints', 'Validate configuration properties'. Also includes technical terms like @Valid, @Validated, @ConfigurationProperties that developers would naturally reference.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — narrowly scoped to Spring Boot validation specifically, with domain-specific terms like Bean Validation, @Valid/@Validated, @ConfigurationProperties, constraint groups, and DTOs that clearly distinguish it from general Java, general Spring Boot, or other validation skills.

3 / 3

Total

12

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
jabrena/cursor-rules-java
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.