Incident Response
Overview
This skill defines how to respond to incidents (failures, outages, errors, breaches) in a structured way. Consistent incident response minimizes impact, ensures proper communication, and captures learning to prevent recurrence.
When to Use
- When detecting a system failure, outage, or degraded performance
- When discovering a security breach or unauthorized access
- When encountering a critical error affecting users or deliverables
- When a deployment or change causes unexpected failures
- When receiving reports of issues from users, agents, or monitoring systems
- Don't use when: Bug is minor, non-urgent, or part of normal testing workflow
Core Procedures
Step 1: Detect and Classify
Determine incident severity:
| Severity |
Description |
Response Time |
Examples |
| SEV-1 |
Complete system outage, data breach |
IMMEDIATE |
Production down, credentials leaked |
| SEV-2 |
Major feature unavailable |
15 minutes |
Critical API failure, database locked |
| SEV-3 |
Partial degradation, workaround exists |
1 hour |
Slow performance, non-critical bug |
| SEV-4 |
Minor issue, cosmetic or inconvenience |
4 hours |
UI glitch, minor typo in documentation |
Step 2: Contain
- Isolate the affected system/component if possible
- Stop any ongoing harm (disable failing processes, revoke compromised credentials)
- Preserve evidence for investigation (logs, state, artifacts)
- Communicate initial status to stakeholders (CEO, monitoring team)
Step 3: Diagnose
- Identify root cause using systematic-debugging skill
- Determine scope: what systems, users, or data are affected?
- Estimate time to resolution based on diagnosis
- Document findings for incident record
Step 4: Resolve
- Implement fix or workaround
- Test fix thoroughly before production deployment
- Deploy fix following standard deployment procedures
- Verify system is fully restored and stable
- Monitor for recurrence for at least 15 minutes
Step 5: Communicate
Send incident summary to stakeholders:
INCIDENT SUMMARY
================
Severity: [SEV-1/2/3/4]
Start time: [when incident began]
Detection time: [when it was discovered]
Resolution time: [when it was fixed]
Duration: [total impact time]
IMPACT:
- Affected systems: [which components]
- Affected users: [who was impacted]
- Data impact: [any data loss or corruption]
ROOT CAUSE:
[brief explanation of what went wrong]
RESOLUTION:
[what was done to fix it]
FOLLOW-UP:
[what's being done to prevent recurrence]
Step 6: Post-Incident
- Capture lessons learned using knowledge-capture skill
- Update monitoring/alerting if incident wasn't detected promptly
- Update documentation if procedures need changes
- Schedule preventive action items
Quality Checklist
Error Handling
- Error: Cannot determine root cause
Response: Document what's known, escalate to diagnostics specialist or domain expert, continue monitoring
- Error: Fix doesn't resolve the issue
Response: Roll back fix, re-diagnose, try alternative approach
- Error: Incident scope larger than expected
Response: Upgrade severity level, notify additional stakeholders, request additional help
- Error: Multiple simultaneous incidents
Response: Prioritize by severity, handle SEV-1 first, queue others
Cross-Team Integration
Related Skills: escalation-management, handoff-protocol, secrets-handling, systematic-debugging, knowledge-capture
Used By: ALL agents as primary response procedure for any failure
1---2name: incident-response3description: Use when detecting, responding to, or recovering from system failures, outages, security breaches, or critical errors. This skill provides a structured incident response process for any type of failure, ensuring consistent handling, communication, and post-incident learning.4---56# Incident Response78## Overview9This skill defines how to respond to incidents (failures, outages, errors, breaches) in a structured way. Consistent incident response minimizes impact, ensures proper communication, and captures learning to prevent recurrence.1011## When to Use12- When detecting a system failure, outage, or degraded performance13- When discovering a security breach or unauthorized access14- When encountering a critical error affecting users or deliverables15- When a deployment or change causes unexpected failures16- When receiving reports of issues from users, agents, or monitoring systems17- **Don't use when:** Bug is minor, non-urgent, or part of normal testing workflow1819## Core Procedures2021### Step 1: Detect and Classify22Determine incident severity:2324| Severity | Description | Response Time | Examples |25|----------|-------------|---------------|---------|26| SEV-1 | Complete system outage, data breach | IMMEDIATE | Production down, credentials leaked |27| SEV-2 | Major feature unavailable | 15 minutes | Critical API failure, database locked |28| SEV-3 | Partial degradation, workaround exists | 1 hour | Slow performance, non-critical bug |29| SEV-4 | Minor issue, cosmetic or inconvenience | 4 hours | UI glitch, minor typo in documentation |3031### Step 2: Contain321. **Isolate** the affected system/component if possible332. **Stop** any ongoing harm (disable failing processes, revoke compromised credentials)343. **Preserve** evidence for investigation (logs, state, artifacts)354. **Communicate** initial status to stakeholders (CEO, monitoring team)3637### Step 3: Diagnose381. Identify root cause using systematic-debugging skill392. Determine scope: what systems, users, or data are affected?403. Estimate time to resolution based on diagnosis414. Document findings for incident record4243### Step 4: Resolve441. Implement fix or workaround452. Test fix thoroughly before production deployment463. Deploy fix following standard deployment procedures474. Verify system is fully restored and stable485. Monitor for recurrence for at least 15 minutes4950### Step 5: Communicate51Send incident summary to stakeholders:52```53INCIDENT SUMMARY54================55Severity: [SEV-1/2/3/4]56Start time: [when incident began]57Detection time: [when it was discovered]58Resolution time: [when it was fixed]59Duration: [total impact time]6061IMPACT:62- Affected systems: [which components]63- Affected users: [who was impacted]64- Data impact: [any data loss or corruption]6566ROOT CAUSE:67[brief explanation of what went wrong]6869RESOLUTION:70[what was done to fix it]7172FOLLOW-UP:73[what's being done to prevent recurrence]74```7576### Step 6: Post-Incident771. Capture lessons learned using knowledge-capture skill782. Update monitoring/alerting if incident wasn't detected promptly793. Update documentation if procedures need changes804. Schedule preventive action items8182## Quality Checklist83- [ ] Incident severity correctly classified84- [ ] Containment actions stopped further harm85- [ ] Root cause identified and documented86- [ ] Fix tested before deployment87- [ ] System verified stable after resolution88- [ ] Stakeholder communication sent with complete information89- [ ] Post-incident review completed with actionable items9091## Error Handling92- **Error:** Cannot determine root cause93 **Response:** Document what's known, escalate to diagnostics specialist or domain expert, continue monitoring94- **Error:** Fix doesn't resolve the issue95 **Response:** Roll back fix, re-diagnose, try alternative approach96- **Error:** Incident scope larger than expected97 **Response:** Upgrade severity level, notify additional stakeholders, request additional help98- **Error:** Multiple simultaneous incidents99 **Response:** Prioritize by severity, handle SEV-1 first, queue others100101## Cross-Team Integration102**Related Skills:** escalation-management, handoff-protocol, secrets-handling, systematic-debugging, knowledge-capture103**Used By:** ALL agents as primary response procedure for any failure