Purpose
Use this skill to make runtime behavior diagnosable by adding logs, metrics, and traces with clear correlation.
When to use
- •Any change that affects runtime behavior or error handling.
- •Any time you are unsure which observability signals are required.
How to use
- •
Open
references/observability.mdand follow the templates. - •
Define the operations that need to be observable (user-facing or system-facing actions).
- •
Identify correlation identifiers (request_id / job_id / trace_id) and ensure they are logged consistently.
- •
Add the minimum log events: start / outcome / failure, with required fields.
- •
Add metrics for errors and latency (expand to golden signals if relevant).
- •
Add trace spans and ensure logs and metrics are correlated via identifiers.
- •
Apply safety rules (no secrets/PII; follow OWASP/NIST logging guidance).
- •
Control noise (sampling, throttling, or once-only logging).
Output expectation
- •Record decisions in the Observability Plan.
- •Ensure the quality gate’s observability checklist passes.