agentleFS
sivaprasadreddysivaprasadreddy/sivalabs-agent-skills/skills/observability/SKILL.md

observability

Skill198 starsChanged 4 days agoMITView on GitHub

Design application observability through structured logs, metrics, traces, correlation, health signals, and actionable operational diagnostics.

103 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • kcns008Skill

    gitops

    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 5 projects that use this

  • YepAPISkill

    background-jobs

    Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

    Also in 5 projects that use this

  • Mushfiqur-Rahman-RobinSkill

    rag-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

  • ffsshhttiikkSkill

    chaos-engineering

    Resilience testing through controlled experiments

    Also in 6 projects that use this

  • jholhewresSkill

    dora-metrics

    Calculate DORA metrics from git + deploy logs

    Also in 3 projects that use this

  • wpankSkill

    caching

    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 6 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 85 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure developers and operators can understand application behavior, detect problems, and diagnose failures in production.

    line 9
  2. Distinctive:

    Use when designing services, adding workflows or integrations, preparing production releases, or investigating incidents.

    line 12
  3. Distinctive:

    Use structured, consistently named logs with useful context.

    line 16
  4. Distinctive:

    Use metrics for aggregate behavior and alerting.

    line 17
  5. Distinctive:

    Never log passwords, tokens, secrets, payment data, or unnecessary personal information.

    line 19
  6. Distinctive:

    Prefer actionable alerts tied to user impact or service objectives.

    line 21
  7. Distinctive:

    Keep telemetry cardinality and volume under control.

    line 22
  8. Distinctive:

    Ensure observability data has access controls and retention policies.

    line 23
  9. Distinctive:

    Add structured logs, metrics, traces, and context propagation.

    line 39
  10. Distinctive:

    Verify telemetry during success and failure scenarios.

    line 42
  11. Distinctive:

    Prefer stable event names and structured fields over parsing free-form text.

    line 47
  12. Distinctive:

    Avoid logging the same exception at every layer.

    line 49
  13. Distinctive:

    Do not add telemetry that has no diagnostic, operational, or product value.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 85 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Observability

Purpose

Ensure developers and operators can understand application behavior, detect problems, and diagnose failures in production.

When to use

Use when designing services, adding workflows or integrations, preparing production releases, or investigating incidents.

Principles

  • Instrument important user and business workflows, not just infrastructure.
  • Use structured, consistently named logs with useful context.
  • Use metrics for aggregate behavior and alerting; traces for request flow and latency attribution; logs for detailed event context.
  • Propagate trace and correlation context across asynchronous and synchronous boundaries.
  • Never log passwords, tokens, secrets, payment data, or unnecessary personal information.
  • Make health checks reflect meaningful readiness and liveness without creating cascading failures.
  • Prefer actionable alerts tied to user impact or service objectives.
  • Keep telemetry cardinality and volume under control.
  • Ensure observability data has access controls and retention policies.

Minimum signals

For each production component, consider:

  • Request/job throughput.
  • Error and failure rates.
  • Latency distributions, not only averages.
  • Saturation and resource utilization.
  • Dependency availability and latency.
  • Queue depth and age for asynchronous work.
  • Business-level outcomes for critical workflows.

Workflow

  1. Identify critical user journeys and business operations.
  2. Define service-level indicators (SLIs) such as availability, latency, correctness, or freshness.
  3. Establish service-level objectives (SLOs) where appropriate.
  4. Add structured logs, metrics, traces, and context propagation.
  5. Define dashboards that answer operational questions.
  6. Define alerts with severity, ownership, and response guidance.
  7. Verify telemetry during success and failure scenarios.
  8. Review telemetry cost, privacy, retention, and access.

Logging guidance

  • Include timestamp, severity, component, event name, and correlation/trace identifiers where appropriate.
  • Prefer stable event names and structured fields over parsing free-form text.
  • Log state transitions and consequential failures.
  • Avoid logging the same exception at every layer.
  • Sanitize untrusted values to prevent log injection.
  • Separate diagnostic detail from user-facing error messages.

Review checklist

  • Can operators identify whether users are affected?
  • Can a request be followed across components?
  • Are latency and error distributions visible?
  • Are dependency and queue failures visible?
  • Are alerts actionable and owned?
  • Is sensitive data excluded?
  • Are retention and access controls defined?

Do not add telemetry that has no diagnostic, operational, or product value.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.