spring-boot-corelisted
Install: claude install-skill IuliaIvanaPatras/claude-code-templates
# Spring Boot Core Skill
Modern backend development with Spring Boot 4.0, Spring Framework 7, Java 25, and Jakarta EE 11.
## Core Workflow
1. **Analyze** - Understand requirements, identify domain model, API contracts, and data flow
2. **Design** - Plan package structure, entity relationships, confirm architecture before coding
3. **Implement** - Build with layered architecture (Controller → Service → Repository)
4. **Secure** - Apply Spring Security 7, Bean Validation, CORS, error handling
5. **Test** - Write unit (JUnit 6), slice (@WebMvcTest, @DataJpaTest), integration (Testcontainers) tests
6. **Deploy** - Configure Docker, Actuator health checks, observability, deploy
## Quick Start Templates
### Application Entry Point
```java
package com.example.myapp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class MyAppApplication {
public static void main(String[] args) {
SpringApplication.run(MyAppApplication.class, args);
}
}
```
### Entity with Auditing
```java
package com.example.myapp.user;
import jakarta.persistence.*;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import java.time.Instant;
import java.util.UUID;
@Entity
@Table(name = "users")
@EntityListeners(AuditingEntityListener.class)
public clas