Spring Boot架构模式、REST API设计、分层服务、数据访问、缓存、异步处理和日志记录。用于Java Spring Boot后端工作。
81
53%
Does it follow best practices?
Impact
100%
1.53xAverage score across 6 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./docs/zh-CN/skills/springboot-patterns/SKILL.mdREST API layered architecture
Controller annotations
0%
100%
Constructor injection - controller
100%
100%
Constructor injection - service
100%
100%
ResponseEntity return types
100%
100%
CREATED status on POST
100%
100%
Request body validation
0%
100%
DTO as Java record
0%
100%
Bean validation on DTO
0%
100%
@ControllerAdvice handler
100%
100%
Validation exception handler
0%
100%
@Transactional on write
0%
100%
@Service annotation
100%
100%
Caching and async processing
@EnableCaching on config
100%
100%
@Cacheable with value and key
100%
100%
@CacheEvict usage
100%
100%
@EnableAsync on config
100%
100%
@Async annotation
100%
100%
CompletableFuture return type
0%
100%
SLF4J logger declaration
100%
100%
Structured log format
100%
100%
Error log with exception
100%
100%
EntityNotFoundException on miss
100%
100%
Rate limiting and retry resilience
Bucket4j dependency
100%
100%
ConcurrentHashMap for buckets
100%
100%
getRemoteAddr() for client IP
0%
100%
No direct X-Forwarded-For
0%
100%
429 on rate limit exceeded
100%
100%
OncePerRequestFilter for logging
0%
100%
Structured request log fields
100%
100%
Exponential backoff formula
33%
100%
InterruptedException handling
0%
100%
Max retries enforced
100%
100%
Bandwidth.classic with Refill.greedy
100%
100%
5df943e
Table of Contents
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.