Build Spring Boot 4.x applications following best practices. Use when developing or modifying Spring Boot apps that use Spring MVC, Spring Data JPA, Spring Modulith, Spring Security, or Spring Boot testing including package structure, REST APIs, entities/repositories, service layer, modular monoliths, and REST API tests. Configure Maven pom.xml with supporting plugins and configurations to improve code quality, and testing. Use Taskfile for easier execution of common tasks while working with a Spring Boot application.
Resources
1Install
npx skillscat add sivaprasadreddy/sivalabs-agent-skills/spring-boot-skill Install via the SkillsCat registry.
Spring Boot Skill
Apply the practices below when developing Spring Boot applications. Read the linked reference only when working on that area.
Maven pom.xml Configuration
Read references/spring-boot-maven-config.md for Maven pom.xml configuration with supporting plugins and configurations to improve code quality, and testing.
Package structure
Read references/code-organization.md for domain-driven, module-based package layout and naming conventions.
Spring Data JPA
Implement the repository and entity layer using references/spring-data-jpa.md.
Service layer
Implement business logic in the service layer using references/spring-service-layer.md.
Spring MVC REST APIs
Implement REST APIs with Spring MVC using references/spring-webmvc-rest-api.md.
Spring Modulith
Build a modular monolith with Spring Modulith using references/spring-modulith.md.
REST API testing
Test Spring Boot REST APIs using references/spring-boot-rest-api-testing.md.
Taskfile
Use references/taskfile.md for easier commands execution.