Skip to main content
skill CX Codex

incident-response · spencerpauly — Claude Code skill: what it does, how to install

Systematic playbook for handling production outages: triage severity levels, execute quick mitigations, coordinate updates, and generate blameless postmortems.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add spencerpauly/awesome-cursor-skills --skill incident-response -a claude-code
Open on GitHub

What incident-response does

The skill outlines an operational routine for production failures. It categorizes outages into four tiers from SEV1 down to SEV4, enforcing a clear timetable for acknowledging alerts, inspecting recent git deployments, and checking monitoring dashboards.

Speed takes priority over deep analysis during an active outage. The guide explicitly instructs the engineer to stop the bleeding first via git revert <commit> && deploy, toggling feature flags, or scaling capacity, leaving root-cause debugging for later.

Once metrics recover, the agent structures a blameless postmortem within 48 hours. It lays out a timeline, records what went well, details the underlying defect, and lists concrete action items with owners and due dates.

What it helps with

  • Triage production alerts and assign SEV1 to SEV4 severity levels
  • Execute rapid mitigations like rollbacks via git revert or feature flags
  • Draft status page notifications and internal incident channel updates
  • Generate a blameless postmortem report with timelines and action items

Example prompts for the agent

  • We have a SEV2 payment incident, guide me through triage and mitigation steps
  • Draft a status update for our external status page regarding API latency
  • Generate a blameless postmortem template for today's database migration failure

How to install incident-response

1Skills CLI (Vercel)

npx skills add spencerpauly/awesome-cursor-skills --skill incident-response -a claude-code

2Manually: put the files in place

~/.claude/skills/incident-response/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/incident-response/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about incident-response

How to install incident-response in Claude Code?

Run npx skills add spencerpauly/awesome-cursor-skills --skill incident-response -a claude-code in your terminal. You can also place the markdown file directly at ~/.claude/skills/incident-response/SKILL.md.

What does the incident-response skill do?

It guides developers through a systematic outage workflow covering initial triage, mitigation options like rollbacks or traffic blocking, team communication, and postmortem documentation.

What is the mitigation philosophy enforced by this skill?

The skill dictates that speed matters more than elegance: the priority during an outage is restoring service quickly via rollbacks or feature flags rather than spending time finding the root cause.

Source text

SKILL.md · CC0-1.0
---
name: incident-response
description: Handle production incidents — triage, mitigate, communicate, and write postmortems.
user-invocable: true
---

# Incident Response

Handle production incidents systematically.

## Severity Levels

| Level | Definition | Response Time | Examples |
|-------|-----------|---------------|----------|
| SEV1 | Service down, all users affected | Immediate | Database crash, DNS failure, auth broken |
| SEV2 | Major feature broken, many users affected | < 30 min | Payments failing, search not working |
| SEV3 | Minor feature broken, workaround exists | < 4 hours | Export button broken, slow dashboard |
| SEV4 | Cosmetic or low-impact issue | Next business day | Typo in UI, minor styling bug |

## Incident Workflow

### 1. Detect & Triage (first 5 minutes)

- Acknowledge the incident — "I'm looking into this"
- Determine severity level
- Check monitoring dashboards (error rates, latency, status page)
- Check recent deployments: `git log --oneline -10` — was anything deployed recently?

### 2. Mitigate (next 15-30 minutes)

**The goal is to stop the bleeding, not find the root cause.**

Quick mitigations:
- **Rollback**: `git revert <commit> && deploy` — fastest option if a deploy caused it
- **Feature flag**: Disable the broken feature
- **Scale up**: Add more instances if it's a capacity issue
- **Failover**: Switch to backup/secondary if primary is down
- **Block traffic**: Rate-limit or block specific abusive traffic

### 3. Communicate

**Internal:**
- Open an incident channel (`#incident-2026-04-10`)
- Post status updates every 15-30 minutes
- Assign roles: Incident Commander, Communicator, Engineers

**External:**
- Update status page
- Send email/notification to affected users if the outage is extended
- Be honest: "We're experiencing issues with X. We've identified the cause and are working on a fix."

### 4. Resolve

- Deploy the fix
- Verify the fix works in production (check metrics, not just absence of errors)
- Close the incident channel with a summary

### 5. Postmortem (within 48 hours)

Write a blameless postmortem:

```markdown
# Incident: Payments failing for Stripe webhook
**Date:** 2026-04-10
**Duration:** 45 minutes (14:30 — 15:15 UTC)
**Severity:** SEV2
**Impact:** ~200 users unable to complete purchases

## Timeline
- 14:30 — Alert fires: payment success rate drops to 20%
- 14:35 — On-call engineer acknowledges, begins investigation
- 14:40 — Identified: Stripe webhook endpoint returning 500
- 14:45 — Root cause: migration added NOT NULL column without default
- 14:50 — Fix deployed: added default value to migration
- 15:00 — Payment success rate recovering
- 15:15 — Metrics back to normal, incident closed

## Root Cause
Database migration #47 added a `currency` column with NOT NULL 
but no DEFAULT value. Existing rows were fine (backfilled), but 
new webhook events failed because the insert didn't include `currency`.

## What Went Well
- Alert fired within 5 minutes of the issue starting
- Rollback was considered but the fix was faster

## What Went Wrong
- Migration wasn't tested with live webhook payloads
- No staging test for the webhook flow

## Action Items
- [ ] Add webhook integration test to CI (@alice, due 2026-04-17)
- [ ] Require DEFAULT for all new NOT NULL columns in migration review (@bob)
- [ ] Add runbook for payment failures (@charlie, due 2026-04-14)
```

## Tips

- Rollback first, investigate later — speed matters more than elegance
- The most recent deploy is the most likely cause
- Don't assign blame in postmortems — focus on process improvements
- Maintain a runbook for common failure modes
- Practice incident response with game days before real incidents happen

© spencerpauly · CC0-1.0 · spencerpauly/awesome-cursor-skills

Similar skills

Everything for DevOps and infrastructure →

incident-response by other authors comes first.

incident-response official anthropics Walks an incident from detection to review: severity triage, status updates, timeline and a blameless postmortem. CX Codex +1 5,800installs incident-response Alireza Rezvani Sorts a fired alert into one of 14 incident types, filters false positives, and tells you who to page and what to preserve. 634installs incident-response devops-skills Handles security breaches and system compromises using structured six-phase incident response playbooks and Linux forensic collection scripts. CX Codex +1 394installs incident-management devops-skills This skill lays out severity levels, an escalation matrix, war room roles and blameless reviews. Useful when production breaks and nobody agrees on what to do. CX Codex +1 339installs incident-postmortem official github Guides a team through a blameless write-up of a production outage: timeline, five whys, impact numbers, and follow-up work with named owners. 81installs ai-sre-incident-response devops-skills An SRE skill for LLM systems: provider outages, quality regressions, token cost spikes and guardrail violations. CX Codex +1 328installs New Relic Incident Response Agent official github A GitHub Copilot subagent that ties New Relic observability data to code changes so you can find the cause of a production incident. ★ 40,418repo stars incident-response-debugger Seth Hobson A subagent for finding the real cause of a production bug: traces code paths, runs git bisect and tests hypotheses step by step. CX Codex ★ 41,729repo stars incident-runbook-templates Seth Hobson This skill builds step-by-step incident runbooks for detection, triage, mitigation, recovery, escalation, and status updates. CX Codex 10,900installs

From the same set59

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor