observability
Skill17 starsChanged 55 days agoMITView on GitHub
Designs and reviews production observability using structured logging, NDJSON, metrics, SLIs and SLOs, distributed tracing, OpenTelemetry, dashboards, alerts, telemetry pipelines, redaction, retention, and cost controls. Use when instrumenting services, defining log schemas, correlating microservices, designing monitoring or alerting, reviewing telemetry cardinality, or diagnosing whether production signals can answer operational questions.
87 other projects use a version of this.
Adopted by
Most recently taken up by
- juninmd/skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- Ingvord/legendary-bassoontheir own version, first seen Nov 8, 2026
- sundaram2021/claude-code-observability-systemtheir own version, first seen Nov 8, 2026
- Mehul72/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use gitops, background-jobs and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
kcns008Skillgitops
GitOps Agent (Flow) — manages ArgoCD applications, Helm charts, Kustomize overlays, deployment strategies (canary, blue-green, rolling), multi-cluster GitOps, and drift detection for Kubernetes and OpenShift clusters.
Also in 4 projects that use this
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 4 projects that use this
Mushfiqur-Rahman-RobinSkillrag-systems
Best practices for building Retrieval-Augmented Generation systems — chunking, embedding, hybrid retrieval, reranking, indexing, caching, evaluation, observability — plus a catalog of RAG patterns and when each applies.
Also in 3 projects that use this
YepAPISkilldata-pipelines
ETL patterns, cron scheduling, queue-based processing, and batch jobs with Inngest/BullMQ.
Also in 4 projects that use this
wpankSkillcaching
Caching strategies, invalidation, eviction policies, HTTP caching, distributed caching, and anti-patterns. Use when designing cache layers, choosing eviction policies, debugging stale data, or optimizing read-heavy workloads.
Also in 5 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 13 projects that use this
Other versions87 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 87
- openai/plugins★ 7.8ksame name
- BuilderIO/agent-native★ 7.6ksame name
- brianlovin/briOS★ 2.3ksame name
- lablup/backend.ai★ 679same name
- DevelopersGlobal/ai-agent-skills★ 216same name
- kid-sid/claude-spellbook★ 190same name
- YougLin-dev/Aha-Loop★ 181same name
- proyecto26/system-design-skills★ 118same name
- TheBeardedBearSAS/claude-craft★ 108same name
- AsiaOstrich/universal-dev-standards★ 84same name
77 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository53 other files it gives its agents.
- agents-sdkSkill
- agent-workflowSkill
- api-designSkill
- aws-iamSkill
- bash-shell-scriptingSkill
- cicd-github-actionsSkill
- cloudflare-email-serviceSkill
- cloudflareSkill
- cloudflare-waf-authorSkill
- cloudflare-workers-authorSkill
- cloud-platformsSkill
- codebase-security-auditSkill
- containers-orchestrationSkill
- core-engineeringSkill
- database-postgresqlSkill
- databricksSkill
- data-engineeringSkill
- distributed-transactionsSkill
- documentation-standardsSkill
- domain-driven-designSkill
- durable-objectsSkill
- frontend-engineeringSkill
- git-workflowSkill
- go-rust-systemsSkill
- iam-security-advisorSkill
- independent-verificationSkill
- infrastructure-iacSkill
- kubernetes-containersSkill
- kubernetes-operator-developmentSkill
- mcp-developmentSkill
- memory-architectureSkill
- multi-perspective-reviewSkill
- networking-transportSkill
- oktaSkill
- pdf-exportSkill
- python-developmentSkill
- reactflow-architecture-diagramsSkill
- sandbox-sdkSkill
- scripting-automationSkill
- security-testingSkill
- service-resilienceSkill
- single-file-dashboardSkill
- skills-compositionSkill
- skills-continuous-improvementSkill
- snowflakeSkill
- system-designSkill
- typescript-javascriptSkill
- web-perfSkill
- web-research-kb-refreshSkill
- workers-best-practicesSkill
- workload-identitySkill
- wranglerSkill
- zero-trustSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 70 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Start with critical journeys, SLIs, SLOs, failure modes, and the questions an operator must answer during an incident.
- Distinctive: line 17
Use metrics for bounded aggregate behavior, traces for request and dependency paths, and logs for discrete events requiring detailed …
- Distinctive: line 24
Keep metric labels and span names bounded.
- Distinctive: line 26
Treat telemetry as sensitive data.
- Distinctive: line 28
Keep security audit events separate from ordinary application logs when integrity, access, or retention requirements differ.
- Distinctive: line 50
Do not begin with a vendor, agent, collector, dashboard, or list of fields.
- Very specific: line 97
Use the structured logging reference (${HANDBOOK_ROOT}/skills/observability/references/structured-logging.md), the metrics and alerting …
- Distinctive: line 107
Prefer vendor-neutral instrumentation and OpenTelemetry Protocol (OTLP) at service boundaries where ecosystem support is mature.
- Distinctive: line 126
Start service dashboards with:
- Distinctive: line 134
Use multi-window burn-rate alerts where an SLO supports them.
- Distinctive: line 151
Verify from generated telemetry in the target backend, not only from unit tests or local console output.
“Common” is measured: kept by at least 6 in 10 of the 70 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Observability
Design observability from operational questions and user-visible outcomes. Do not add logs, metrics, or spans merely to satisfy a three-pillars checklist. Each signal must support a diagnostic, reliability, security, or business decision at an acceptable cost.
Observability Contract
- Start with critical journeys, SLIs, SLOs, failure modes, and the questions an operator must answer during an incident.
- Use metrics for bounded aggregate behavior, traces for request and dependency paths, and logs for discrete events requiring detailed context.
- Emit structured logs. For container streams, prefer one JSON object per
physical line on
stdoutorstderr; let the platform collect and rotate logs. - Propagate W3C trace context across process boundaries and correlate logs with valid trace and span identifiers when context exists.
- Keep metric labels and span names bounded. Never use user IDs, request IDs, email addresses, raw URLs, or other unbounded values as metric labels.
- Treat telemetry as sensitive data. Minimize, classify, redact, retain, and authorize it deliberately.
- Keep security audit events separate from ordinary application logs when integrity, access, or retention requirements differ.
- Bound telemetry queues, retries, memory, disk, network, and cost. Define which data may be sampled or dropped under pressure.
- Alert on actionable user impact or imminent budget exhaustion. Every page needs an owner, urgency, evidence, and runbook.
- Instrument the telemetry pipeline itself so loss, refusal, delay, and cost are visible.
Workflow
1. Define Questions and Reliability Targets
State:
- critical user journeys and owners;
- availability, latency, correctness, freshness, and durability SLIs;
- SLO windows and error budgets;
- known failure and overload modes;
- forensic or regulatory requirements;
- incident questions the current system cannot answer.
Do not begin with a vendor, agent, collector, dashboard, or list of fields.
2. Select the Smallest Useful Signals
Choose signals by purpose:
- Metrics: rates, ratios, distributions, saturation, queue age, and resource budgets that need efficient aggregation and alerting.
- Traces: end-to-end latency, dependency paths, retries, fan-out, and request-scoped failure analysis.
- Logs: state transitions, classified failures, policy decisions, recovery actions, and bounded diagnostic details.
- Profiles: code-level resource attribution when sampling overhead and runtime support are acceptable.
One event may contribute to several signals, but avoid recording the same large payload in each.
3. Define Signal Contracts
For logs, define:
- event name and schema version;
- event and observed timestamps;
- severity semantics;
- service resource identity and deployment environment;
- trace, span, request, correlation, and causation identifiers where relevant;
- allowed attributes, sensitivity classification, size limit, and retention;
- exception shape and redaction behavior.
For metrics, define:
- user-visible or resource outcome;
- type, unit, monotonicity, and aggregation;
- bounded label set and estimated worst-case series count;
- collection interval and retention;
- SLI numerator, denominator, exclusions, and missing-data behavior.
For traces, define:
- propagation format and trust boundary;
- stable low-cardinality span names;
- semantic attributes and error status;
- head or tail sampling policy;
- baggage allowlist, size, and sensitivity policy;
- maximum attributes, events, links, and payload sizes.
Use the structured logging reference
(${HANDBOOK_ROOT}/skills/observability/references/structured-logging.md), the
metrics and alerting reference
(${HANDBOOK_ROOT}/skills/observability/references/metrics-slos-alerting.md),
and the tracing and pipeline reference
(${HANDBOOK_ROOT}/skills/observability/references/tracing-telemetry-pipelines.md)
for detailed contracts.
4. Design Collection and Export
Prefer vendor-neutral instrumentation and OpenTelemetry Protocol (OTLP) at service boundaries where ecosystem support is mature. Keep instrumentation libraries separate from exporter and backend selection.
Define:
- process, node, sidecar, agent, and gateway responsibilities;
- batching, queue, retry, timeout, and backpressure limits;
- behavior during backend outage or collector saturation;
- egress allowlists, authentication, encryption, and tenant isolation;
- schema transformation and enrichment ownership;
- data residency, retention, deletion, and archive policy;
- cost budgets by signal, tenant, service, and environment.
A persistent collector queue reduces some losses but is not a no-loss guarantee. Document overflow, expiry, disk failure, and shutdown behavior.
5. Build Dashboards and Alerts
Start service dashboards with:
- SLI attainment and error-budget consumption;
- request or job rate, errors, and latency distribution;
- saturation, queue age, rejected work, and dependency health;
- deployment, configuration, and feature-flag changes;
- telemetry pipeline health and data freshness.
Use multi-window burn-rate alerts where an SLO supports them. Page only for urgent, actionable conditions. Route slower budget consumption and maintenance risks to tickets or planned work.
6. Verify End to End
Test:
- schema validity and single-line encoding;
- redaction against representative secrets and sensitive fields;
- trace propagation through asynchronous and synchronous boundaries;
- metric cardinality under worst-case inputs;
- SLI calculations, alert firing, inhibition, routing, and recovery;
- collector backpressure, queue overflow, restart, and backend outage;
- telemetry delay, duplication, sampling, and loss;
- dashboard and runbook usability during a controlled failure.
Verify from generated telemetry in the target backend, not only from unit tests or local console output.
Required Review Output
For an observability design or review, provide:
- operational questions, critical journeys, and SLOs;
- signal contracts and correlation strategy;
- sensitivity, redaction, retention, and access policy;
- metric cardinality and telemetry volume estimates;
- collection, export, buffering, retry, and loss behavior;
- dashboards, alerts, owners, and runbooks;
- verification plan and known blind spots;
- cost budget and conditions for reducing telemetry.
Anti-Patterns
- Logging prose and parsing it later with fragile regular expressions.
- Writing application log files inside containers without an explicit platform requirement.
- Treating NDJSON as the only valid telemetry transport.
- Logging raw request or response bodies, tokens, credentials, or unrestricted exception context.
- Putting user, request, session, or raw path identifiers in metric labels.
- Generating a new trace or correlation ID at every service hop.
- Marking every span as an error because the business operation was declined.
- Sampling required audit events without a policy that preserves obligations.
- Alerting on CPU alone without connecting it to user impact or capacity risk.
- Unbounded collector queues or retries presented as loss prevention.
- Assuming observability storage is an immutable audit system.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

