observability-design
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Use when designing monitoring, alerting, logging, tracing, and SLI/SLO strategies for services or systems. Covers metric collection, structured logging, distributed tracing, dashboard design, and error budget management. Do not use for deployment pipeline design (use deployment-plan) or infrastructure cost modeling (use cost-analysis).
6 other projects use a version of this.
Adopted by
Most recently taken up by
- l-gevity/l-gevity-skillstheir own version, first seen Oct 1, 2026
- hemapriyan-rk/claude-rigor-skillstheir own version, first seen Sep 26, 2026
- zhuochun/skillstheir own version, first seen Jul 21, 2026
- anuragsarkar97/skillstheir own version, first seen Jun 24, 2026
- Owl-Listener/ai-design-skillstheir own version, first seen Apr 25, 2026
- gclm/super-stacktheir own version, first seen Mar 29, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Owl-Listener/ai-design-skills★ 178same name
- l-gevity/l-gevity-skills★ 44same name
- hemapriyan-rk/claude-rigor-skills★ 1same name
- zhuochun/skills★ 1same name
- anuragsarkar97/skills★ 0same name
- gclm/super-stack★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository65 other files it gives its agents.
- a11y-auditSkill
- i18n-reviewSkill
- interaction-designSkill
- journey-mappingSkill
- ml-workflowSkill
- pipeline-designSkill
- schema-evaluationSkill
- api-designSkill
- codebase-contextSkill
- distributed-patternsSkill
- schema-designSkill
- design-system-architectureSkill
- motion-designSkill
- visual-auditSkill
- adr-templateSkill
- changelog-designSkill
- documentation-planSkill
- crypto-reviewSkill
- pqc-readinessSkill
- protocol-analysisSkill
- e2e-testingSkill
- pattern-analysisSkill
- testing-strategySkill
- finance-close-checklistSkill
- finance-controls-auditSkill
- finance-journal-entriesSkill
- finance-reconciliationSkill
- finance-tax-researchSkill
- finance-variance-analysisSkill
- audit-trail-designSkill
- compliance-reviewSkill
- data-classificationSkill
- growth-engineeringSkill
- messaging-strategySkill
- monetization-designSkill
- cost-analysisSkill
- deployment-planSkill
- finops-analysisSkill
- ai-evaluationSkill
- prompt-engineeringSkill
- rag-architectureSkill
- device-integrationSkill
- navigation-designSkill
- platform-auditSkill
- formal-specSkill
- invariant-analysisSkill
- competitive-analysisSkill
- enterprise-search-strategySkill
- library-evaluationSkill
- technology-radarSkill
- embedded-architectureSkill
- fleet-managementSkill
- protocol-designSkill
- edge-case-enumerationSkill
- failure-mode-analysisSkill
- threat-modelSkill
- analytics-designSkill
- impact-estimationSkill
- mvp-scopingSkill
- caching-strategySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
No user-provided values are used in commands or file paths.
- Distinctive: line 73
Runbook links: Every alert includes a link to its diagnosis and remediation runbook
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Observability Design
Purpose
Design a comprehensive observability strategy covering metrics, logging, tracing, alerting, and SLI/SLO definitions. Produces a monitoring architecture that enables rapid incident detection, diagnosis, and resolution.
Scope Constraints
Reads system architecture documentation, existing monitoring configurations, and service definitions for observability analysis. Does not modify files, deploy monitoring agents, or access production telemetry data directly.
Inputs
- System architecture (services, databases, APIs, third-party dependencies)
- Current monitoring setup (existing tools, dashboards, alerts)
- Reliability requirements (SLA commitments, uptime targets)
- Team structure (on-call rotation, escalation paths)
Input Sanitization
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Procedure
Progress Checklist
- Step 1: Define observability pillars
- Step 2: Design metric collection
- Step 3: Define alert thresholds and escalation
- Step 4: Plan structured logging
- Step 5: Design distributed tracing
- Step 6: Specify dashboard requirements
- Step 7: Define SLIs/SLOs
Step 1: Define Observability Pillars
Establish the three pillars for this system:
- Metrics: What to measure — request rate, error rate, latency, saturation, business KPIs
- Logs: What to record — request lifecycle, state changes, errors, audit events
- Traces: What to follow — cross-service request flows, database queries, external API calls
- Map each pillar to specific use cases: debugging, alerting, capacity planning, business intelligence
Step 2: Design Metric Collection
Define the metric taxonomy:
- Application metrics: Request count, error count, latency histograms, queue depth, cache hit rate
- Infrastructure metrics: CPU, memory, disk I/O, network throughput, connection pool utilization
- Business metrics: Sign-ups, conversions, revenue events, feature adoption rates
- Custom instrumentation: Counters (events), gauges (current values), histograms (distributions)
- Specify metric naming conventions, label/tag strategy, and cardinality limits
Step 3: Define Alert Thresholds and Escalation
Design the alerting strategy:
- Warning alerts: Early indicators — elevated error rate, latency creep, resource approaching limits
- Critical alerts: Immediate action required — service down, error rate spike, SLO burn rate exceeded
- Escalation paths: Primary on-call → secondary → engineering lead → incident commander
- Runbook links: Every alert includes a link to its diagnosis and remediation runbook
- Alert fatigue prevention: Grouping, deduplication, silence windows, alert quality reviews
Step 4: Plan Structured Logging
Design the logging architecture:
- Log levels: DEBUG (development only), INFO (normal operations), WARN (unexpected but handled), ERROR (requires attention)
- Structured fields: timestamp, service, request_id, user_id, action, duration_ms, status
- Correlation IDs: Request ID propagation across services for distributed request tracing
- PII redaction: Identify sensitive fields, implement automatic redaction/masking
- Log aggregation: Collection, indexing, retention periods, search capabilities
Step 5: Design Distributed Tracing
Plan request flow visibility:
- Span naming conventions:
service.operationformat, consistent across services - Context propagation: How trace context passes between services (headers, message metadata)
- Sampling strategy: Head-based vs tail-based sampling, sampling rate by endpoint or error status
- Trace enrichment: Adding business context (user tier, feature flag state) to spans
- Critical paths: Which request flows must always be traced (payments, auth, data mutations)
Step 6: Specify Dashboard Requirements
Define dashboard hierarchy:
- Operational dashboards: Service health overview, real-time traffic, error rates, latency percentiles
- Business dashboards: User activity, feature adoption, conversion funnels, revenue metrics
- SLO dashboards: Error budget remaining, burn rate, SLO compliance history
- Incident dashboards: Pre-built investigation views for common failure modes
- Specify dashboard layout, refresh intervals, time range defaults, and access controls
Step 7: Define SLIs/SLOs
Establish reliability targets:
- Availability SLI: Successful requests / total requests (define "successful")
- Latency SLI: Proportion of requests faster than threshold (p50, p95, p99 targets)
- Error rate SLI: Proportion of requests without errors (define "error")
- SLO targets: e.g., 99.9% availability, p95 latency < 200ms, error rate < 0.1%
- Error budgets: Calculate error budget from SLO, define burn rate alerts (fast burn, slow burn)
- SLO review cadence: Weekly error budget check, monthly SLO review, quarterly target adjustment
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct what system is being analyzed, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
Output Format
# Observability Design: [Service/Feature Name]
## Observability Architecture
[Application] → [Metrics Agent] → [Metrics Store] → [Dashboards] ↓ ↓ [Structured Logs] → [Log Aggregator] → [Log Search] [Alerts] → [On-call] ↓ [Trace SDK] → [Trace Collector] → [Trace UI]
## Metric Catalog
| Metric Name | Type | Labels | Description | Alert Threshold |
|-------------|------|--------|-------------|-----------------|
| http_requests_total | counter | method, path, status | Request count | N/A |
| http_request_duration_ms | histogram | method, path | Request latency | p95 > 500ms |
| ... | ... | ... | ... | ... |
## Alert Catalog
| Alert Name | Severity | Condition | Duration | Runbook |
|------------|----------|-----------|----------|---------|
| HighErrorRate | critical | error_rate > 5% | 5m | [link] |
| LatencyDegraded | warning | p95 > 500ms | 10m | [link] |
| ... | ... | ... | ... | ... |
## Logging Schema
```json
{
"timestamp": "ISO8601",
"level": "INFO",
"service": "api",
"request_id": "uuid",
"user_id": "string (optional)",
"action": "string",
"duration_ms": "number",
"status": "number",
"message": "string"
}SLI/SLO Definitions
| SLI | Measurement | SLO Target | Error Budget (30d) |
| Availability | successful requests / total | 99.9% | 43.2 min downtime |
| Latency | requests < 200ms / total | 99.0% | 432 min slow |
| Error Rate | non-error requests / total | 99.9% | 0.1% errors |
Dashboard Specifications
| Dashboard | Audience | Key Panels | Refresh |
| Service Health | On-call | Traffic, errors, latency, saturation | 30s |
| SLO Status | Engineering | Error budget, burn rate, compliance | 5m |
| Business Metrics | Product | Adoption, conversions, revenue | 1h |
## Handoff
- Hand off to deployment-plan if observability findings reveal deployment pipeline gaps (e.g., missing health checks, no canary metrics integration).
- Hand off to cost-analysis if telemetry storage, metric cardinality, or log retention volumes raise infrastructure cost concerns.
## Quality Checks
- [ ] All three observability pillars (metrics, logs, traces) are covered
- [ ] Every alert has a defined severity, threshold, and linked runbook
- [ ] Structured logging schema includes correlation IDs for distributed tracing
- [ ] PII fields are identified with redaction strategy
- [ ] SLIs are measurable and SLO targets are realistic for the service tier
- [ ] Error budgets are calculated with burn rate alert thresholds
- [ ] Dashboard hierarchy covers operational, business, and SLO views
- [ ] Sampling strategy balances trace coverage with storage costs
## Evolution Notes
<!-- Observations appended after each use -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

