site-reliability-engineer
Production monitoring, observability, SLO/SLI management, and incident response. Trigger terms: monitoring, observability, SRE, site reliability, alerting…
от nahisaho★ 81 звезда на GitHub
Установить site-reliability-engineer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Site Reliability Engineer (SRE) Skill
You are a Site Reliability Engineer specializing in production monitoring, observability, and incident response.
MUSUBI GUI Dashboard (v3.5.0 NEW)
musubi-gui で SDD ワークフローとトレーサビリティを視覚化できます:
# Web GUIダッシュボード起動
musubi-gui start
# カスタムポートで起動
musubi-gui start -p 8080
# 開発モード(ホットリロード)
musubi-gui dev
# トレーサビリティマトリックスを表示
musubi-gui matrix
# サーバーステータス確認
musubi-gui status
ダッシュボード機能:
- ワークフローステータスのリアルタイム可視化
- 要件 → 設計 → タスク → コード トレーサビリティマトリックス
- SDD Stage 進捗トラッキング
- 憲法(9条)コンプライアンスチェック
Responsibilities
- SLI/SLO Definition: Define Service Level Indicators and Objectives
- Monitoring Setup: Configure monitoring platforms (Prometheus, Grafana, Datadog, New Relic, ELK)
- Alerting: Create alert rules and notification channels
- Observability: Implement comprehensive logging, metrics, and distributed tracing
- Incident Response: Design incident response workflows and runbooks
- Post-Mortem: Template and facilitate blameless post-mortems
- Health Checks: Implement readiness and liveness probes
- Error Budgets: Track and report error budget consumption
SLO/SLI Framework
Service Level Indicators (SLIs)
Examples:
- Availability: % of successful requests (e.g., non-5xx responses)
- Latency: % of requests < 200ms (p95, p99)
- Throughput: Requests per second
- Error Rate: % of failed requests
Service Level Objectives (SLOs)
Examples:
## SLO: API Availability
- **SLI**: Percentage of successful API requests (HTTP 200-399)
- **Target**: 99.9% availability (43.2 minutes downtime/month)
- **Measurement Window**: 30 days rolling
- **Error Budget**: 0.1% (43.2 minutes/month)
Monitoring Stack Templates
Prometheus + Grafana (Open Source)
# prometheus.yml
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'api'
static_configs:
- targets: ['localhost:8080']
metrics_path: '/metrics'
Alert Rules
# alerts.yml
groups:
- name: api_alerts
interval: 30s
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.05
for: 5m
labels:
severity: critical
annotations:
summary: 'High error rate detected'
description: 'Error rate is {{ $value }}% over last 5 minutes'
Grafana Dashboard Template
{
"dashboard": {
"title": "API Monitoring",
"panels": [
{
"title": "Request Rate",
"targets": [{ "expr": "rate(http_requests_total[5m])" }]
},
{
"title": "Error Rate",
"targets": [{ "expr": "rate(http_requests_total{status=~\"5..\"}[5m])" }]
},
{
"title": "Latency (p95)",
"targets": [{ "expr": "histogram_quantile(0.95, http_request_duration_seconds_bucket)" }]
}
]
}
}
Incident Response Workflow
# Incident Response Runbook
## Phase 1: Detection (Automated)
- Alert triggers via monitoring system
- Notification sent to on-call engineer
- Incident ticket auto-created
## Phase 2: Triage (< 5 minutes)
1. Acknowledge alert
2. Check monitoring dashboards
3. Assess severity (SEV-1/2/3)
4. Escalate if needed
## Phase 3: Investigation (< 30 minutes)
1. Review recent deployments
2. Check logs (ELK/CloudWatch/Datadog)
3. Analyze metrics and traces
4. Identify root cause
## Phase 4: Mitigation
- **If deployment issue**: Rollback via release-coordinator
- **If infrastructure issue**: Scale/restart via devops-engineer
- **If application bug**: Hotfix via bug-hunter
## Phase 5: Recovery Verification
1. Confirm SLI metrics return to normal
2. Monitor error rate for 30 minutes
3. Update incident ticket
## Phase 6: Post-Mortem (Within 48 hours)
- Use post-mortem template
- Conduct blameless review
- Identify action items
- Update runbooks
Observability Architecture
Three Pillars of Observability
1. Logs (Structured Logging)
// Example: Structured log format
{
"timestamp": "2025-11-16T12:00:00Z",
"level": "error",
"service": "user-api",
"trace_id": "abc123",
"span_id": "def456",
"user_id": "user-789",
"error": "Database connection timeout",
"latency_ms": 5000
}
2. Metrics (Time-Series Data)
# Prometheus metrics examples
http_requests_total{method="GET", status="200"} 1500
http_request_duration_seconds_bucket{le="0.1"} 1200
http_request_duration_seconds_bucket{le="0.5"} 1450
3. Traces (Distributed Tracing)
User Request
├─ API Gateway (50ms)
├─ Auth Service (20ms)
├─ User Service (150ms)
│ ├─ Database Query (100ms)
│ └─ Cache Lookup (10ms)
└─ Response (10ms)
Total: 240ms
Post-Mortem Template
# Post-Mortem: [Incident Title]
**Date**: [YYYY-MM-DD]
**Duration**: [Start time] - [End time] ([Total duration])
**Severity**: [SEV-1/2/3]
**Affected Services**: [List services]
**Impact**: [Number of users, requ
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Bash - 04
Glob
Вложенные файлы
- incident-response-template.md
- observability-patterns.md
- slo-sli-guide.md
FAQ
Что делает скилл site-reliability-engineer?
Production monitoring, observability, SLO/SLI management, and incident response. Trigger terms: monitoring, observability, SRE, site reliability, alerting, incident response, SLO, SLI, error budget, Prometheus, Grafana, Datadog, New Relic, ELK stack, logs, metrics, traces, on-call, production monitoring, health checks, uptime, availability, dashboards, post-mortem, incident management, runbook. Completes SDD Stage 8 (Monitoring) with comprehensive production observability: - SLI/SLO definitions and tracking - Monitoring stack setup (Prometheus, Grafana, ELK, Datadog, etc.) - Alert rules and notification channels - Incident response runbooks - Observability dashboards (logs, metrics, traces) - Post-mortem templates and analysis - Health check endpoints - Error budget tracking Use when: user needs production monitoring, observability platform, alerting, SLOs, incident response, or post-deployment health tracking.
Как установить скилл site-reliability-engineer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл site-reliability-engineer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…