devops-sre-practices
Use when the user asks about SRE practices, starting an SRE program, toil reduction, production readiness reviews, reliability maturity, SLOs and an error…
от j4flmao★ 47 звёзд на GitHub
Установить devops-sre-practices в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SRE Practices
Purpose
Implement Site Reliability Engineering practices: define SLIs/SLOs aligned with business goals, manage error budgets with burn rate alerts, systematically reduce toil, conduct blameless incident analysis, build production readiness reviews, and mature reliability culture across the organization.
Agent Protocol
Trigger
Exact user phrases: "SRE", "site reliability", "SLI", "SLO", "error budget", "error budget policy", "burn rate", "toil", "toil reduction", "reliability engineering", "postmortem", "incident analysis", "5 whys", "production readiness review", "PRR", "reliability dashboard", "multi-window", "multi-burn-rate", "reliability maturity", "SLO monitoring", "service level objective", "service level indicator".
Input Context
- Current monitoring and alerting stack (Prometheus, Datadog, Grafana)
- Existing incident response process
- Team size and on-call rotation structure
- Current service-level objectives (if any)
- Known reliability pain points and past incidents
- Business context (revenue-critical services vs internal tools)
Output Artifact
SLI/SLO definition document, error budget policy, burn rate alert rules, toil assessment with reduction plan, postmortem template, production readiness checklist, and reliability dashboard configuration.
Response Format
Prometheus recording rules, Grafana dashboard JSON, markdown documents, and YAML alert rules. No preamble. No postamble. No filler.
Completion Criteria
- SLIs identified and instrumented for each tier of service
- SLO targets defined with business stakeholder agreement
- Error budget policy documented with burn rate alerts
- Error budget visible on a shared dashboard
- Toil assessment completed with measurable reduction targets
- Postmortem culture established (blameless, actionable, tracked)
- Production readiness review checklist created and used
- Reliability maturity baseline assessed with improvement roadmap
Architecture / Decision Trees
SLO Target Decision Tree
What is the service's business criticality?
Revenue-critical (checkout, payments, auth):
→ User-facing API: 99.95% (3.5 nines), monthly error budget ~22 min
→ User-facing page load: 99.9% (3 nines), p95 < 2s
Customer-facing but not revenue-critical (search, browse, profile):
→ 99.9% (3 nines), monthly error budget ~43 min
Internal platform (CI/CD, monitoring, API gateways):
→ 99.9% (3 nines) if supporting revenue-critical services
→ 99.5% (2 nines) if dev-facing only
Batch/async (reporting, analytics, ETL):
→ 99.5% (2 nines) with completion SLO (99.9% of jobs complete within SLA window)
Internal tooling (admin panels, debug endpoints):
→ 99% (2 nines) — no SLO tracking needed
Non-critical (demos, prototypes):
→ Best effort — no SLO
Service Tier Classification
| Tier | Definition | SLO Target | Error Budget (30d) | On-call Response |
|---|---|---|---|---|
| Tier 0 | Revenue-critical, customer-facing | 99.99% | 4.3 min | 5 min page |
| Tier 1 | Customer-facing, indirect revenue | 99.95% | 21.6 min | 15 min page |
| Tier 2 | Internal platform | 99.9% | 43.2 min | 30 min |
| Tier 3 | Internal tools, batch jobs | 99.5% | 3.6 h | 1 business hour |
| Tier 4 | Experimental, demos | Best effort | N/A | Next day |
Core Workflow
Step 1: Define SLIs (Service Level Indicators)
slis:
availability:
definition: "Fraction of successful requests"
measurement: "sum(rate(http_requests_total{status!~'5..'}[5m])) / sum(rate(http_requests_total[5m]))"
source: "Prometheus from application metrics"
excludes:
- "Planned maintenance windows"
- "Client-side errors (4xx)"
latency:
definition: "Fraction of requests below threshold"
measurement: |
sum(rate(http_request_duration_seconds_bucket{le="0.2"}[5m]))
/
sum(rate(http_request_duration_seconds_count[5m]))
source: "Prometheus histogram"
thresholds:
p50: "100ms"
p95: "200ms"
p99: "500ms"
freshness:
definition: "Age of latest data point"
measurement: "time() - max(timestamp_seconds)"
source: "Application metric"
threshold: "300s (5 minutes since last update)"
durability:
definition: "Fraction of written data not lost"
measurement: "Audit-based (not real-time metric)"
source: "Periodic integrity checks"
threshold: "99.999999% (11 nines)"
throughput:
definition: "Request rate relative to expected minimum"
measurement: "sum(rate(http_requests_total[5m]))"
source: "Prometheus"
threshold: "> 10 req/s (baseline - 50% drop = page)"
Step 2: Set SLO Targets with Error Budgets
slo_definitions:
tier_0_api:
service_name: "checkout-api"
sli_composition:
availability: 0.5 # 50% weight
latency_p95: 0.5 # 50% weight
target: 99.99 # 4 nines
target_p
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/capacity-planning.md
- references/error-budget-policy.md
- references/incident-analysis.md
- references/incident-command.md
- references/sli-slo-guide.md
- references/sre-practices-advanced.md
- references/sre-practices-fundamentals.md
- references/sre-slos.md
- references/toil-automation.md
FAQ
Что делает скилл devops-sre-practices?
Use when the user asks about SRE practices, starting an SRE program, toil reduction, production readiness reviews, reliability maturity, SLOs and an error budget policy across many services, or blameless postmortem culture. Produces an SRE operating model and adoption plan. Not for SLI math and burn-rate alerts (use sre-sli-slo-management) or incident process (use devops-incident-response).
Как установить скилл devops-sre-practices?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл devops-sre-practices запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…