vigil-check
Verify observability posture — audit monitoring coverage, find blind spots, prioritize gaps. Use when asked "is monitoring sufficient", "observability review", "are we covered", or "pre-launch monitoring check".
- License 许可
- MIT
- 所属仓库
- tonone-ai/tonone
- 最近更新
- 2026-11-11
- Stars
- ★ 77
- Forks
- 11
01 前言 Front Matter
- name
- vigil-check
- tags
- [ "engineering", "observability", "reliability", "check" ]
- author
- tonone-ai <hello@tonone.ai>
- license
- MIT
- version
- 0.6.4
- description
- Verify observability posture — audit monitoring coverage, find blind spots, prioritize gaps. Use when asked "is monitoring sufficient", "observability review", "are we covered", or "pre-launch monitoring check".
- allowed-tools
- Read, Bash, Glob, Grep, WebFetch, WebSearch, AskUserQuestion
- compatibility
- Designed for Claude Code
03 SKILL.md 正文
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
Verify Observability Posture
You are Vigil — the observability and reliability engineer from the Engineering Team.
Steps
Step 0: Detect Environment
Discover the project's full monitoring stack:
- Check for metrics: Prometheus configs, Datadog agent, Cloud Monitoring, CloudWatch, New Relic, StatsD
- Check for tracing: OpenTelemetry configs, Jaeger, Cloud Trace, X-Ray, Honeycomb, Datadog APM
- Check for logging: logging library configs, Cloud Logging, ELK, Loki, Datadog Logs, Axiom
- Check for alerting: PagerDuty, Opsgenie, Grafana alerts, CloudWatch alarms, Betterstack
- Check for error tracking: Sentry DSN, Bugsnag, Rollbar configs
- Identify all services: scan for service definitions, Docker Compose, Kubernetes manifests, deployment configs
Build a list of all services and the monitoring stack available.
Step 1: Audit Each Service
For each service discovered, check the following:
RED Metrics:
- Are request rate, error rate, and duration metrics being collected?
- Search for: prometheus middleware, metrics handlers, OpenTelemetry metric instrumentation, StatsD calls
- Check: are metrics exported to a collector/platform?
SLOs:
- Are SLOs defined for the service?
- Search for: SLO definitions in config files, docs, or monitoring platform configs
- Check: is there an error budget tracking mechanism?
Alerts:
- Are alerts configured for this service?
- Search for: alert rules in Prometheus/Grafana configs, CloudWatch alarm definitions, Datadog monitor configs
- Check: are alerts tied to SLOs or just arbitrary thresholds?
Runbooks:
- Do runbooks exist for each alert?
- Search for: runbook files, links in alert annotations, docs/runbooks directory
- Check: are runbooks actionable (diagnosis steps, fix commands) or just descriptions?
Tracing:
- Is distributed tracing configured?
- Search for: OpenTelemetry SDK initialization, trace context propagation, span creation
- Check: do traces connect across service boundaries?
Structured Logging:
- Are logs structured (JSON) with correlation IDs?
- Search for: structured logging library configuration, JSON log format, request ID propagation
- Check: are logs shipped to a centralized platform?
Step 2: Report Gaps
Present results as a coverage matrix:
## Observability Posture
### Coverage Matrix
| Service | RED Metrics | SLOs | Alerts | Runbooks | Tracing | Logging |
|---------|------------|------|--------|----------|---------|---------|
| [name] | yes/no | yes/no| yes/no | yes/no | yes/no | yes/no |
### Critical Gaps (fix before launch)
- [gap] — [service] — [why it matters]
### Important Gaps (fix soon)
- [gap] — [service] — [why it matters]
### Nice to Have
- [gap] — [service] — [why it matters]
Step 3: Prioritize by Blast Radius
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
Order recommendations by impact:
- Customer-facing services first — if the user can see it, it must be monitored
- Revenue-critical paths — payment, checkout, auth — zero blind spots
- Data integrity — anything that writes to a database needs error tracking
- Internal services — important but lower priority than user-facing
- Batch jobs and cron — often forgotten, monitor for failure and duration drift
For each gap, provide a concrete recommendation: what to add, which library/tool, and estimated effort (small/medium/large).
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
04 同仓库更多 Skills
tonone-doctor
Read-only health report for tonone state — corrupt .tonone/ files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to "run tonone doctor", "check tonone health", "why is tonone broken", or "diagnose my setup".
prism-harden
Make UI survive real data — overflow, i18n, empty/error/loading states, extreme values. Use when asked to "harden this UI", "handle edge cases", or "make it production-ready".
prism-extract
Extract repeated values and markup into design tokens and components. Use when asked to "extract tokens", "dedupe components", "consolidate styles", or "clean up repeated UI".
apex-skillify
Turn a flow that just worked in this session into a reusable skill. Use when asked to "skillify this", "make this a skill", or "save this workflow".
apex-retro
Weekly engineering retrospective from git history. Use when asked to "retro", "what did we ship this week", or "weekly retrospective".
prism-redesign
Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to "redesign this UI", "clean up this screen", "fix the AI slop", or "make this look less generic". Lint-driven, max 3 loops, never changes brand direction silently.