Create structured incident response runbooks

Incident runbook templates

by wshobson · MIT license · ★ 39,857 on GitHub · updated Sep 21

Incident runbook templates cover

Create structured incident response runbooks with step-by-step procedures, escalation paths, and recovery actions. Use this skill when building a service outage runbook for a payment processing system; creating database incident…

---
name: incident-runbook-templates
description: Create structured incident response runbooks with step-by-step procedures, escalation paths, and recovery actions. Use this skill when building a service outage runbook for a payment processing system; creating database incident procedures covering connection pool exhaustion, replication lag, and disk space alerts; onboarding new on-call engineers who need step-by-step recovery guides written for a 3 AM brain; or standardizing escalation matrices across multiple engineering teams.
---

# Incident Runbook Templates

Production-ready templates for incident response runbooks covering detection, triage, mitigation, resolution, and communication.

## When to Use This Skill

- Creating incident response procedures
- Building service-specific runbooks
- Establishing escalation paths
- Documenting recovery procedures
- Responding to active incidents
- Onboarding on-call engineers

Overview

Production-ready templates for incident response runbooks covering detection, triage, mitigation, resolution, and communication.

Manual install (npx, ZIP)
Claude Codenpx skills add wshobson/agents --skill incident-runbook-templates -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/wshobson/agents/tar.gz/4236bb91f839 \ | tar -xz -C ~/.claude/skills --strip-components=4 agents-4236bb91f839/plugins/incident-response/skills/incident-runbook-templates
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/b8d5b4a907f2f8603301/incident-runbook-templates.zip" -OutFile "$env:TEMP\incident-runbook-templates.zip"; Expand-Archive "$env:TEMP\incident-runbook-templates.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md5.3 KB
  • references/1 file · 8.6 KB
Read the files here
wshobson/4236bb92 files
SKILL.md
Show the full text135 lines

Incident Runbook Templates

Production-ready templates for incident response runbooks covering detection, triage, mitigation, resolution, and communication.

When to Use This Skill

  • Creating incident response procedures
  • Building service-specific runbooks
  • Establishing escalation paths
  • Documenting recovery procedures
  • Responding to active incidents
  • Onboarding on-call engineers

Core Concepts

1. Incident Severity Levels
Severity Impact Response Time Example
SEV1 Complete outage, data loss 15 min Production down
SEV2 Major degradation 30 min Critical feature broken
SEV3 Minor impact 2 hours Non-critical bug
SEV4 Minimal impact Next business day Cosmetic issue
2. Runbook Structure
1. Overview & Impact
2. Detection & Alerts
3. Initial Triage
4. Mitigation Steps
5. Root Cause Investigation
6. Resolution Procedures
7. Verification & Rollback
8. Communication Templates
9. Escalation Matrix

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

Do's
  • Keep runbooks updated - Review after every incident
  • Test runbooks regularly - Game days, chaos engineering
  • Include rollback steps - Always have an escape hatch
  • Document assumptions - What must be true for steps to work
  • Link to dashboards - Quick access during stress
Don'ts
  • Don't assume knowledge - Write for 3 AM brain
  • Don't skip verification - Confirm each step worked
  • Don't forget communication - Keep stakeholders informed
  • Don't work alone - Escalate early
  • Don't skip postmortems - Learn from every incident

Troubleshooting

Runbook steps work in staging but fail during a real incident

Steps often assume preconditions that are true in a healthy environment but not during an outage. For each command in your runbook, add a prerequisite check and a "what to do if this command fails" note:

# Step: Check pod status
kubectl get pods -n payments

# Prerequisites: kubectl configured, kubeconfig points to correct cluster
# If this fails: run `aws eks update-kubeconfig --name prod-cluster --region us-east-1`
# Expected output: pods in Running state
On-call engineer panics and skips steps out of order

Add a numbered checklist at the top of the runbook that mirrors the section numbers, so responders can track progress under stress without reading the full document:

## Quick Checklist
- [ ] 1. Declare incident severity and open war room
- [ ] 2. Check service health (Section 4.1)
- [ ] 3. Check recent deployments (Section 4.1)
- [ ] 4. Roll back if deploy is suspect (Section 4.1)
- [ ] 5. Post initial notification to #payments-incidents
- [ ] 6. Escalate if > 15 min unresolved
Runbook is outdated — commands reference old cluster names or endpoints

Runbooks rot because they're updated manually. Include a "Last Verified" date and owner at the top, and add a CI check that validates all curl endpoints and kubectl context names are still valid:

