spring-boot-skill
/spring-boot-skill
Build Spring Boot 4.x applications following the best practices. Use this skill: * When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security * To create recommended Spring Boot package structure * To implement REST APIs, entities/repositories, service layer, modular monoliths * To use Thymeleaf view templates for building web applications * To write tests for REST APIs and Web applications * To write ArchUnit tests for testing architecture * To configure the recommended plugins and configurations to improve code quality, and testing while usin
- Author
- sivaprasadreddy ↗
- Repository
- sivalabs-agent-skills ↗
- Licence
- MIT
- Last repository change
- 12.10.2026
Assessment and security
- Files in this package
- 20
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Build Spring Boot 4.x applications following the best practices. Use this skill: * When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security * To create recommended Spring Boot package structure * To implement REST APIs, entities/repositories, service layer, modular monoliths * To use Thymeleaf view templates for building web applications * To write tests for REST APIs and Web applications * To write ArchUnit tests for testing architecture * To configure the recommended plugins and configurations to improve code quality, and testing while usin
Original author description
Build Spring Boot 4.x applications following the best practices. Use this skill: * When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security * To create recommended Spring Boot package structure * To implement REST APIs, entities/repositories, service layer, modular monoliths * To use Thymeleaf view templates for building web applications * To write tests for REST APIs and Web applications * To write ArchUnit tests for testing architecture * To configure the recommended plugins and configurations to improve code quality, and testing while usin
How it works
- Maven pom.xml Configuration
- Package structure
- Spring Data JPA
- Service layer
- Spring MVC REST APIs
- Spring Modulith
- Thymeleaf
- Testing
- Taskfile
SKILL.md preview
---
name: spring-boot-skill
description: >
Build Spring Boot 4.x applications following the best practices.
Use this skill:
* When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security
* To create recommended Spring Boot package structure
* To implement REST APIs, entities/repositories, service layer, modular monoliths
* To use Thymeleaf view templates for building web applications
* To write tests for REST APIs and Web applications
* To write ArchUnit tests for testing architecture
* To configure the recommended plugins and configurations to improve code quality, and testing while using Maven.
* To use Spring Boot's Docker Compose support for local development
* To create Taskfile for easier execution of common tasks while working with a Spring Boot application
---
# 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](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](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](references/spring-data-jpa.md).
## Service layer
Implement business logic in the service layer using [references/spring-service-layer.md](references/spring-service-layer.md).
## Spring MVC REST APIs
Implement REST APIs with Spring MVC using [references/spring-webmvc-rest-api.md](references/spring-webmvc-rest-api.md).
## Spring Modulith
Build a modular monolith with Spring Modulith using [references/spring-modulith.md](references/spring-modulith.md).
## Thymeleaf
If Thymeleaf is used for view templates, refer [references/thymeleaf.md](references/thymeleaf.md)
## Testing
Write tests at complementary levels — unit, sliced Spring tests, and at least one end-to-end/smoke test; the levels are not either/or. Most framework-touching tests belong at the fast **sliced** level (`@SpringBootTest(classes = …)` or a slice annotation); keep full-context `@SpringBootTest` for a smoke test plus a request-level end-to-end. For why the levels are complementary and how to keep a large suite fast (context caching, one container for the suite), read [references/testing-strategy.md](references/testing-strategy.md).
| What you're testing | Level | Reference |
|--------------------------------------------------------------------------------------------|---------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
| Business/domain logic, no framework | Unit (no Spring context) | [testing-unit-mocking.md](references/testing-unit-mocking.md) |
| JPA / JDBC / JdbcClient / Spring Data JDBC / jOOQ queries | Persistence slice + Testcontainers | [testing-slices-persistence.md](references/testing-slices-persistence.md) |
| Controller, JSON serialization, or a REST client | Web slice (`@WebMvcTest`/`@JsonTest`/`@RestClientTest`) | [testing-slices-web.md](references/testing-slices-web.md) |
| A few components together, external HTTP (WireMock), or a startup/request-level smoke test | Sliced `@SpringBootTest(classes = …)` or smoke test | [testing-integration.md](references/testing-integration.md) |
| Full REST API over a real port, full `BaseIT` suite (`RestTestClient`) | End-to-end | [spring-boot-rest-api-testing.md](references/spring-boot-rest-api-testing.md) |
| A view-rendering controller (`MockMvcTester`) | Web slice | [spring-boot-webapp-testing-with-mockmvctester.md](references/spring-boot-webapp-testing-with-mockmvctester.md) |
| Wiring a container (`@ServiceConnection` / dynamic properties) | — | [testcontainers-wiring.md](references/testcontainers-wiring.md) |
All persistence and integration tests use **Testcontainers with a real database** (never in-memory H2); see [references/testcontainers-wiring.md](references/testcontainers-wiring.md) for `@ServiceConnection` vs dynamic-property wiring.
### Test Data Setup
Prefer SQL fixtures with `@Sql("classpath:/test-data.sql")` before every test method.
When setting up data programmatically, prefer exposed Services or ModuleAPI classes over Repositories, `JdbcTemplate`, or `JdbcClient`.
Unless absolutely necessary, avoid using `JdbcTemplate`, `JdbcClient`, or `TransactionTemplate`
to execute SQL for test data setup, which couples tests to internal implementation details.
Read [references/test-data-setup.md](references/test-data-setup.md) when creating or changing test fixtures.
### Write ArchUnit Tests
To write tests for testing the architecture using ArchUnit, refer [references/archunit.md](references/archunit.md)
### Spring Boot Docker Compose Support
To use Docker Compose support for local development, refer [references/spring-boot-docker-compose.md](references/spring-boot-docker-compose.md).
## Taskfile
Use [references/taskfile.md](references/taskfile.md) for easier commands execution.
Files in this package (20)
- SKILL.md 6 KB
- references/archunit.md 3 KB
- references/code-organization.md 5 KB
- references/spring-boot-docker-compose.md 1 KB
- references/spring-boot-maven-config.md 5 KB
- references/spring-boot-rest-api-testing.md 9 KB
- references/spring-boot-webapp-testing-with-mockmvctester.md 4 KB
- references/spring-data-jpa.md 7 KB
- references/spring-modulith.md 4 KB
- references/spring-service-layer.md 3 KB
- references/spring-webmvc-rest-api.md 8 KB
- references/taskfile.md 2 KB
- references/test-data-setup.md 2 KB
- references/testcontainers-wiring.md 7 KB
- references/testing-integration.md 11 KB
- references/testing-slices-persistence.md 5 KB
- references/testing-slices-web.md 4 KB
- references/testing-strategy.md 8 KB
- references/testing-unit-mocking.md 3 KB
- references/thymeleaf.md 3 KB
Versions
The database has no other skills named spring-boot-skill.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 2e3762187d5d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100spring-boot
Spring Boot 4.x development - REST APIs, JPA, Security, Testing, and Cloud-native patterns. Use for building enterprise Java applications with Spring Boot. - 90java-spring-boot-expert
Use when building Spring Boot 3.x applications, microservices, or reactive Java applications. Invoke for Spring Data JPA, Spring Security 6, WebFlux, Spring Cloud integration. - 100spring-modulith-verifier
Verifies whether code follows Spring Modulith code structure or not. Show list of violations along with recommendations on how to fix them. Use this skill: * When reviewing Spring Boot applications which uses Spring Modulith * When verifying whether Spring Boot application code… - 100305-frameworks-spring-boot-modulith
Use when you need to design, review, or improve modular monoliths with Spring Modulith in Spring Boot applications - including application module package structure, ApplicationModules verification, named interfaces, allowed dependencies, domain events, @ApplicationModuleTest,… - 100spring-boot-engineer
Generates Spring Boot 3.x configurations, creates REST controllers, implements Spring Security 6 authentication flows, sets up Spring Data JPA repositories, and configures reactive WebFlux endpoints. Use when building Spring Boot 3.x applications, microservices, or reactive Java… - 100spring-boot
Spring Boot is a Java framework for building production-ready applications: auto-configuration, embedded servers and opinionated defaults for REST APIs, JPA data access, Spring Security and Actuator monitoring. Use when a user asks to create a Spring Boot project, build a REST…