This skill should be used when the user asks about "observability" or "monitoring", what "metrics, logs, and traces" to collect, "health checks" (liveness/readiness), "alerting" or "on-call", "SLO/SLI" or "error budgets", the "RED" or "USE" method, "dashboards", or names a tool like "Prometheus", "Grafana", or "Datadog". Use it whenever a design has no answer to "how would we know this is broken?" or "what do we alert on?" — i.e. any time failure would be invisible until users complain, even if the user doesn't say "observability".
npx skills add https://github.com/proyecto26/system-design-skills --skill observability
Decide *what to measure* so a system can be seen, alerted on, and debugged in
production. Getting this wrong is failure mode #6 — ignoring failure: a design
that works on the whiteboard but goes dark under load, where the first signal of
an outage is a user complaint instead of a page.
Any production design needs an answer to "how would we know this broke, and how
fast?" Reach for this when defining what the system measures, what pages a human,
what an acceptable level of service is (SLO), or how a request is traced across
services. It is the design move that makes every *other* block's stress section
real — you cannot mitigate a thundering herd or a hot shard you can't see.
Do not build a full metrics-logs-traces stack for a prototype or an internal tool
with no users to disappoint (YAGNI) — a health check and error logging are
enough. Do not invent SLOs nobody will defend, or wire alerts before knowing the
symptom that matters; an alert with no owner and no runbook is noise that trains
the team to ignore pages. This skill owns *what* to measure and alert on; the
high-volume log pipeline (collect → buffer → ship → index → retain) lives in
distributed-logging — summarize and link, don't rebuild it here.
experience (slow checkout, failed upload) — alerts target this, not CPU.
sets the error budget and the alert thresholds. (→ back-of-the-envelope for the nines.)
high-cardinality labels (user ID, URL) blow up a metrics store.
(CPU/disk/queues) as the measurement frame.
its keep; a single service may not need it yet.
The three pillars (complementary, not either/or):
dashboards, trend analysis, and *alerting* — the always-on signal.
after an alert fires. (The pipeline that moves them is distributed-logging.)
find *which* service or dependency is the latency/error source.
What to measure (pick a frame per component):
APIs, web tiers, anything serving requests.
memory, disk, connection pools, queues.
use as the default service dashboard.
Health checks (the signal, consumed by load-balancing/orchestrator):
it cheap; don't check dependencies. Use to recover stuck processes.
done)? Failure ⇒ *pull from rotation, don't restart*. Use to gate cold/struggling instances.
Alerting:
the default; it is actionable and low-noise.
Use for capacity planning, not paging.
| Option | What it solves | What it worsens | Change it when |
|---|---|---|---|
| Metrics | Cheap, always-on alerting + trends | No per-request detail; high-cardinality labels explode storage/cost | You need to debug a *specific* request → add traces/logs |
| Logs | Rich context for debugging an incident | Volume + cost; needs the distributed-logging pipeline to scale | Volume is unmanageable → sample, or shift detail to metrics |
| Traces | Pinpoints the slow/failing hop across services | Instrumentation effort; sampling needed at high QPS | Single-service or low volume → defer; metrics suffice |
| RED | Right frame for request services | Misses resource exhaustion that hasn't yet hurt requests | Component is a resource (queue, disk) → use USE |
| USE | Catches saturation before it hurts users | Resource-centric, not user-centric; can be noisy | Alerting on it → switch to symptom/SLO-based |
| Liveness check | Recovers deadlocked processes | Too aggressive ⇒ restart loops, mask real bugs | Restarts hide a crash-loop → fix readiness/root cause |
| Readiness check | Keeps cold/broken instances out of rotation | Flapping if it checks flaky deps ⇒ capacity yo-yo | All instances fail readiness together → it's a dep outage |
| SLO/error budget | Ties alerting + release pace to user pain | Effort to define + defend; wrong SLO misleads | Budget never burns (too loose) or always burns (too tight) |
| Symptom alerting | Low-noise, actionable pages | Slightly slower to localize root cause | Need faster localization → add cause-based *tickets* (not pages) |
Observability is most needed exactly when it's most likely to break or mislead.
turns a slow log backend into request latency. Per-request trace export with no
sampling melts the collector under a spike. Keep telemetry async and sampled so
it degrades the *signal*, never the service.
merely slow, and readiness flaps yank capacity mid-spike — making the spike
worse. The gating/recovery behavior is owned by load-balancing and
resilience-failure; this block owns defining a *stable* signal (sane
thresholds, consecutive-failure counts, deps in readiness not liveness).
user_id or raw URL multiplies time seriesinto the millions and OOMs the metrics store under load — drop or bucket
high-cardinality dimensions.
on-call drowns. Alert on the user-facing symptom; group/inhibit downstream alerts.
fix worked and whether recovery traffic is overwhelming a cold tier.
Monitor: the four golden signals per service (rate, errors, latency p50/p95/p99,
saturation), SLO error-budget burn rate, healthy-host count and probe flap rate,
and the telemetry pipeline's own lag/drop rate (watch the watcher).
request volume/cardinality, and whether the path is multi-service (see *Clarify
first*). No SLO yet? Define the symptom first; the number follows.
always; RED for services and USE for resources; add traces only when a request
crosses services or volume justifies it.
readiness, not liveness), consecutive-failure thresholds, trace sample rate, and
the SLO + error-budget policy. Drop high-cardinality labels up front.
async/sampled, probes won't stampede, cardinality is bounded, and alerts group
by root cause so one outage isn't fifty pages.
trace/log sample volume against the QPS, and that the SLO's nines match the
architecture's redundancy (→ *Numbers that matter*).
if the user named a cloud (see *Choosing a provider*).
Change it when…` table with one row per choice you made here (e.g. the
option, its store, its failure policy); the last column is a concrete trigger
(a number or observable signal). Then name what breaks first.
Do
Don't
distributed-logging.The SLO sets everything else: 99.9% over 30 days allows ~43 minutes of budget; if
the architecture's redundancy can't deliver those nines, the SLO is fiction (→
back-of-the-envelope for the availability-nines table). Alert on p95/p99, not
averages — averages hide tail pain. Sample traces (often 1–10% at high QPS) so cost
scales sub-linearly with traffic. Watch metric cardinality (series ≈ product of
label values): one unbounded label can mean millions of series. Don't restate the
latency/QPS/nines tables — they live in back-of-the-envelope.
Telemetry has contracts worth pinning down. A metric: name + label set +
type (http_requests_total{service,method,status} counter) — labels are
low-cardinality. A health endpoint: GET /livez → 200/503 (process only),
GET /readyz → 200/503 (deps + warmup), with version/build info in the body for
debugging. A trace context: a trace_id + span_id propagated on every
inbound/outbound call (e.g. W3C traceparent header) so traces and logs correlate.
Default to the generic recipe above (Prometheus + Grafana + Loki + Jaeger, glued
by OpenTelemetry). If the user names a cloud, read
references/providers/<provider>.md for the managed-service mapping, quotas/limits,
and provider-specific trade-offs. If no file exists for that provider, the generic
recipe is the answer.
To visualize the telemetry flow (app → OpenTelemetry SDK → collector → metrics /
logs / traces backends → dashboard + alertmanager) or the alert-to-page path, use
the in-plugin architecture-diagram skill. Telemetry export uses dashed arrows to
show it is off the request path.
distributed-logging — *owned-concept lives in* there: the high-volume logpipeline (collect → buffer → ship → index → retain). This skill decides *what* to
log and alert on; that skill decides *how* to move and store it at scale.
resilience-failure — *pairs with* this: alerts and SLO burn trigger gracefuldegradation and circuit breaking, and the health-check signal defined here is the
input its failover and load-balancing health-gating consume.
scaling-evolution — *feeds into* it: saturation metrics and the golden signalsreveal the next bottleneck that justifies the next scaling step.
back-of-the-envelope — *feeds into* this skill: it supplies the availabilitynines and QPS that turn an SLO and sample rates into real numbers.
system-design — *owned-concept lives in* the orchestrator: the reasoning loop,the trade-off method, and the ten failure modes (this block defends #6).
references/deep-dive.md — pillar mechanics (histograms vs gauges, push vspull, sampling), SLI/SLO/error-budget math and burn-rate alerts, RED/USE in
detail, health-check tuning, and alert design. Read when designing the
observability layer in depth.
references/providers/{generic,aws,azure,gcp}.md — service mappings, limits,and pitfalls per environment.
Automate creating a GitHub repository and deploying a web project to Vercel. Use when the user asks to deploy a website/app to production, publish a project, or set up GitHub + Vercel deployment.
Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.
Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility. Identifies incompatibilities, generates fixes, and guides migration from AKS Standard to AKS Automatic. WHEN: migrate to AKS Automatic, check AKS Automatic readiness, validate manifests for Automatic, assess cluster for Automatic compatibility, fix deployment for Automatic compatibility, identify AKS Automatic migration blockers, is my cluster ready for AKS Automatic.
Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.
Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard/Standard/ProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).
Unified Azure OpenAI model deployment skill with intelligent intent-based routing. Handles quick preset deployments, fully customized deployments (version/SKU/capacity/RAI policy), and capacity discovery across regions and projects. USE FOR: deploy model, deploy gpt, create deployment, model deployment, deploy openai model, set up model, provision model, find capacity, check model availability, where can I deploy, best region for model, capacity analysis. DO NOT USE FOR: listing existing deployments (use foundry_models_deployments_list MCP tool), deleting deployments, agent creation (use agent/create), project creation (use project/create).
Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).
This skill should be used when working with LaminDB, an open-source data framework for biology that makes data queryable, traceable, reproducible, and FAIR. Use when managing biological datasets (scRNA-seq, spatial, flow cytometry, etc.), tracking computational workflows, curating and validating data with biological ontologies, building data lakehouses, or ensuring data lineage and reproducibility in biological research. Covers data management, annotation, ontologies (genes, cell types, diseases, tissues), schema validation, integrations with workflow managers (Nextflow, Snakemake) and MLOps platforms (W&B, MLflow), and deployment strategies.
Take proyecto26/observability from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.