## Runbook Metadata
| Field | Value |
|---|---|
| Last verified | 2024-11-15 |
| Owner | @platform-team |
| Review cadence | After every SEV1/SEV2 |
Stakeholder communication is delayed while engineers are heads-down

Assign a dedicated incident communicator role (separate from the incident commander) whose only job is to post status updates. Add a standing agenda in the communication template:

Update every 15 minutes (even if no new information):
- Current status (Investigating / Mitigating / Monitoring)
- Impact (what is broken, who is affected, % of traffic)
- What we are doing right now
- Next update in: 15 minutes
Database runbook commands cause additional downtime when run incorrectly

Add explicit warnings before destructive SQL commands and require a dry-run output check before executing:

-- WARNING: This terminates active connections. Verify count first.
-- DRY RUN (check count before terminating):
SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND query_start < now() - interval '10 minutes';

-- EXECUTE only after verifying count is reasonable (< 50):
SELECT pg_terminate_backend(pid) FROM pg_stat_activity
WHERE state = 'idle' AND query_start < now() - interval '10 minutes';
  • postmortem-writing - After resolving an incident, use postmortem templates to capture root cause and preventive actions
  • on-call-handoff-patterns - Structure shift handoffs so the incoming responder has full context on active incidents
1---
2name: incident-runbook-templates
3description: Create structured incident response runbooks with step-by-step procedures, escalation paths, and recovery actions. Use this skill when building a service outage runbook for a payment processing system; creating database incident procedures covering connection pool exhaustion, replication lag, and disk space alerts; onboarding new on-call engineers who need step-by-step recovery guides written for a 3 AM brain; or standardizing escalation matrices across multiple engineering teams.
4---
5 
6# Incident Runbook Templates
7 
8Production-ready templates for incident response runbooks covering detection, triage, mitigation, resolution, and communication.
9 
10## When to Use This Skill
11 
12- Creating incident response procedures
13- Building service-specific runbooks
14- Establishing escalation paths
15- Documenting recovery procedures
16- Responding to active incidents
17- Onboarding on-call engineers
18 
19## Core Concepts
20 
21### 1. Incident Severity Levels
22 
23| Severity | Impact | Response Time | Example |
24| -------- | -------------------------- | ----------------- | ----------------------- |
25| **SEV1** | Complete outage, data loss | 15 min | Production down |
26| **SEV2** | Major degradation | 30 min | Critical feature broken |
27| **SEV3** | Minor impact | 2 hours | Non-critical bug |
28| **SEV4** | Minimal impact | Next business day | Cosmetic issue |
29 
30### 2. Runbook Structure
31 
32```
331. Overview & Impact
342. Detection & Alerts
353. Initial Triage
364. Mitigation Steps
375. Root Cause Investigation
386. Resolution Procedures
397. Verification & Rollback
408. Communication Templates
419. Escalation Matrix
42```
43 
44## Detailed patterns and worked examples
45 
46Detailed pattern documentation lives in `references/details.md`. Read that file when the navigation tier above is insufficient.
47 
48## Best Practices
49 
50### Do's
51- **Keep runbooks updated** - Review after every incident
52- **Test runbooks regularly** - Game days, chaos engineering
53- **Include rollback steps** - Always have an escape hatch
54- **Document assumptions** - What must be true for steps to work
55- **Link to dashboards** - Quick access during stress
56 
57### Don'ts
58- **Don't assume knowledge** - Write for 3 AM brain
59- **Don't skip verification** - Confirm each step worked
60- **Don't forget communication** - Keep stakeholders informed
61- **Don't work alone** - Escalate early
62- **Don't skip postmortems** - Learn from every incident
63 
64## Troubleshooting
65 
66### Runbook steps work in staging but fail during a real incident
67 
68Steps often assume preconditions that are true in a healthy environment but not during an outage. For each command in your runbook, add a prerequisite check and a "what to do if this command fails" note:
69 
70```bash
71# Step: Check pod status
72kubectl get pods -n payments
73 
74# Prerequisites: kubectl configured, kubeconfig points to correct cluster
75# If this fails: run `aws eks update-kubeconfig --name prod-cluster --region us-east-1`
76# Expected output: pods in Running state
77```
78 
79### On-call engineer panics and skips steps out of order
80 
81Add a numbered checklist at the top of the runbook that mirrors the section numbers, so responders can track progress under stress without reading the full document:
82 
83```markdown
84## Quick Checklist
85- [ ] 1. Declare incident severity and open war room
86- [ ] 2. Check service health (Section 4.1)
87- [ ] 3. Check recent deployments (Section 4.1)
88- [ ] 4. Roll back if deploy is suspect (Section 4.1)
89- [ ] 5. Post initial notification to #payments-incidents
90- [ ] 6. Escalate if > 15 min unresolved
91```
92 
93### Runbook is outdated — commands reference old cluster names or endpoints
94 
95Runbooks rot because they're updated manually. Include a "Last Verified" date and owner at the top, and add a CI check that validates all `curl` endpoints and `kubectl` context names are still valid:
96 
97```markdown
98## Runbook Metadata
99| Field | Value |
100|---|---|
101| Last verified | 2024-11-15 |
102| Owner | @platform-team |
103| Review cadence | After every SEV1/SEV2 |
104```
105 
106### Stakeholder communication is delayed while engineers are heads-down
107 
108Assign a dedicated incident communicator role (separate from the incident commander) whose only job is to post status updates. Add a standing agenda in the communication template:
109 
110```
111Update every 15 minutes (even if no new information):
112- Current status (Investigating / Mitigating / Monitoring)
113- Impact (what is broken, who is affected, % of traffic)
114- What we are doing right now
115- Next update in: 15 minutes
116```
117 
118### Database runbook commands cause additional downtime when run incorrectly
119 
120Add explicit warnings before destructive SQL commands and require a dry-run output check before executing:
121 
122```sql
123-- WARNING: This terminates active connections. Verify count first.
124-- DRY RUN (check count before terminating):
125SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND query_start < now() - interval '10 minutes';
126 
127-- EXECUTE only after verifying count is reasonable (< 50):
128SELECT pg_terminate_backend(pid) FROM pg_stat_activity
129WHERE state = 'idle' AND query_start < now() - interval '10 minutes';
130```
131 
132## Related Skills
133 
134- `postmortem-writing` - After resolving an incident, use postmortem templates to capture root cause and preventive actions
135- `on-call-handoff-patterns` - Structure shift handoffs so the incoming responder has full context on active incidents
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 39,857
Checked
Source
wshobson/agents ↗
Creator
wshobson · 179 listings
View creator

