What problem does it solve?
Developers building Java back‑end services often struggle to set up a clean, production‑ready Spring Boot architecture, including layered controllers, services, repositories, caching, asynchronous processing, validation, and observability. This Skill provides ready‑to‑use patterns and best‑practice guidelines to streamline that process.
Core Features & Use Cases
- Layered architecture (controller → service → repository) for clear separation of concerns.
- REST API scaffolding with validation, pagination, and error handling.
- Data access using Spring Data JPA with custom queries.
- Transaction management and service‑level error handling.
- Caching with
@Cacheable and eviction strategies.
- Asynchronous processing via
@Async.
- Centralized exception handling using
@ControllerAdvice.
- Rate limiting and security considerations for reliable APIs.
- Structured logging with SLF4J and request tracing.
- Production‑grade configuration (profiles, connection pool tuning, etc.).
Quick Start
Generate a Spring Boot project using the springboot‑patterns skill to create a market service with layered REST API, JPA repository, caching, and logging.