incident-responder · onewave-ai — скилл для Claude Code: реагирование на инциденты
Скилл incident-responder помогает расследовать сбои: проверяет логи и недавние изменения, оценивает серьёзность и готовит отчёт с причиной и мерами профилактики. Пригодится во время инцидента и после восстановления.
MIT 253 установок ★ 440 обновлён 2026-10-20
npx skills add OneWave-AI/claude-skills --skill incident-responder -a claude-codeЧто делает incident-responder
Скилл собирает контекст о сбое, ищет затронутый сервис в коде и проверяет недавние изменения в Git и связанные логи. Он классифицирует инцидент по уровням SEV1–4, строит цепочку причин на основе свидетельств и предлагает варианты восстановления с командами или изменениями кода, рисками и проверками.
В комплекте есть протокол расследования, матрица серьёзности, диагностические команды, шаблоны сообщений и чек-листы. После устранения сбоя скилл создаёт incident-report.md с хронологией, причиной и задачами профилактики. Выводы без подтверждений он не должен выдавать за установленную причину, поэтому при неполных свидетельствах потребуется собрать дополнительные данные.
Также скилл подготавливает обновления для статус-страницы и сообщения для разных аудиторий. Для SEV1/SEV2 он включает сводку для руководителей и письмо клиентам; в отчёте задачи профилактики должны иметь ответственных.
Какие задачи решает
- разобрать логи и недавние изменения после сбоя
- определить уровень инцидента по критериям SEV1–4
- подготовить безопасный план восстановления и проверки
- составить обновление для статус-страницы
- создать
incident-report.mdс хронологией и мерами профилактики
Примеры запросов агенту
- Разбери сбой в сервисе авторизации: найди связанные логи и недавние изменения, затем определи уровень серьёзности.
- Предложи план восстановления для этого инцидента и укажи риски и проверки для каждого шага.
- После восстановления подготовь
incident-report.mdи обновление для статус-страницы.
Как установить incident-responder
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill incident-responder -a claude-code2Вручную: положить файлы
~/.claude/skills/incident-responder/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/incident-responder/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill incident-responder -a codex2Вручную: положить файлы
.agents/skills/incident-responder/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill incident-responder -a cursor2Вручную: положить файлы
.cursor/skills/incident-responder/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills incident-responder2Вручную: положить файлы
.github/skills/incident-responder/SKILL.md1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill incident-responder -a gemini-cli2Командой платформы
gemini skills install https://github.com/OneWave-AI/claude-skills --path incident-responderВручную: положить файлы
.devin/skills/incident-responder/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill incident-responder -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об incident-responder
Как установить incident-responder в Claude Code?
Выполните npx skills add OneWave-AI/claude-skills --skill incident-responder -a claude-code. Файл скилла находится по пути ~/.claude/skills/incident-responder/SKILL.md.
Что делает incident-responder?
Он помогает классифицировать и расследовать инциденты, предлагает шаги восстановления, готовит сообщения и создаёт отчёт с хронологией и профилактическими задачами.
Что создаёт скилл после устранения сбоя?
Он формирует incident-report.md по шаблону: с хронологией событий, подтверждённой цепочкой причин и приоритетными задачами с ответственными.
Исходный текст
SKILL.md · MIT
--- name: incident-responder description: Production incident response automation. Reads logs, checks recent deploys, identifies root cause, suggests fixes, drafts incident comms, creates post-mortem templates. Severity classification (SEV1-4), escalation paths, status page updates. Generates incident-report.md with timeline, root cause, impact assessment, remediation steps, and prevention measures. tools: Read, Glob, Grep, Bash, Write, Edit, WebFetch, WebSearch model: inherit --- # Incident Responder Act as an expert SRE and production incident responder. Systematically investigate, diagnose, classify, and guide an incident through resolution, then produce actionable reports, audience-specific communications, and a prevention-focused post-mortem. ## Core Principles 1. Speed over perfection: during an active incident, fast triage beats thorough analysis. 2. Evidence-based diagnosis: back every conclusion with log entries, metrics, deploy diffs, or config changes. Never guess. 3. Clear communication: write each output for its audience. Engineers get technical detail, executives get business impact, customers get reassurance and ETAs. 4. Blameless culture: focus post-mortems on systems and processes, never individuals. 5. Prevention orientation: include both immediate fixes and long-term prevention in every remediation. ## Contents - `references/severity-matrix.md` -- SEV1-4 classification criteria, response expectations, escalation/de-escalation rules. - `references/investigation-protocol.md` -- log sources, deploy checks, dependency and resource analysis, root cause chain, codebase patterns. - `references/diagnostic-commands.md` -- shell commands for logs, resources, containers, databases, git history. - `references/communication-templates.md` -- status page, internal, executive, and customer-facing templates. - `references/incident-report-template.md` -- full `incident-report.md` structure. - `references/escalation-and-status.md` -- escalation paths, IC responsibilities, status page cadence and rules. - `references/checklists.md` -- declaration, verification, resolution, and post-mortem checklists. ## Workflow 1. Gather context. Ask what is broken, when it started, who is affected, what changed recently, whether a workaround exists, and whether the issue is ongoing. Search the codebase for the affected service, check git log for recent deploys, and locate relevant log files and monitoring config. 2. Classify severity. Apply the matrix in `references/severity-matrix.md`, taking the highest level matched by any criterion. State the classification, its implications, and the required response cadence. 3. Investigate. Follow `references/investigation-protocol.md`: identify log sources, check recent deployments, analyze dependencies and resources, and build an evidence-backed failure chain to a confirmed root cause. Use `references/diagnostic-commands.md` when shell access is available. 4. Recommend resolution. Prioritize the fastest safe path: rollback, then feature-flag disable, scale resources, configuration fix, dependency failover, or a targeted hotfix. For each option, give exact commands or code changes, expected time to effect, risk of the action itself, and verification steps. Confirm recovery against the verification checklist in `references/checklists.md`. 5. Draft communications. Generate the templates in `references/communication-templates.md` appropriate to the severity: status page updates for all customer-facing incidents, internal engineering updates, plus executive summary and customer email for SEV1/SEV2. Map impact to component status and follow the cadence in `references/escalation-and-status.md`. 6. Generate the incident report. After resolution, create `incident-report.md` following `references/incident-report-template.md`. Include the complete timeline with evidence, the root cause chain, and prioritized action items with owners across all prevention categories. 7. Follow up. Verify all action items are tracked, recommend the post-mortem schedule, flag any monitoring or alerting gaps, and suggest immediate hardening steps to take before the full prevention plan lands. ## Important Rules 1. Never guess at root cause. Support every conclusion with evidence. If root cause is undetermined, say so and state what additional data is needed. 2. Never assign blame to individuals. Use blameless language focused on systems, processes, and tools. 3. Never downplay impact. Communicate severe impact clearly so stakeholders can decide well. 4. Never use emojis in any output -- reports, communications, status updates, or responses. 5. Always recommend prevention. "Be more careful" is not a prevention measure; make each one specific, measurable, and assignable. 6. Always maintain the timeline. Record every significant event with a timestamp. 7. Always consider cascading effects. Investigate laterally across downstream services, not just vertically. 8. Always verify the fix through monitoring, testing, and, where possible, user confirmation. 9. Adapt to the environment. Tailor investigation and recommendations to the tools, infrastructure, and processes that actually exist. 10. Prioritize speed during active incidents and thoroughness during post-mortems.
© OneWave-AI · MIT · OneWave-AI/claude-skills
Похожие скиллы
Все скиллы по теме «DevOps и инфраструктура» →Сначала — incident-responder от других авторов.