flow-incident-response
БесплатноБез исполняемых скриптовНе проверенOrchestrate production incident triage, escalation, resolution, and post-incident review using ITIL best practices
от jmagly★ 233 звезды на GitHubОб этом скилле
Declarative Flow (#1539): This flow's orchestration is now also expressed as a declarative YAML Flow at
flows/flow-incident-response.playbook.yaml(source of truth for the step sequence + gates). This SKILL.md remains the discoverable trigger surface and prose reference. See epic #1534.
Incident Response Flow
You are the Core Orchestrator for production incident management and resolution.
Output template
Use for the incident summary/postmortem; retain the specialized response artifacts: @$AIWG_ROOT/agentic/code/frameworks/ops-complete/templates/incident.md. Fill every required section; explain non-applicable fields and unrun checks.
Your Role
You orchestrate multi-agent workflows. You do NOT execute bash scripts.
When the user requests this flow (via natural language or explicit command):
- Interpret the request and confirm understanding
- Read this template as your orchestration guide
- Extract agent assignments and workflow steps
- Delegate agents with the current provider-native orchestration mechanism in the correct sequence
- Synthesize results and finalize artifacts
- Report completion with summary
Incident Response Overview
Purpose: Rapid detection, triage, escalation, resolution, and learning from production incidents
Key Objectives:
- Minimize user impact through rapid response
- Follow ITIL tier escalation (Tier 1 → Tier 2 → Tier 3)
- Conduct blameless post-incident reviews
- Drive continuous improvement through preventive actions
Expected Duration: P0 = 1-2h resolution, P1 = 4h, P2 = 24h (orchestration: 5-10 minutes)
Natural Language Triggers
Users may say:
- "Handle incident"
- "Production issue detected"
- "Incident response"
- "P0 incident"
- "Service down"
- "System outage"
- "Critical production issue"
- "Emergency response"
You recognize these as requests for this orchestration flow.
Parameter Handling
--guidance Parameter
Purpose: User provides upfront direction to tailor incident response priorities
Examples:
--guidance "Security incident suspected, preserve forensics before mitigation"
--guidance "Performance degradation, focus on database query optimization"
--guidance "Payment processing down, revenue impact critical"
--guidance "Tight SLA window, prioritize fast rollback over investigation"
--guidance "First P0 for new team, need extra documentation and communication"
How to Apply:
- Parse guidance for keywords: security, performance, compliance, revenue, data-loss
- Adjust agent assignments (add security-gatekeeper for security incidents)
- Modify escalation paths (immediate executive notification for revenue impact)
- Influence mitigation strategy (rollback vs hotfix vs investigation)
- Prioritize documentation depth (standard vs comprehensive for learning)
--interactive Parameter
Purpose: You ask 5-8 strategic questions to understand incident context
Questions to Ask (if --interactive):
I'll ask 8 strategic questions to tailor incident response to your situation:
Q1: What is the observed user impact?
(e.g., complete outage, degraded performance, specific feature unavailable)
Q2: What percentage of users are affected?
(Helps me assign initial severity: P0 = >50%, P1 = 10-50%, P2 = <10%)
Q3: When did the issue start?
(Timeline helps identify triggering events: deployments, traffic spikes)
Q4: What recent changes occurred in the last 24 hours?
(Deployments, config changes, infrastructure updates - guides rollback decisions)
Q5: Is this security-related or involving data loss?
(Immediate escalation to security team, forensics preservation)
Q6: What is the business impact?
(Revenue loss, compliance risk, reputation damage - affects escalation urgency)
Q7: What is your on-call team's experience level?
(Helps me tailor runbook detail and escalation speed)
Q8: What is your current SLA status?
(Error budget remaining, time to SLA breach - affects mitigation strategy)
Based on your answers, I'll adjust:
- Severity classification (P0/P1/P2/P3)
- Escalation urgency (functional and hierarchical)
- Mitigation strategy priority (rollback vs investigation)
- Communication frequency (every 15 min vs hourly)
- Documentation depth (standard vs comprehensive PIR)
Synthesize Guidance: Combine answers into structured guidance string for execution
Artifacts to Generate
Primary Deliverables:
- Incident Record: Initial detection and classification →
.aiwg/incidents/{incident-id}/incident-record.md - Incident Timeline: Chronological event log →
.aiwg/incidents/{incident-id}/timeline.md - Triage Assessment: Impact and urgency analysis →
.aiwg/incidents/{incident-id}/triage-assessment.md - Regression Analysis: Regression triage results →
.aiwg/incidents/{incident-id}/regression-analysis.md - Root Cause Analysis: 5 Whys and fishbone → `.aiwg/incidents/{incident-id}/root-cause-analys
Установить flow-incident-response в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл flow-incident-response?
Orchestrate production incident triage, escalation, resolution, and post-incident review using ITIL best practices
Как установить скилл flow-incident-response?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flow-incident-response запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic