CtrlK
BlogDocsLog inGet started
Tessl Logo

503-frameworks-micronaut-validation

Use when you need to design, review, or improve validation in Micronaut applications — including Bean Validation on @Controller methods, @Body @Valid, query/path parameter validation, @ConfigurationProperties validation, custom constraints, nested DTO validation, and ExceptionHandler mapping for constraint violations. This should trigger for requests such as Add validation support in Micronaut; Review Micronaut validation rules; Improve request validation in Micronaut REST APIs; Add custom validation constraints in Micronaut; Validate Micronaut configuration properties. Part of cursor-rules-java project

75

Quality

92%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

85%

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

The body is a well-structured, concise overview with a clear validated workflow and a clean single-level reference. Its main weakness is actionability: the actual implementation specifics are deferred to the reference rather than illustrated with executable examples in the body.

Suggestions

Add at least one short executable code snippet in the body (e.g., a minimal @Body @Valid controller method and @ExceptionHandler for ConstraintViolationException) so core guidance is actionable without opening the reference.

Make the 'Apply framework-aligned changes' workflow step more concrete by naming the specific patterns to follow (e.g., 'annotate command models with @Valid, define a @ExceptionHandler<ConstraintViolationException>') instead of 'following the reference patterns'.

Tighten the 'When to use this skill' list, which largely duplicates the trigger examples already in the frontmatter description, to reclaim tokens.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — it does not explain what Micronaut or Bean Validation is; every section (What is covered, Constraints, When to use, Workflow, Reference) earns its place with no padded concept explanation.

3 / 3

Actionability

It gives concrete commands ('./mvnw compile', 'mvn clean verify') and a real reference path, but the core implementation guidance is abstract — 'Implement or refactor validation-related configuration/code following the reference patterns and project conventions' defers specifics rather than providing executable examples, matching the 'some concrete guidance but incomplete' anchor.

2 / 3

Workflow Clarity

The Workflow is a clear four-step sequence with explicit validation checkpoints and a feedback loop: 'Run ./mvnw compile before applying any change', 'If compilation fails, stop immediately', and 'Run mvn clean verify after applying improvements', satisfying the highest anchor.

3 / 3

Progressive Disclosure

SKILL.md is a concise overview that points to a single one-level-deep reference ('references/503-frameworks-micronaut-validation.md') signaled in both the Workflow and a Reference section; the referenced file exists and contains no further nested references, so navigation is clean and appropriately split.

3 / 3

Total

11

/

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.

The description is specific, complete, and distinct: it enumerates concrete validation capabilities, provides explicit 'Use when' trigger guidance with natural example requests, and is narrowly scoped to Micronaut. It avoids vague fluff and verbosity while covering what and when.

DimensionReasoningScore

Specificity

The description lists multiple specific concrete capabilities: 'Bean Validation on @Controller methods, @Body @Valid, query/path parameter validation, @ConfigurationProperties validation, custom constraints, nested DTO validation, and ExceptionHandler mapping', matching the anchor that enumerates several concrete actions rather than vague language.

3 / 3

Completeness

It answers both 'what' (design/review/improve validation with the enumerated capabilities) and 'when' with an explicit 'Use when you need to...' clause plus concrete trigger examples, satisfying the highest anchor.

3 / 3

Trigger Term Quality

It explicitly states 'This should trigger for requests such as Add validation support in Micronaut; Review Micronaut validation rules; Improve request validation in Micronaut REST APIs', providing good coverage of natural phrases a user would actually say when needing this skill.

3 / 3

Distinctiveness Conflict Risk

It is tightly scoped to 'validation in Micronaut applications' with framework-specific terms (@ConfigurationProperties, ExceptionHandler, @Body @Valid), giving it a clear niche unlikely to trigger for unrelated 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.

Validation16 / 16 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.