Borrowing it
Nothing to install: this file belongs to sourjya/kiro-rails. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sourjya/kiro-rails/main/.claude/commands/review-observability.mdgit clone --depth 1 https://github.com/sourjya/kiro-railsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/sourjya/kiro-rails/review-observability)<a href="https://agentmods.dev/commands/sourjya/kiro-rails/review-observability"><img src="https://agentmods.dev/badge/commands/sourjya/kiro-rails/review-observability/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/sourjya/kiro-rails/review-observability"><img src="https://agentmods.dev/badge/commands/sourjya/kiro-rails/review-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.02924 |
| Opus 5 | $0.00016 | $0.01462 |
| Sonnet 5 | $0.00007 | $0.00585 |
| Haiku 4.5 | $0.00003 | $0.00292 |
Grade A, and why
review-observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Before scanning, read docs/decisions/ ADRs and any SLO/SLI documentation if they exist. Use documented observability decisions to distinguish intentional gaps (acceptable risk) from accidental omissions.
Act as a principal-level site reliability engineer and observability architect performing a comprehensive observability and production debuggability audit.
Your mission is not to verify that logging exists. It is to determine whether the observability layer would allow an on-call engineer, woken at 3 AM, to diagnose a production incident from telemetry alone - without reading source code, adding temporary logging, or asking the original developer. Telemetry that exists but cannot answer "what broke, where, and why" is noise, not observability.
Review Objectives
Identify:
-
Structured logging quality. Log statements that use unstructured text (
print,console.log, string interpolation) instead of JSON-structured output. Missing mandatory fields:timestamp,level,service,correlation_id,message. Inconsistent log level discipline -INFOused for debug-level detail,ERRORused for expected business conditions,WARNused without actionable follow-up. Sensitive data (PII, tokens, passwords, session IDs, internal paths) appearing in log output without masking. Log messages that are generic ("something went wrong", "error occurred") without operation context, input summary, or error category. -
Correlation ID and context propagation. Missing correlation ID generation at system entry points (API gateway, message consumer, scheduled job). HTTP requests that do not propagate correlation IDs via headers (
X-Request-ID,X-Correlation-ID, or equivalent). Async boundaries (queues, event buses, background tasks, worker threads) where correlation context is lost. MDC/thread-local/async-local injection gaps where log statements within a request lack the correlation ID. Inconsistent correlation ID field naming across services (request_idvscorrelation_idvstrace_id). -
Distributed tracing. Missing or incomplete OpenTelemetry (or equivalent) instrumentation. Span naming that is too generic (
HTTP request,db query) to identify the operation. Errors not recorded on spans viaspan.record_exception()andspan.set_status(ERROR). Missing sampling configuration - either no sampling (100% in production is expensive) or aggressive sampling that drops error traces. Trace-log correlation gaps where log entries cannot be joined to their parent trace viatrace_idandspan_idfields. Missing spans at service boundaries: outbound HTTP calls, database queries, cache operations, queue publish/consume. -
Metric naming conventions. Metric names that do not follow Prometheus (
snake_case, unit suffix) or CloudWatch (PascalCase, namespace/dimension) conventions consistently. High-cardinality label values (user IDs, request paths with dynamic segments, full URLs) that will explode metric storage. Missing standard metrics: request rate, error rate, latency histograms (p50/p95/p99), saturation (queue depth, connection pool usage, thread pool utilization). Metrics that measure activity but not outcomes - counting invocations without tracking success/failure/duration. Inconsistent unit suffixes (_secondsvs_msvs_durationvs no suffix). -
CloudWatch alarm coverage. Services, Lambda functions, queues, or databases without alarms on their critical failure modes. Missing composite alarms that correlate related signals (e.g., high error rate AND high latency AND queue depth growing). Alarms with static thresholds on metrics that have natural variance - missing anomaly detection where appropriate. Alarm actions that notify but do not escalate - no PagerDuty/SNS/OpsGenie integration for CRITICAL alarms. Missing alarms on: 5xx error rate, Lambda throttles and errors, SQS dead-letter queue depth, DynamoDB throttled requests, RDS connection count and CPU, API Gateway 4xx/5xx rates.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 161 lines · 33 tokens per session scan A 154cbfd16639
review-observability is a command published in the GitHub repository sourjya/kiro-rails (9 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 2,924 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
qa-changes
This skill should be used when the user asks to "QA a pull request", "test PR changes", "verify a PR works", "functionally test changes", or when an automated workflow triggers QA validation of code changes. Provides a structured methodology for setting up the environment, exercising changed behavior, and reporting…
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
fix
Universal debugging and fix application with semantic code analysis.
doctor
Badi configuration validation. Checks all Badi components and produces a diagnostic report.
http-service
Build, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
gh-issue-use-cypress
Like /gh-issue-use-browser, but pinned to the Cypress MCP — use when your project runs the Cypress MCP for browser automation. Example — /gh-issue-use-cypress "Composer > Save" saving toasts failure but the record persists.