runbooks-incident-response
Use when creating incident response procedures and on-call playbooks. Covers incident management, communication protocols, and post-mortem documentation.
от TheBushidoCollective★ 202 звезды на GitHub
Установить runbooks-incident-response в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Runbooks - Incident Response
Creating effective incident response procedures for handling production incidents and on-call scenarios.
Incident Response Framework
Incident Severity Levels
SEV-1 (Critical)
- Complete service outage
- Data loss or security breach
- Major customer impact (>50% of users)
- Response Time: Immediate
- Escalation: Page on-call + manager
SEV-2 (High)
- Partial service degradation
- Affecting significant users (10-50%)
- Performance issues (>50% slower)
- Response Time: Within 15 minutes
- Escalation: Page on-call
SEV-3 (Medium)
- Minor degradation
- Affecting few users (<10%)
- Non-critical features broken
- Response Time: Within 1 hour
- Escalation: On-call handles during business hours
SEV-4 (Low)
- Cosmetic issues
- Internal tools affected
- No customer impact
- Response Time: Next business day
- Escalation: Create ticket, no page
Incident Response Template
# Incident Response: [Alert/Issue Name]
**Severity:** SEV-1/SEV-2/SEV-3/SEV-4
**Response Time:** Immediate / 15 min / 1 hour / Next day
**Owner:** On-call Engineer
## Incident Detection
**This runbook is triggered by:**
- PagerDuty alert: `api_error_rate_high`
- Customer report in #support
- Monitoring dashboard showing anomaly
## Initial Response (First 5 Minutes)
### 1. Acknowledge & Assess
```bash
# Check current status
curl https://api.example.com/health
kubectl get pods -n production
Determine severity:
- All requests failing → SEV-1
- Partial failures → SEV-2
- Performance degraded → SEV-3
2. Notify Stakeholders
SEV-1:
- Create Slack incident channel:
/incident create SEV-1 API Outage - Page engineering manager
- Notify customer success team
SEV-2:
- Post in #incidents channel
- Tag on-call team
SEV-3:
- Post in #engineering channel
- No pages needed
3. Start Incident Timeline
Create incident doc (copy template):
Incident: API Outage
Started: 2025-01-15 14:30 UTC
Severity: SEV-1
Timeline:
14:30 - Alert fired
14:31 - On-call acknowledged
14:32 - Assessed as SEV-1
14:33 - Created incident channel
Immediate Mitigation (First 15 Minutes)
Goal: Stop the bleeding, restore service
Quick Mitigation Options
Option A: Rollback Recent Deploy
# Check recent deploys
kubectl rollout history deployment/api-server
# Rollback if deployed < 30 min ago
kubectl rollout undo deployment/api-server
When to use: Deploy coincides with incident start.
Option B: Scale Up
# Increase replicas
kubectl scale deployment/api-server --replicas=20
When to use: High traffic, resource exhaustion.
Option C: Restart Services
# Restart pods
kubectl rollout restart deployment/api-server
When to use: Memory leak, connection pool issues.
Option D: Enable Circuit Breaker
# Disable failing external service calls
kubectl set env deployment/api-server FEATURE_EXTERNAL_API=false
When to use: Third-party service degraded.
Communication Protocol
Update Frequency
SEV-1: Every 10 minutes SEV-2: Every 30 minutes SEV-3: Hourly
Communication Template
**[14:45] UPDATE**
**Status:** Investigating
**Impact:** API returning 503 errors. ~75% of requests failing.
**Actions Taken:**
- Rolled back deploy from 14:25
- Increased pod replicas to 15
**Next Steps:**
- Monitoring rollback impact
- Investigating database connection issues
**ETA:** Unknown
**Customer Impact:** Users cannot place orders.
**Workaround:** None available.
Status Updates
## Status Messages
**Investigating:**
> We are aware of elevated error rates on the API.
> Investigating the root cause. Updates every 10 minutes.
**Identified:**
> Root cause identified: database connection pool exhausted.
> Implementing fix now.
**Monitoring:**
> Fix deployed. Error rate dropping.
> Monitoring for 30 minutes before declaring resolved.
**Resolved:**
> Incident resolved. Error rate back to baseline.
> Post-mortem to follow.
Investigation (Concurrent with Mitigation)
While service is recovering, investigate root cause:
1. Gather Evidence
# Capture logs before they rotate
kubectl logs deployment/api-server > incident-logs.txt
# Snapshot metrics
curl -H "Authorization: Bearer $DD_API_KEY" \
"https://api.datadoghq.com/api/v1/graph/snapshot?..." > metrics.png
# Database state
psql -c "SELECT * FROM pg_stat_activity" > db-state.txt
2. Timeline Reconstruction
## Timeline
| Time | Event | Evidence |
|------|-------|----------|
| 14:20 | Deploy started | GitHub Actions log |
| 14:25 | Deploy completed | ArgoCD |
| 14:30 | Error rate spike | Datadog alert |
| 14:32 | Database connections maxed | CloudWatch |
| 14:35 | Rollback initiated | kubectl history |
| 14:38 | Service recovered | Datadog metrics |
3. Root Cause Analysis
## Root Cause
**Immediate Caus
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Write - 03
Edit - 04
Bash - 05
Grep - 06
Glob
FAQ
Что делает скилл runbooks-incident-response?
Use when creating incident response procedures and on-call playbooks. Covers incident management, communication protocols, and post-mortem documentation.
Как установить скилл runbooks-incident-response?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл runbooks-incident-response запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…