Oma observability

From first-fluke/fullstack-starter · View interactive version

Oma observability is an AI agent skill from the GitHub repository first-fluke/fullstack-starter. Design or troubleshoot telemetry, SLOs, and incident diagnostics. Route to the relevant signal, system boundary, or vendor guide.

How to use this skill

Skill file

Observability Agent - Intent-based Router

Scheduling

Goal

Route, design, tune, and review observability work across MELT+P signals, layers, boundaries, vendor categories, transport choices, meta-observability, and incident forensics.

Intent signature

When to use

When NOT to use

Expected inputs

Expected outputs

Dependencies

Load resources conditionally: start with the execution protocol and one intent guide. Read only relevant matrix rows, then add a boundary, signal, or transport section when evidence requires it. The reference list is an index, not a preload list.

Control-flow features

Structural Flow

Entry

  1. Classify the intent: setup, migrate, investigate, alert, trace, tune, or route.
  2. Identify layers, boundaries, signals, and vendor category.
  3. Load only the relevant resource guide(s).

Scenes

  1. PREPARE: Classify intent and matrix coverage.
  2. ACQUIRE: Read configs, topology, telemetry examples, or incident signals.
  3. REASON: Route vendor/category, tune transport, assess meta-observability, or localize incident.
  4. ACT: Produce setup/migration/tuning/alert/trace/forensics guidance or config changes.
  5. VERIFY: Check pipeline health, clock skew, cardinality, retention, privacy, and audit concerns.
  6. FINALIZE: Report route, evidence, risks, and handoff references.

Transitions

Failure and recovery

Exit

Logical Operations

Actions

| Action | SSL primitive | Evidence |

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

| Classify observability intent | SELECT | Intent rules |

| Read telemetry/config evidence | READ | OTel/vendor configs, dashboards, samples |

| Route vendor/category | SELECT | Vendor categories |

| Infer coverage gaps | INFER | Matrix and signal/boundary mapping |

| Validate meta-observability | VALIDATE | Clock, cardinality, retention, health |

| Write guidance/config | WRITE | OaC/config/docs when requested |

| Notify result | NOTIFY | Routed recommendation |

Tools and instruments

Canonical workflow path

1. Classify intent: setup, migrate, investigate, alert, trace, tune, or route.
2. Select layer/boundary/signal coverage from `resources/matrix.md`.
3. Load the specific vendor, transport, incident, or signal guide before producing guidance.

When CNCF/vendor status is load-bearing, verify live state at https://landscape.cncf.io.

Resource scope

| Scope | Resource target |

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

| CODEBASE | Observability config, dashboards, alert rules, instrumentation |

| LOCAL_FS | Resource guides and generated docs |

| NETWORK | Vendor/CNCF status and telemetry backends when checked |

| USER_DATA | Incident symptoms, logs, metrics, traces, profiles |

Preconditions

Effects and side effects

Guardrails

  1. Classify intent and use resources/vendor-categories.md only when category selection or vendor delegation is needed.
  2. Load the transport guide matching the observed problem: UDP/MTU, OTLP protocol, Collector topology, or sampling.
  3. Before declaring a setup complete, verify pipeline health, clock synchronization, cardinality limits, and retention against the project's requirements. Record checks that could not run.
  4. Verify current upstream support, attribute stability, and migration guidance when they affect the recommendation. Use official project documentation and CNCF status; stored versions are assumptions, not proof of current status.
  5. Use W3C Trace Context by default, with cloud translations from resources/boundaries/cross-application.md where required.
  6. Apply PII redaction and sampling-aware baggage controls at collection. Check retention, erasure, and audit requirements for the target system.
  7. Deliver working configuration or explicitly labeled proposals. Scaffolds and unverified checks cannot count as completed setup.

The coverage matrix has four layers (L3, L4, mesh, L7), four boundaries (multi-tenant, cross-application, SLO, release), and seven signals (metrics, logs, traces, profiles, cost, audit, privacy). Read matching rows in resources/matrix.md; N/A cells do not require implementation.

Routes (Intent)

| Intent | Primary target | Fallback |

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

| setup | resources/vendor-categories.md → vendor-owned skill | Generic OTel semconv in resources/standards.md |

| migrate | Current upstream migration docs + resources/vendor-categories.md log-pipeline section | OTel Collector bridge config |

| investigate | resources/incident-forensics.md (MRA + 6-dim localization) | resources/signals/traces.md + resources/signals/logs.md |

| alert | resources/boundaries/slo.md (burn-rate alert rules) | resources/observability-as-code.md |

| trace | resources/boundaries/cross-application.md (propagator matrix) | resources/layers/mesh.md (zero-code auto-instrumentation) |

| tune | resources/transport/ (4 files: UDP/MTU, OTLP, topology, sampling) | resources/meta-observability.md (cardinality guardrails) |

| route | resources/boundaries/multi-tenant.md + resources/transport/collector-topology.md | resources/boundaries/cross-application.md (data residency) |

Invocation and loading

For example: /oma-observability --investigate "5xx spike in checkout".

Other skills pass the intent, system boundary, and evidence; the result returns guidance, checks, and any vendor handoff.

Read resources/execution-protocol.md first. Use the selected route above, then only relevant checklist sections before delivery. Load resources/examples.md for an unfamiliar output shape and resources/anti-patterns.md only for the affected category. Do not load all transport, layer, boundary, and signal guides together.

Integrations with OMA Ecosystem

| Skill | Integration point |

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

| oma-debug | On failure: pull traces + logs by request_id → trigger resources/incident-forensics.md 6-dim localization playbook |

| oma-qa | Canary post-deploy loop via chrome-devtools MCP: console errors + Core Web Vitals trend; INP/LCP/CLS from resources/layers/L7-application/web-rum.md |

| oma-tf-infra | Terraform modules for OTel Collector, Grafana, and Loki stack provisioning |

| oma-scm | Deployment SHA → service.version OTel attribute + release marker events; see resources/boundaries/release.md |

| oma-backend | Propagator and baggage rules; DB N+1 + Kafka patterns in resources/signals/traces.md. Back-reference: oma-backend/SKILL.md §References "Observability handoff" |

| oma-frontend | resources/layers/L7-application/web-rum.md INP/LCP/CLS checklist. Back-reference: oma-frontend/SKILL.md §References "Observability handoff" |

| oma-mobile | resources/layers/L7-application/mobile-rum.md offline-queuing pattern. Back-reference: oma-mobile/SKILL.md §References "Observability handoff" |

| oma-db | resources/signals/traces.md DB patterns (N+1, connection pool). Back-reference: oma-db/SKILL.md §References "Observability handoff" |

Versioning & Deprecation

Contribution Protocol

References

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.