spring-bootlisted
Install: claude install-skill Claudient/Claudient
# Spring Boot Skill
## When to activate
- Building a Spring Boot REST API or microservice
- Setting up Spring Data JPA with Hibernate and PostgreSQL/MySQL
- Configuring Spring Security (JWT, OAuth2, session-based auth)
- Writing Spring Boot tests (unit with Mockito, integration with TestRestTemplate or MockMvc)
- Setting up Spring Cloud (service discovery, config server, API gateway)
- Implementing async processing with `@Async` or Spring Events
- Configuring profiles, properties, and externalized configuration
- Writing custom Spring Boot starters or auto-configurations
## When NOT to use
- Quarkus or Micronaut projects — different DI and config models
- Plain Java without Spring — overhead isn't justified for simple scripts
- Android projects — different ecosystem entirely
- Jakarta EE/WildFly — different application server model
## Instructions
### Project structure
```
src/
├── main/
│ ├── java/com/example/app/
│ │ ├── AppApplication.java # @SpringBootApplication entry point
│ │ ├── config/ # @Configuration beans
│ │ ├── controller/ # @RestController — HTTP layer only
│ │ ├── service/ # Business logic — @Service
│ │ ├── repository/ # @Repository — data access
│ │ ├── domain/ # @Entity models
│ │ ├── dto/ # Request/response shapes (records)
│ │ ├── exception/ # @ControllerAdvice error handling
│ │