observability-checklist
Reviews a service or codebase against a full observability checklist — logs, metrics, traces, and alerting gaps.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Reviews a service or codebase against a full observability checklist — logs, metrics, traces, and alerting gaps.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Runs a systematic checklist review on any code diff or file, covering correctness, security, performance, and readability.
Writes a high-quality CLAUDE.md, .cursorrules, or .windsurfrules file that gives a coding agent the right project context, conventions, and constraints to work effectively.
Designs an eval suite for an LLM agent or pipeline including success metrics, trajectory scoring, LLM-as-judge setup, and regression test cases.
Designs a hybrid retrieval pipeline combining dense vector search and BM25 sparse search with reciprocal rank fusion, and explains when to use each configuration.
Converts a workflow description into a LangGraph node/edge graph with typed state, conditional routing, and human-in-the-loop checkpoints.
Audits an AI application for unnecessary token spend and recommends prompt caching, model routing, and token reduction techniques to cut costs.
| name | Observability Checklist |
| description | Reviews a service or codebase against a full observability checklist — logs, metrics, traces, and alerting gaps. |
| category | devops |
| tags | ["observability","monitoring","logging","tracing","sre"] |
| author | simplyutils |
This skill reviews a service or codebase against a comprehensive observability checklist covering structured logging, metrics instrumentation, distributed tracing, alerting, dashboards, and runbooks. It identifies gaps that would make it hard to diagnose incidents, detect regressions, or understand the system's health. The output is a prioritized list of missing observability with recommendations for each gap.
Use this when building a new service, when preparing for an on-call rotation, after an incident where you couldn't figure out what happened, or as part of a production readiness review.
Copy this file to .agents/skills/observability-checklist/SKILL.md in your project root.
Then ask:
server/routes/orders.ts using the Observability Checklist skill."Provide the service description, relevant code files, and information about what observability tooling is already in place (e.g., "we use Datadog, we have some logging but no tracing").
Add the instructions below to your .cursorrules or paste them into the Cursor AI pane with the service description and code.
Provide the service overview and code. Ask Codex to follow the instructions below to produce the observability gap report.
When asked to review observability, evaluate the service against every item in this checklist:
Must have
Should have
Log coverage gaps to check
Must have
/health or /ping) returning 200 when healthyShould have
Common gaps
Should have if the service has multiple components
Common gaps
Must have
Should have
Common gaps
Should have
## Observability Review — [Service Name]
### Score
- Logging: N/10
- Metrics: N/10
- Tracing: N/10
- Alerting: N/10
- Overall readiness: [Not ready / Needs work / Good / Excellent]
---
### Critical Gaps (would make incident diagnosis impossible)
#### 1. [Gap title]
- **Pillar**: [Logging / Metrics / Tracing / Alerting]
- **Problem**: [What's missing and why it matters]
- **Recommendation**: [Specific change to make]
- **Effort**: [Small / Medium / Large]
### High-Priority Gaps
[Same format]
### Low-Priority / Nice-to-Have
[Same format]
### What's Already Good
[Brief acknowledgment of observability that's already in place]
Input to Agent:
"Use the Observability Checklist skill on our Node.js orders service. We use console.log for logging, we have a /health endpoint, we track errors in Sentry, but we don't have any metrics or tracing set up. We do have Datadog available."
Output from Agent:
Observability Review — Orders Service
Score
- Logging: 3/10 (unstructured, no correlation IDs)
- Metrics: 2/10 (only crash errors via Sentry, no latency/throughput)
- Tracing: 0/10 (not configured)
- Alerting: 2/10 (Sentry sends emails, no PagerDuty, no latency alerts)
- Overall readiness: Needs work
Critical Gaps
1. Unstructured logging (console.log)
- Pillar: Logging
- Problem:
console.logoutput cannot be queried, filtered, or correlated. During an incident, you can't find all logs for a specific request or user.- Recommendation: Replace
console.logwith a structured logger likepinoorwinston. Output JSON withlevel,timestamp,message, and arequestIdfield.- Effort: Medium (2–4 hours for initial setup + incrementally replacing log calls)
2. No latency or throughput metrics
- Pillar: Metrics
- Problem: You have no way to know if order creation is getting slower. A 10x latency increase would go undetected until users complain.
- Recommendation: Instrument with
dd-trace(Datadog APM) to auto-capture HTTP request latency, throughput, and error rates. Takes under 1 hour to set up.- Effort: Small
3. No on-call alerting
- Pillar: Alerting
- Problem: Sentry sends emails, but emails don't wake anyone up at night. A critical orders outage could go undetected for hours.
- Recommendation: Create a Datadog monitor for
error_rate > 5%andp99_latency > 2000ms, routed to PagerDuty.- Effort: Small