Spring Boot Engineer gives the agent a six-step workflow for Spring Boot 3.x: analyze requirements, design the architecture, implement layered services, secure them, test and deploy with Actuator health checks.
A quick-start section shows each layer with code: entity, repository, service with constructor injection, REST controller, record DTO, global exception handler and a WebMvcTest slice. A table of rules covers validation, configuration properties, transactions and secrets.
What You Get
- A six-step workflow with a fix-and-rerun rule for security, tests and health checks
- Copy-ready examples for entity, repository, service, controller, DTO record, exception handler and test slice
- A rules table covering constructor injection, input validation, ConfigurationProperties and transactions
- A must-not list: field injection, blocking inside WebFlux, secrets in application.properties and Spring Boot 2 patterns
- Reference files for the web layer, data access, security, cloud native and testing
Common Use Cases
- Creating a REST API with validation and a global exception handler
- Setting up Spring Data JPA repositories and transaction scopes
- Configuring Spring Security 6 with OAuth2 and JWT
- Adding Actuator health checks and slice tests to a microservice
What Makes It Unique
It pairs a layered quick start with explicit rules for Spring Boot 3: constructor injection, records for DTOs, ConfigurationProperties for settings and no WebSecurityConfigurerAdapter. Each phase ends with a command to run and a defined response when it fails, which keeps the agent from moving on with a broken build.
Under The Hood
The skill is a SKILL.md with five reference files that the agent loads by topic. It ships no scripts. The instructions tell the agent to run ./mvnw test or ./gradlew test in your project and to check the /actuator/health endpoint of the running application, so it builds code, writes files and sends requests to your local service. The security guidance says to keep secrets out of properties files and to use environment variables or Spring Cloud Config.