incident-runbook-templates
Что он делает
Этот скилл помогает создавать пошаговые инструкции по устранению сбоев в компьютерных системах. Он структурирует информацию о том, что делать, когда что-то пошло не так, кому звонить и как исправить проблему.
Когда использовать
- ✓Когда критически важный сервис перестал работать.
- ✓Чтобы создать руководство по типичной диагностике базы данных.
- ✓Чтобы обучить новых инженеров устранению инцидентов.
Ссылка на скилл
https://github.com/wshobson/agents/blob/main/plugins/incident-response/skills/incident-runbook-templates/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Составь инструкцию по устранению неполадок в платежной системе, которая сейчас не работает.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл предоставляет структурированные шаблоны, которые включают уровни серьезности, шаги по устранению и пути эскалации. Вы заполняете их информацией, относящейся к вашей системе.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
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';
…
Частые вопросы
Что такое «runbook»?
Это руководство с подробными инструкциями по решению конкретной проблемы в системе.
Что такие «уровни серьезности»?
Это классификации (например, SEV1, SEV2), которые показывают, насколько серьезна проблема и насколько срочно ее нужно решить.
Почему важны «шаги отката»?
Это действия, которые отменяют изменение, не решившее проблему, чтобы вы могли вернуться к безопасному предыдущему состоянию.
Подробности
Оригинальное описание автора
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
repo: wshobson/agents
Популярность
- Звёзды на GitHub
- 41k
- Место в рейтинге
- #6709
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
screen-reader-testing
41kАгент тестирует сайты с программами чтения с экрана на доступность.
wcag-audit-patterns
41kПомогает агенту проверять доступность сайтов по WCAG и исправлять проблемы.
multi-reviewer-patterns
41kАгент координирует параллельные ревью кода, объединяя находки в отчёт.
parallel-debugging
41kАгент отлаживает сложные проблемы параллельными расследованиями.
Похожие скиллы
obsidian-vault-maintainer
394kПомогает агенту поддерживать в порядке хранилище памяти, совместимое с Obsidian: рабочие вики-ссылки, единые свойства и безопасные автогенерируемые разделы.
wiki-maintainer
394kПомогает агенту вести вики памяти OpenClaw: страницы остаются повторяемыми, управляемые блоки защищены, а противоречия и пробелы проверяются.
obsidian
394kПозволяет агенту читать, искать, создавать и редактировать заметки, задачи, ссылки и свойства Obsidian с помощью официальной командной строки Obsidian.