303 frameworks spring boot validation

From jabrena/cursor-rules-java · View interactive version

303 frameworks spring boot validation is an AI agent skill from the GitHub repository jabrena/cursor-rules-java. 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

How to use this skill

Skill file

Spring Boot Validation Guidelines

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.

Constraints

Before applying validation changes, ensure the project compiles. After improvements, run full verification.

When to use this skill

Workflow

  1. Read reference and assess project context

Read references/303-frameworks-spring-boot-validation.md and inspect the current project setup before proposing changes.

  1. Gather scope and decide target improvements

Identify requested outcomes, constraints, and the minimum safe set of changes to apply.

  1. Apply framework-aligned changes

Implement or refactor validation-related configuration/code following the reference patterns and project conventions.

  1. Run verification and report results

Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.

Reference

For detailed guidance, examples, and constraints, see references/303-frameworks-spring-boot-validation.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.