What problem does it solve?
This Skill helps you implement consistent, enterprise-grade REST endpoints in Spring Boot 4.x without drifting into ad-hoc controllers, inconsistent response formats, or incorrect HTTP semantics.
Core Features & Use Cases
- Controller patterns and endpoint wiring: Use
@RestController, ResponseEntity/status annotations, request DTOs, and record-based request/response models for clean controller-layer code.
- RFC 9457 Problem Detail error responses: Standardize validation and exception handling with
ProblemDetail so clients get predictable error contracts.
- Pagination and versioning: Implement
Page<T> patterns with bounded sizes and support API evolution via URL path or content negotiation.
- HTTP client integration for WebMVC: Use
RestClient + HttpServiceProxyFactory with resilient error handling, retries, and circuit-breaking patterns aligned to Spring Boot 4.x constraints.
Quick Start
Use the spring-rest skill to design and implement a versioned endpoint with proper pagination, record DTOs, and RFC 9457 error handling for a Spring Boot 4.x controller.