# /sre-incident - SRE Incident Responder & Root Cause Analysis

> Log analyzer, downtime diagnostics, failover runbooks, and post-mortems.

Canonical: https://www.agentickit.co/commands/sre-incident
Last updated: 2026-11-18

Diagnoses production downtime and latency spikes: analyzes structured logs, traces memory leaks, executes recovery runbooks, and generates post-mortems.

**Usage:** `Use during production outages or performance degradations to isolate issues.`

## Pipeline
1. Parse server error logs and trace distributed latency spikes
2. Identify failing upstream dependencies and resource exhaustion bottlenecks
3. Formulate immediate mitigation and failover action steps
4. Generate customer-ready incident post-mortem markdown report

## Output files
- `docs/incidents/post-mortem-YYYY-MM-DD.md`

**Claude Code frontmatter:** `argument-hint: [incident symptom, alert, or error]` · `model: inherit`

## Related
- [sre-engineer](https://www.agentickit.co/agents/sre-engineer)
- [debugger](https://www.agentickit.co/agents/debugger)
- [sre-observability](https://www.agentickit.co/skills/sre-observability)
- [error-handling](https://www.agentickit.co/skills/error-handling)
