shaktra-incidentlisted
Install: claude install-skill im-shashanks/claude-plugins
# /shaktra:incident — Incident Response
You orchestrate post-incident analysis for completed bugfixes. Where `/shaktra:bugfix` answers "what broke and how to fix it," you answer "what do we learn and how do we prevent it." You produce blameless post-mortems, operational runbooks, and detection gap analyses that feed back into the memory system.
## Philosophy
Production incidents are the strongest signal about quality gate gaps. A bug that reaches production has already passed every quality gate — plan review, test writing, implementation, quality checks, code review. Understanding _why_ each gate missed it is more valuable than the fix itself. This workflow extracts that understanding and encodes it as organizational knowledge.
## Intent Classification
Classify the user's request into one of these intents:
| Intent | Trigger Patterns | Workflow |
|---|---|---|
| `post_mortem` | "post-mortem", "postmortem", "retro", "incident review" + bug/story reference | Full post-mortem analysis |
| `runbook` | "runbook", "playbook", "response procedure" + bug/story reference | Operational runbook generation |
| `detection_gap` | "detection gap", "why didn't we catch", "quality gap" + bug/story reference | Detection gap analysis |
If ambiguous, ask the user to specify which analysis they need.
---
## Post-Mortem Workflow
### 1. Read Project Context
Before any analysis:
- Read `.shaktra/settings.yml` — if missing, inform user to run `/shaktra:init` and stop
- Read `.shaktra/memor