Error Handler Middleware - Auto-activating skill for Backend Development. Triggers on: error handler middleware, error handler middleware Part of the Backend Development skill category.
36
Quality
3%
Does it follow best practices?
Impact
99%
1.03xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./planned-skills/generated/06-backend-dev/error-handler-middleware/SKILL.mdProduction-ready Express error middleware
4xx vs 5xx distinction
100%
100%
No stack traces to client
100%
100%
Structured error response
100%
100%
Async error forwarding
100%
100%
Registered last
100%
100%
Four-argument signature
100%
100%
Logging included
100%
100%
Custom error class or type check
100%
100%
Default 500 fallback
100%
100%
No sensitive data leaked
100%
100%
Output files present
100%
100%
Without context: $0.6047 · 2m 21s · 28 turns · 29 in / 7,794 out tokens
With context: $0.6809 · 2m 54s · 33 turns · 33 in / 9,766 out tokens
Standardized FastAPI error responses
Consistent error shape
100%
100%
HTTPException handling
100%
100%
Validation error override
100%
100%
Generic exception handler
100%
100%
Correct HTTP status codes
100%
100%
Logging included
0%
75%
No tracebacks to client
100%
100%
Custom exception class
100%
100%
Handlers registered on app
100%
100%
Output files present
100%
100%
No sensitive data leaked
100%
100%
Without context: $0.6186 · 2m 12s · 32 turns · 2,830 in / 8,260 out tokens
With context: $0.6467 · 2m 8s · 36 turns · 67 in / 8,256 out tokens
Go microservice error middleware
Middleware pattern
100%
100%
JSON error response
100%
100%
Content-Type header
100%
100%
Differentiated status codes
100%
100%
Error wrapping
80%
100%
Structured logging
100%
100%
No internal details to client
100%
100%
Panic recovery
100%
100%
Custom error type
100%
100%
Output files present
100%
100%
Default 500 fallback
100%
100%
Without context: $0.4669 · 2m 48s · 24 turns · 2,822 in / 7,274 out tokens
With context: $0.5561 · 2m 53s · 28 turns · 27 in / 8,240 out tokens
994edc4
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.