Install any skill in seconds. Free to start, no credit card required.
Get Started Free →vibeeval/springboot-patterns
Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging.
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
1 fixed20 passed either way1 still failing0 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.
We are setting up centralized error handling and API rate limiting in our Spring Boot service. Could you write a global exception handler class to handle validation errors and unhandled exceptions, as well as a custom HTTP filter class using Bucket4j that rate-limits incoming requests based on the client's IP address?
| Checked | Without skill | With skill |
|---|---|---|
| The filter retrieves the client network address using request.getRemoteAddr(). | Passed | Passed |
| The filter does not parse the X-Forwarded-For header directly. | Missed | Passed |
The instructions your model reads when the skill loads.
Spring Boot architecture and API patterns for scalable, production-grade services.
@RestController
@RequestMapping("/api/markets")
@Validated
class MarketController {
private final MarketService marketService;
MarketController(MarketService marketService) {
this.marketService = marketService;
}
@GetMapping
ResponseEntity<Page<MarketResponse>> list(
@RequestParam(defaultValue = "0") int page,
@RequestParam(defaultValue = "20") int size) {
Page<Market> markets = marketService.list(PageRequest.of(page, size));
return ResponseEntity.ok(markets.map(MarketResponse::from));
}
@PostMapping
ResponseEntity<MarketResponse> create(@Valid @RequestBody CreateMarketRequest request) {
Market market = marketService.create(request);
return ResponseEntity.status(HttpStatus.CREATED).body(MarketResponse.from(market));
}
}
public interface MarketRepository extends JpaRepository<MarketEntity, Long> {
@Query("select m from MarketEntity m where m.status = :status order by m.volume desc")
List<MarketEntity> findActive(@Param("status") MarketStatus status, Pageable pageable);
}
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.