Install any skill in seconds. Free to start, no credit card required.
Get Started Free →decebals/spring-boot-patterns
Spring Boot best practices and patterns.
Passed 20 of 22 test cases with the skill, and 20 of 22 without it.
1 fixed19 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I need to implement a product management API in Spring Boot. Please provide the Java code for the REST controller, service interface, and service implementation for basic CRUD operations on a Product resource. Include proper endpoint mapping, database transaction management, and DTO conversion.
| Checked | Without skill | With skill |
|---|---|---|
| The request and response DTOs are declared as Java records. | Missed | Passed |
| The entity to DTO mapping uses MapStruct mapper interfaces. | Missed | Passed |
| The service implementation class is annotated with @Transactional(readOnly = true) at the class level. | Passed | Passed |
The instructions your model reads when the skill loads.
Best practices and patterns for Spring Boot applications.
src/main/java/com/example/myapp/
├── MyAppApplication.java # @SpringBootApplication
├── config/ # Configuration classes
│ ├── SecurityConfig.java
│ └── WebConfig.java
├── controller/ # REST controllers
│ └── UserController.java
├── service/ # Business logic
│ ├── UserService.java
│ └── impl/
│ └── UserServiceImpl.java
├── repository/ # Data access
│ └── UserRepository.java
├── model/ # Entities
│ └── User.java
├── dto/ # Data transfer objects
│ ├── request/
│ │ └── CreateUserRequest.java
│ └── response/
│ └── UserResponse.java
├── exception/ # Custom exceptions
│ ├── ResourceNotFoundException.java
│ └── GlobalExceptionHandler.java
└── util/ # Utilities
└── DateUtils.java
test cases passed, vs 20 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.