Similar skills

See all →
MCPExpert debugging specialist for errors, test failuresDebugger AgentCloudAI-X/claude-workflow-v2 · by CloudAI-XExpert debugging specialist for errors, test failures, crashes, segmentation faults, memory leaks, timeouts, race conditions, deadlocks, and unexpected behavior. Use PROACTIVELY when encountering any error, exception, or failing test. Performs systematic root cause analysis.★ 1.4k GitHub starsSkillEncountering any bug, test failure, or unexpected behaviorSystematic debuggingobra/superpowers · by obraUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes★ 290k GitHub starsSkillRequires running verification commands and confirming outputVerification before completionobra/superpowers · by obraUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always★ 290k GitHub starsSkillGuides systematic root-cause debuggingDebugging and error recoveryaddyosmani/agent-skills · by addyosmaniGuides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.★ 98.7k GitHub starsSkillMaster systematic debugging techniques, profiling toolsDebugging strategieswshobson/agents · by wshobsonMaster systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.★ 39.9k GitHub starsSkillMaster error handling patterns across languages includingwshobson/agents · by wshobsonMaster error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.★ 39.9k GitHub stars

More from wshobson

SkillMaster C/.NET backend development patterns for buildingwshobson/agents · by wshobsonMaster C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.★ 39.9k GitHub starsSkillImplement WCAG 2.2 compliant interfaces with mobileAccessibility compliancewshobson/agents · by wshobsonImplement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.★ 39.9k GitHub starsSkillMaster Material Design 3 and Jetpack Compose patternsAndroid Mobile Designwshobson/agents · by wshobsonMaster Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.★ 39.9k GitHub starsSkillMigrate from AngularJS to Angular using hybrid modeAngular migrationwshobson/agents · by wshobsonMigrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.★ 39.9k GitHub starsSkillUnderstand anti-reversing, obfuscationAnti reversing techniqueswshobson/agents · by wshobsonUnderstand anti-reversing, obfuscation, and protection techniques encountered during software analysis. Use this skill when analyzing malware evasion techniques, when implementing anti-debugging protections for CTF challenges, when reverse engineering packed binaries, or when building security research tools that need to detect virtualized environments.★ 39.9k GitHub starsSkillBuild production Apache Airflow DAGs with best practicesApache Airflow DAG Patternswshobson/agents · by wshobsonBuild production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.★ 39.9k GitHub stars