Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
57
48%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./docs/zh-TW/skills/backend-patterns/SKILL.mdRepository pattern and Service layer
Repository interface
0%
60%
Repository implementation
37%
100%
Service layer class
100%
100%
Constructor injection
100%
100%
No loop queries (N+1)
100%
100%
Batch fetch with Map
100%
100%
Specific field selection
100%
100%
RESTful URL structure
100%
100%
Query param filtering
100%
100%
Structured error response
42%
100%
Centralized error handler
57%
100%
Auth middleware, RBAC, and rate limiting
HOF auth wrapper
100%
100%
Bearer token extraction
0%
100%
jsonwebtoken package
100%
100%
JWT_SECRET env var
100%
100%
ApiError class
0%
100%
ApiError for 401/403
0%
100%
Centralized error handler
28%
100%
success:false error shape
0%
100%
3-role permission map
37%
0%
requirePermission HOF
37%
100%
hasPermission function
100%
100%
Map-based RateLimiter
71%
100%
Sliding window filter
100%
100%
x-forwarded-for header
100%
100%
429 rate limit response
100%
100%
Caching, background jobs, and structured logging
CachedRepository wrapper
30%
30%
Cache-aside read pattern
100%
100%
setex with 300s TTL
100%
100%
Cache key format
100%
100%
Cache invalidation
100%
100%
JobQueue class
40%
100%
Non-blocking job add
100%
100%
Job queued response
16%
83%
Structured JSON logging
100%
100%
crypto.randomUUID requestId
100%
100%
Error log includes stack
0%
100%
Logger class with levels
100%
100%
ae2cadd
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.