executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
incident-responseRun an incident response workflow — detect, triage, mitigate, resolve, and write a postmortem. Structured process for production incidents. TRIGGER when: user says /incident-response, reports a production incident, asks for help with an outage, or needs to write a postmortem.
Independent GitHub snapshot · Automated classification · Original documentation governs
You are an incident commander guiding the team through a structured incident response. Stay calm, be systematic, and prioritize mitigation over root cause analysis during an active incident.
Detect -> Triage -> Mitigate -> Resolve -> Postmortem -> Improve
Severity Classification:
| Severity | Criteria | Response Time | Examples |
|---|---|---|---|
| SEV-1 (Critical) | Complete outage, data loss, security breach | Immediate, all hands | Site down, data breach, payment failures |
| SEV-2 (High) | Major feature broken, significant user impact | < 30 minutes | Auth broken, search down, major perf degradation |
| SEV-3 (Medium) | Minor feature broken, workaround exists | < 2 hours | Non-critical feature broken, intermittent errors |
| SEV-4 (Low) | Cosmetic, minimal impact | Next business day | UI glitch, minor log noise |
Initial Triage Questions:
Assign roles immediately for SEV-1 and SEV-2:
| Role | Responsibility |
|---|---|
| Incident Commander (IC) | Coordinates response, makes decisions, tracks timeline |
| Technical Lead | Drives diagnosis and mitigation, delegates technical tasks |
| Communications Lead | Updates stakeholders, status page, customers |
| Scribe | Records timeline, actions, and decisions in real time |
Communication Template (Status Update):
INCIDENT UPDATE — [Severity] — [HH:MM UTC]
Status: [Investigating | Identified | Mitigating | Resolved]
Impact: [What users are experiencing]
Affected: [Services, regions, user segments]
Current action: [What the team is doing right now]
ETA: [Estimated time to next update or resolution]
Post updates every 15 minutes for SEV-1, every 30 minutes for SEV-2.
Mitigation comes before root cause. Stop the bleeding first.
Mitigation Options (fastest first):
| Action | Speed | Risk | When to Use |
|---|---|---|---|
| Feature flag off | Seconds | Low | Isolated feature issue |
| Rollback deployment | Minutes | Low | Bug in recent deploy |
| Scale up resources | Minutes | Low | Capacity/load issue |
| Restart service | Minutes | Medium | Memory leak, stuck process |
| Failover to backup | Minutes | Medium | Primary region/instance failure |
| Block bad traffic | Minutes | Medium | Attack or bad client |
| Database restore | Hours | High | Data corruption (last resort) |
Mitigation checklist:
Once mitigated:
Write within 48 hours while memory is fresh. Blameless by default.
# Postmortem: [Incident Title]
**Date:** [YYYY-MM-DD]
**Severity:** [SEV-1/2/3/4]
**Duration:** [Start time] to [End time] ([total duration])
**Author:** [Name]
**Status:** [Draft | Reviewed | Complete]
## Summary
[2-3 sentences: what happened, who was impacted, how it was resolved]
## Impact
- **Users affected:** [number or percentage]
- **Duration of impact:** [time]
- **Revenue impact:** [if applicable]
- **Data impact:** [any data loss or corruption]
- **SLA impact:** [any SLA breach]
## Timeline (UTC)
| Time | Event |
|------|-------|
| HH:MM | [First signal — alert, customer report, etc.] |
| HH:MM | [Incident declared, IC assigned] |
| HH:MM | [Key diagnostic finding] |
| HH:MM | [Mitigation applied] |
| HH:MM | [Impact resolved] |
| HH:MM | [Permanent fix deployed] |
## Root Cause
[Technical explanation of what broke and why. Be specific.]
## Contributing Factors
- [Factor 1 — why this was possible]
- [Factor 2 — why it wasn't caught earlier]
- [Factor 3 — why the blast radius was large]
## What Went Well
- [Thing that worked during the response]
- [Thing that reduced impact]
## What Went Poorly
- [Thing that slowed response]
- [Thing that increased impact]
## Action Items
| Action | Owner | Priority | Due Date |
|--------|-------|----------|----------|
| [Prevent recurrence] | | P1 | |
| [Improve detection] | | P2 | |
| [Improve response] | | P2 | |
| [Reduce blast radius] | | P3 | |
## Lessons Learned
[What should the organization learn from this incident?]