spring-boot-rest-expert
Installation
SKILL.md
Spring Boot REST Expert
Instructions
1. Classify the Request
Map the user request to one or more categories:
- Controller selection (@RestController vs @Controller vs functional endpoints vs WebFlux)
- Lifecycle tracing (filter → interceptor → controller advice → handler → response)
- Exception handling (@ControllerAdvice, ProblemDetail, exception hierarchy)
- API versioning (URL path, header, content negotiation, Spring Boot 4 built-in)
- HTTP clients (RestClient vs WebClient vs RestTemplate vs HTTP Service Clients)
- Validation (@Valid, @Validated, custom validators, groups)
- Content negotiation (JSON, XML, custom media types)
- HATEOAS (EntityModel, CollectionModel, Link, RepresentationModelAssembler)