What problem does it solve?
This Skill helps engineers turn scattered failures into reliable, production-grade error handling with consistent structured logs, OpenTelemetry tracing/metrics/logs, clear error classification, and SLO-driven alerting.
Core Features & Use Cases
- Error classification & alert priority: Maps common HTTP error categories to severity, log level, and SLO impact (e.g., 4xx vs 5xx and downstream/timeout cases).
- OpenTelemetry instrumentation & correlation: Sets up an OTEL SDK exporting traces/metrics/logs and enforces correlation using shared trace_id/span_id across signals.
- Recovery patterns for reliability: Implements retry with exponential backoff + jitter, circuit breaker, and timeouts, including guardrails for retryable vs non-retryable errors.
- Error budgets and burn-rate alerts: Defines SLO/error budget targets and provides PromQL burn-rate alerting logic to drive incident prevention and triage.
- Use case: When a checkout API starts failing intermittently, use this Skill to classify errors, ensure logs and traces link to the same request, apply safe recovery patterns to downstream calls, and page based on multi-window burn-rate signals rather than guesswork.
Quick Start
Ask the agent to implement OpenTelemetry-based error classification, structured JSON error logging with trace correlation, and recovery patterns (retry with jitter, circuit breaker, and timeouts) for your Node/TypeScript service, then add error budget burn-rate alert rules for your 99.9% SLO.