CtrlK
BlogDocsLog inGet started
Tessl Logo

springboot-patterns

Spring Boot 架构模式、REST API 设计、分层服务、数据访问、缓存、异步处理和日志记录。适用于 Java Spring Boot 后端工作。

Install with Tessl CLI

npx tessl i github:affaan-m/everything-claude-code --skill springboot-patterns
What are skills?

72

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

20%

Product Catalog API

Layered REST API with DTOs and exception handling

Criteria
Without context
With context

Constructor injection - controller

100%

100%

Constructor injection - service

100%

100%

@Validated on controller

0%

100%

@Valid on request body

100%

100%

201 CREATED status for POST

100%

100%

Paginated GET endpoint

50%

100%

Record-based DTOs

0%

100%

Bean validation annotations on request DTO

100%

100%

@Transactional on write method

100%

100%

@ControllerAdvice exception handler

100%

100%

Validation error handler

100%

100%

Lean controller

100%

100%

Without context: $0.7308 · 2m 25s · 38 turns · 45 in / 10,656 out tokens

With context: $0.8921 · 2m 49s · 37 turns · 295 in / 12,408 out tokens

100%

14%

Order Processing Service with Notifications

Caching, async processing, and structured logging

Criteria
Without context
With context

@EnableCaching on config

100%

100%

@EnableAsync on config

100%

100%

@Cacheable with key expression

44%

100%

@CacheEvict with key expression

100%

100%

@Async on notification method

100%

100%

CompletableFuture return type

100%

100%

SLF4J LoggerFactory

100%

100%

Structured key=value log format

100%

100%

log.error with exception

100%

100%

EntityNotFoundException on cache miss

0%

100%

Constructor injection in services

100%

100%

Without context: $0.5923 · 2m 18s · 27 turns · 34 in / 10,198 out tokens

With context: $0.9034 · 3m 3s · 35 turns · 293 in / 13,212 out tokens

100%

33%

Public API Gateway: Rate Limiting and Resilient External Calls

Rate limiting, retry with backoff, and production configuration

Criteria
Without context
With context

Bucket4j library used

100%

100%

ConcurrentHashMap for per-client buckets

100%

100%

100 req/min limit with greedy refill

100%

100%

HTTP 429 on rate limit exceeded

100%

100%

Uses getRemoteAddr() for client IP

100%

100%

No direct X-Forwarded-For reading

50%

100%

Proxy configuration noted

100%

100%

Exponential backoff

100%

100%

InterruptedException handling

0%

100%

spring.mvc.problemdetails.enabled

0%

100%

Extends OncePerRequestFilter

0%

100%

Without context: $0.8385 · 3m 44s · 31 turns · 37 in / 15,256 out tokens

With context: $0.8087 · 2m 58s · 33 turns · 112 in / 12,055 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.