error-handler

仓库创建 2026年5月12日最近提交 10 小时前SkillHot 收录 20 天前
▸ 精选理由

结合 SRE 与 OpenTelemetry 的实战模式,提升生产可观测性

这个 Skill 做什么

设计错误分类、重试/熔断策略与 OpenTelemetry 可观测方案

帮你设计生产环境的错误处理和可观测方案:分类错误、做重试(带 jitter)、熔断、bulkhead、超时,还有用 OpenTelemetry 打 traces/metrics/logs。用在要实现可靠恢复策略、监控 SLO/错误预算或需要 burn-rate 报警时。亮点是结合 SRE 思想和 OpenTelemetry 语义规范,聚焦可操作的监控与故障恢复,不负责厂商特定 APM 的代理配置。

▸ 展开 SKILL.md 英文原文

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.

开发编程错误处理观测OpenTelemetry通用
110
Stars
14
Forks
40
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/EliasOulkadi/shokunin/master/.pack/skills/error-handler/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/EliasOulkadi/shokunin/master/.pack/skills/error-handler/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有