error-handler

Solid

Design error handling, structured logging, and observability with OpenTelemetry (traces, metrics, logs), error classification, recovery patterns (retry with jitter, circuit breaker, bulkhead, timeout), error budgets/SLOs with burn rate alerts, and production incident triage. Use when user asks to implement error handling, logging, monitoring, observability, OpenTelemetry, error boundaries, circuit breakers, retry logic, or SLO tracking. Do NOT use for incident runbooks (use runbook-gen), vendor-specific APM setup (Datadog, Sentry agent config), or K8s debugging.

DevOps & Infrastructure 96 stars 12 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Error Handler Observability that makes debugging fast and production predictable. Based on Google SRE (Site Reliability Engineering), OpenTelemetry semantic conventions, and production patterns from Sentry, Honeycomb, and Datadog. ## Sub-Commands | Command | Description | |---------|-------------| | `setup` | Set up OpenTelemetry SDK + instrumentation for a service | | `classify` | Classify errors by HTTP status, severity, and alert priority | | `recover` | Implement recovery patterns: retry with jitter, circuit breaker, timeout | | `slo` | Define error budget, SLO, and burn rate alerts | | `audit` | Audit existing error handling against best practices | ## The 3 Signals (OpenTelemetry) | Signal | Purpose | Example | |--------|---------|---------| | Traces | Follow a request across services | User request ? API Gateway ? Auth ? DB | | Metrics | Aggregate measurements over time | Request count, error rate, latency p50/p95/p99 | | Logs | Discrete events with context | "User login failed: invalid credentials for user_abc123" | All three signals share `trace_id` + `span_id` for correlation. ## Workflow ### Step 1: Classify errors | Category | HTTP | Severity | Log level | SLO impact | Alert? | |----------|------|:--------:|-----------|:----------:|:------:| | Validation (user error) | 400 | Low | info | No | No | | Authentication | 401 | Medium | warn | No | Only if spike detected | | Authorization | 403 | Medium | warn | No | Only if spike detected | | Not Found | 404...

Details

Author
EliasOulkadi
Repository
EliasOulkadi/shokunin
Created
1 months ago
Last Updated
yesterday
Language
HTML
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category