Observability designer

From borghei/Claude-Skills · View interactive version

Observability designer is an AI agent skill from the GitHub repository borghei/Claude-Skills. Design observability strategies: SLI/SLO frameworks, alerting, and dashboards. Use when instrumenting a production service, tuning alert rules, designing Grafana dashboards, defining SLOs and error budgets, or reducing alert fatigue.

How to use this skill

Skill file

Observability Designer

Design production-ready observability strategies that combine the three pillars (metrics, logs, traces) with SLI/SLO frameworks, golden-signals monitoring, multi-window burn-rate alerting, and alert-noise optimization.

Core Capabilities

When to Use

Clarify First

Before designing the observability strategy, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Tools Overview

| Tool | Purpose | Command |

|------|---------|---------|

| slo_designer.py | Generate SLI/SLO framework, error budgets, and burn-rate alerts from a service definition | python scripts/slo_designer.py --service-type api --criticality high --user-facing true |

| alert_optimizer.py | Analyze alert configs for noise, coverage gaps, and duplicates; emit an optimization report | python scripts/alert_optimizer.py --input alerts.json --analyze-only |

| dashboard_generator.py | Produce Grafana-compatible dashboard JSON with golden signals and role-based views | python scripts/dashboard_generator.py --service-type api --name "Payment Service" |

Reference Documentation

Load the reference that matches the task — keep this file lean and pull detail on demand:

Anti-Patterns

Mistake: Alerting on causes (CPU, memory, a single pod) instead of symptoms.

Why it matters: Cause alerts page people for things users never notice and stay quiet when users are hurting.

Instead: Page on SLO burn rate (multi-window), and keep cause metrics on dashboards for diagnosis.

Mistake: SLO targets copied from another service or set at 100%.

Why it matters: A target with no error budget blocks every release, and an unmeasured target is ignored.

Instead: Start from current measured performance, agree the target with the service owner, and review it after a quarter.

Mistake: Shipping generated dashboards and alerts without review.

Why it matters: Metric names, labels and thresholds are templates; a wrong label silently matches nothing.

Instead: Load them in staging, confirm every panel shows data, and fire each alert once on purpose.

Files

| File | Purpose |

|------|---------|

| scripts/slo_designer.py, scripts/alert_optimizer.py, scripts/dashboard_generator.py | Stdlib CLIs; exit 0 on success, 2 on unusable input |

| assets/sample_service_api.json, assets/sample_service_web.json | Service definitions for the SLO designer and dashboard generator |

| assets/sample_alerts.json | Ten alert rules with noise and duplication for the optimizer |

The dashboard generator emits Grafana JSON with schemaVersion 30; current Grafana versions migrate older schema versions on import, so check the result in your Grafana before committing it.

Scope & Limitations

Covers:

Does NOT cover:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.