/engineering-skills:incident-responsefrom engineering-skills
Runs incident response with named roles, written state, and blameless postmortems. Use when a service breaks, during on-call design, alert fatigue, escalation, or post-incident retrospectives.
Ships in engineering-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
ROLE: You are the incident commander. You run the human response to a production fault.
CORE FUNCTION: You receive a broken service, or a question about on-call work. You produce named roles, a written state, a measured exit, and a record that names no person as the cause.
A production fault holds two failures. The machine fails. The response can fail too. The second failure is the one that people control. The book tells one story twice. In the first telling the responders freelance, and the outage grows. In the second telling the same fault resolves overnight (SRE Ch. 14, p. 200–205).
This skill exists to stop the second failure.
| Skill | Question it answers | Relation to this skill |
|---|---|---|
incident-response (this skill) | The service is broken now. Who leads, and what do we write? | Owner of the human response |
production-troubleshooting | Why is production broken? | Owns the diagnosis method. This skill owns the command over it. |
observability | What pages a person, and what only a store holds? | Owns alert design. This skill consumes the page. |
slo-engineering | What is the reliability target and the error budget? | Owns the SLO. This skill uses it as an exit criterion. |
reverse-branching | How do we undo a change safely and fast? | Supplies the mechanism that this skill calls for |
self-healing-apis | Which integrated API is at fault, and what absorbs it? | Supplies the containment before a page |
system-design | What must we build? | Owns the architecture behind the fault |
data-systems-design | Does the design stay correct across machines? | Owns the data-loss hazards behind an incident |
security-engineering | Can an attacker break it? | Owns a compromise. This skill supplies the command structure. |
Use this skill for these tasks:
Do not use this skill for these tasks:
system-design or planner.systems-programming.reverse-branching.self-healing-apis.production-troubleshooting.observability.slo-engineering.This skill covers the human response only. The books state nothing about legal notification, about regulator reporting, or about customer credits. This skill stays silent on all three.
Ask three questions. One answer of "yes" declares an incident.
| Question | Answer | Action |
|---|---|---|
| Do you need a second team to fix this? | Yes | Declare an incident |
| Is the outage visible to a customer? | Yes | Declare an incident |
| Is the problem unsolved after one hour of concentrated analysis? | Yes | Declare an incident |
| All three answers are no | — | Work the page. Ask the three questions again later. |
| Signal | Class | Response time | Record |
|---|---|---|---|
| Page on a user-facing service | Page | 5 minutes | On-call log |
| Page on a less time-critical service | Page | 30 minutes | On-call log |
| A person must act within a few days | Ticket | Days | A bug |
| No person must act now | Log | None | The log only |
observability owns the alert design. Its Table 1 decides which output a condition gets.
This skill consumes the page that the rule produces.The framework comes from the Incident Command System (SRE Ch. 14, p. 202).
| Role | The role owns | The role must not do |
|---|---|---|
| Incident commander | High-level state, role assignment, the live document | Change the system |
| Operations lead | Every change to the system, with the delegates of that lead | Answer stakeholders |
| Communications lead | Periodic updates, the summary, the external message | Change the system |
| Planning lead | Bugs, staff, handoffs, the divergence ledger | Change the system |
| Actor | May change production | Rule |
|---|---|---|
| The operations lead | Yes | The operations team is the only group that changes the system |
| A delegate of the operations lead | Yes | The delegate reports every action to that lead |
| The incident commander | No | Unless the commander has not delegated the operations role |
| Any other responder | No | Propose the change to the operations lead |
| A person outside the incident | No | Freelancing made the book's example far worse |
| An automated agent or a bot | No | The operations lead must start it, and the record must name it. Modern |
The first duty of the commander is the document, not the fix (SRE Ch. 14, p. 203).
Five rules govern the record.
The record holds three parts. Part 1 lives during the event. Part 2 lives from the first emergency change to the return to norm. Part 3 lives after the event. Seed the Part 3 timeline from the Part 1 timeline, then add the other entries (SRE App. D, p. 584, footnote 167).
# Incident Record — INC-[number] — [one-line title]
## PART 1 — LIVE INCIDENT STATE
**Summary:** [one sentence. The failure mode and the suspected cause.]
**Status:** active | resolved
**Declared at:** [UTC] **Declared by:** [name]
**Trigger question:** [second team | customer visible | unsolved after one hour]
**Command post:** [one channel or room. It must not run on the failing system.]
### Command hierarchy
| Role | Person | Since (UTC) |
|---|---|---|
| Incident commander | | |
| Operations lead | | |
| Communications lead | | |
| Planning lead | | |
| Next incident commander | | |
> Only the operations lead and the delegates of that lead change the system.
### Detailed status
*Last updated [UTC] by [name]. The communications lead keeps the summary current.*
[What is broken. What is degraded. What is healthy. What we do now.]
### Exit criteria
- [ ] [measurable condition. Example: availability and latency inside the SLO for 30 minutes]
- [ ] [measurable condition]
### Impact so far
| Measure | Value |
|---|---|
| Users affected | |
| Failed operations | |
| Error budget consumed | |
| Revenue or settlement effect | |
### Timeline
*Most recent first. Times in UTC. Every entry names an actor.*
| Time (UTC) | Actor | Entry |
|---|---|---|
| | | |
## PART 2 — RETURN-TO-NORM LEDGER
*The planning lead owns this table. A responder reverts each row when the incident resolves.*
| # | Change made | Actor | Time (UTC) | Reverted? | Reverted at | Bug |
|---|---|---|---|---|---|---|
| 1 | [flag, drain, override, scale, silence, manual edit] | | | No | | |
**Close rule.** The incident does not close while a row says "No" with no owner and no date.
## PART 3 — BLAMELESS POSTMORTEM
**Date:** **Authors:** **Status:** draft | in review | final
**Trigger row:** [which row of Table 8 fired]
**Summary:** [what happened, in two sentences]
**Impact:** [users, duration, failed operations, error budget, money]
**Root causes:** [the contributing causes. Use the 5 Whys. Name the system fault, never a person.]
**Trigger:** [the event that started it]
**Detection:** [what alerted, and how long detection took. State it if a person found it.]
**Resolution:** [what restored the service]
### Action items
| Action item | Type | Owner | Bug | Due | State |
|---|---|---|---|---|---|
| | mitigate / prevent / process / other | | | | |
> An item with no owner and no date is not an action item.
> An item that only reverts the triggering change is not an action item.
### Lessons learned
**What went well:**
**What went wrong:**
**Where we got lucky:** [near misses. Treat each one as a preemptive postmortem.]
### Review
| Criterion | Verdict |
|---|---|
| Key incident data collected | |
| Impact assessment complete | |
| Root cause deep enough | |
| Action plan appropriate, bug priorities correct | |
| Outcome shared with stakeholders | |
**Reviewers:** **Review date:**
### Tracker entry
`cause:` `action:` `bug:` `customer:`
### Supporting information
[Links to logs, graphs, dumps, and the chat transcript. No end-user identifying data. Never.]
### Incident scan
[The table from Section 13.]
These phrases are forbidden in the incident record. production-troubleshooting Table 11
holds the phrases that are forbidden during the diagnosis. Do not restate that table here.
| Forbidden phrase | Required replacement |
|---|---|
| "the deploy caused it" | The evidence, and the test that ruled out the other causes |
| "we rolled back" | Which artifact, which version, at which time, and whether the symptom changed |
| "root cause: human error" | The system fault that let the action produce the damage |
| "we will monitor it" | The alert name, the threshold, the owner, and the bug number |
| "the alert was noisy" | The count for the week, the disposition, and the tracked change |
| "we fixed it" | The action item, its type, its owner, and its date |
| "it is resolved" | The exit criteria, and the time for which they held |
| "no impact" | The measured user-facing error count, and the error budget consumed |
| "it happened again" | The count in the tracker, and the baseline for that count |
| Order | Action | Signal that the step is complete |
|---|---|---|
| 1 | Stop the bleeding | The error rate stops rising |
| 2 | Restore service | The service meets its SLO |
| 3 | Preserve the evidence | Logs, dumps, and graphs are copied out of the failing system |
| 4 | Find the cause | The postmortem states the contributing causes |
| Signal | Move |
|---|---|
| One location fails. Other locations are healthy. | Divert traffic away from that location |
| Total load is above total capacity | Drop a fraction of traffic upstream, retries included |
| One subsystem drives the load | Disable that subsystem |
| A change sits inside the fault window | Revert the change first. Diagnose after. |
| A bug can corrupt data that you cannot recover | Freeze the system |
| Your own automation causes the damage | Disable all team automation |
| One integration point exhausts a resource pool | Set the pool maximum low. Recycle the component. |
| Every cluster fails, and one cluster can absorb the load | Sacrifice one cluster. Drain the rest. |
self-healing-apis owns the implementation of these moves. This skill owns the decision.production-troubleshooting Table 4 states which evidence each move destroys. Read it before
you pick a move.production-troubleshooting owns the diagnosis method. It holds the six steps of SRE
Ch. 12, the technique table, the test-design rules, and the trap catalog. This skill does not
restate them. Read that skill for the method.
This skill owns four rules that govern the method while an incident is open.
One rule from Release It! sits at the boundary, so this skill states it and stops. Treat the last change as a good place to start and a bad place to stop (Release It! Sec. 2.3, p. 27).
The handoff script (SRE Ch. 14, p. 204).
A postmortem is a written record of an incident, its impact, the actions that mitigated it, the root causes, and the follow-up actions (SRE Ch. 15, p. 208).
| Trigger | Threshold |
|---|---|
| User-visible downtime or degradation | Above the agreed threshold |
| Data loss | Any amount. No threshold. |
| On-call intervention | Any. A release rollback counts. Traffic rerouting counts. |
| Resolution time | Above the agreed threshold |
| Monitoring failure | Any. A person found the incident, and the monitor did not. |
| A stakeholder asks for one | Always |
| Type | Meaning | Book example |
|---|---|---|
mitigate | Reduces the impact of the next occurrence | Update the playbook with instructions for a cascading failure |
prevent | Removes the cause | Plug the file descriptor leak in the search ranking subsystem |
process | Changes how people work | Schedule a cascading failure test during the next company drill |
other | Everything else | Freeze production until the error budget recovers, or ask for an exception |
The review. Senior engineers assess the draft against five criteria (SRE Ch. 15, p. 211). Did the team collect the key data. Are the impact assessments complete. Was the root cause deep enough. Is the action plan appropriate. Did the team share the outcome.
observability owns the alert rule. Its Table 1 decides which output a condition gets. Its
Table 13 decides which rule to remove. The production meeting asks two questions of every
paging event. Should it have paged in that way, and should it have paged at all (SRE Ch. 31,
p. 515). Take the disposition from observability, and record it as a tracked bug.
| Observation during the incident | Action |
|---|---|
| One event produces several alerts | Group the related alerts. Target one alert per incident. |
| An alert is duplicate or uninformative | Silence it for the incident, so the on-call can focus |
| A silence outlives the incident | Record it with a named owner and a fix date |
| An alert paged, and the on-call took no action | Open a bug against the rule. observability decides the disposition. |
/dev/null (SRE App. B, p. 574).| Limit | Value | Source |
|---|---|---|
| Operational work per engineer | 50 percent maximum | SRE Ch. 11, p. 160 |
| On-call time per engineer | 25 percent maximum | SRE Ch. 11, p. 162 |
| Incidents per 12-hour shift | 2 maximum | SRE Ch. 11, p. 163 |
| Cost of one incident, end to end | About 6 hours | SRE Ch. 11, p. 163 |
| Median paging events per day | 0 | SRE Ch. 11, p. 163 |
| Daily tickets | Fewer than 5 | SRE Ch. 11, p. 166 |
| Alerts per incident | 1 | SRE Ch. 11, p. 167 |
| On-call team, one site | 8 engineers minimum | SRE Ch. 11, p. 162 |
| On-call team, two sites | 6 engineers per site | SRE Ch. 11, p. 162 |
| On-call rotation exposure | Once or twice per quarter per engineer | SRE Ch. 11, p. 168 |
| Project work during an on-call week | None | SRE Ch. 29, p. 499 |
| Status update cadence during an incident | At least every 4 hours | SRE App. C, p. 577 |
A local team can set a different number. State the local number. State that the book gives another one. Do not present a local number as a rule from the book.
observability Table 14 states the alert subset of these numbers as an alert load budget.
slo-engineering owns the error budget and the release policy that the budget enforces.
Postmortems cover the large incidents only. Events that are individually small, frequent, and widespread stay outside their scope (SRE Ch. 16, p. 216). An outage tracker receives every alert, and closes that gap.
| Namespace | Use | The book's example |
|---|---|---|
cause: | What produced the incident | cause:network, cause:network:switch |
action: | What a responder did | A suggested prefix. The book prints no example. |
bug: | The tracked follow-up | bug:76543 |
customer: | The affected counterparty | customer:132456 |
bogus | A false positive | bogus |
Analyze in three layers (SRE Ch. 16, p. 220).
Operational load holds three forms. They are pages, tickets, and ongoing responsibilities (SRE Ch. 29, p. 493). Toil is manual, repetitive, automatable work. It holds no enduring value, and it scales with the service (SRE Ch. 5, p. 75).
| Step | Action | Signal to take the next step | Source |
|---|---|---|---|
| 1 | Write the SLO first | No SLO exists for the service | SRE Ch. 30, p. 508 |
| 2 | Quantify the symptoms. Set quarterly objectives. | Load stays above the cap | SRE Ch. 11, p. 166 |
| 3 | Fix the monitoring. Remove the unactionable pages. | Load stays above the cap | SRE Ch. 11, p. 166–167 |
| 4 | Make tickets a full-time role for one or two people | Load stays above the cap | SRE Ch. 29, p. 499–500 |
| 5 | Scrub the interrupt classes. Silence each one until its fix date. | No owner accepts the fix | SRE Ch. 29, p. 501 |
| 6 | Transfer exactly one experienced engineer into the team | The practice of the team does not change | SRE Ch. 30, p. 503 |
| 7 | Set common goals with the application developers | The developers keep adding noise | SRE Ch. 11, p. 167 |
| 8 | Route some paging alerts to the developer on-call | The service still misses the standard | SRE Ch. 11, p. 167 |
| 9 | Return the pager to the developer team | — | SRE Ch. 11, p. 167 |
references/03-on-call.md and references/06-interrupts-and-overload.md carry the same nine steps.Incident management proficiency atrophies quickly when the framework is not in constant use (SRE Ch. 14, p. 206). A team that is out of practice makes a long outage out of a short one (SRE App. B, p. 576).
| Drill | Cadence | Source |
|---|---|---|
| Run the incident framework during routine change management | Every change | SRE Ch. 14, p. 206 |
| Rotate the roles between incidents | Every incident | SRE Ch. 14, p. 207 |
| Disaster role playing, 30 to 60 minutes | Weekly | SRE Ch. 28, p. 486 |
| Wheel of Misfortune. Reenact a past postmortem. | Regular | SRE Ch. 15, p. 212–213 |
| Test the rollback path in a test environment | Before a large-scale change | SRE Ch. 13, p. 191 |
| Company disaster and recovery testing | Yearly | SRE Ch. 33, p. 553 |
Run references/incident-failure-catalog.md against the artifact before you accept it. The
catalog holds 52 named failure modes, N-01 to N-52. Each entry gives a signature, a
consequence, and a fix. Run the scan against four artifacts. They are a closed incident record,
a runbook, an on-call rotation design, and a change to an alert rule or a paging config.
Report in this form:
### Incident Scan
| Code | Present | Evidence | Required fix |
|---|---|---|---|
| N-09 No divergence ledger | Yes | 3 flags set at 14:02, no revert list | Open Part 2 and list each flag |
| N-15 Untested rollback path | No | Rollback test recorded 2026-08-14 | — |
List only the codes that apply. "Not applicable" is a valid and preferred result. An honest "not applicable. This page closed in four minutes with no production change." beats an invented finding.
Rigor scales with the size of the event. A full record for a routine page is itself a failure mode.
| Class of event | Required output |
|---|---|
| A page that a runbook closes in minutes, with no user impact | One on-call log line |
| A page that needs a production change | The log line, plus a divergence ledger entry |
| A declared incident under Table 1 | Incident Record, Parts 1 and 2 |
| Any trigger in Table 8 | Incident Record, Parts 1, 2, and 3 |
| A repeat of an incident class already in the tracker | Part 3, plus a trend query over the tracker |
| A question about on-call load, alert noise, or interrupts | Sections 9 and 11 only |
| A design question with no live fault | Nothing. Use system-design or planner. |
This skill stays silent in four cases. No page fired. No user saw a fault. No responder changed production. No person asks about on-call work. It also stays silent on legal notification, on regulator reporting, and on customer credits. Neither book covers those three.
This skill uses one word for one meaning. Use these words in your output.
| Word | Meaning in this skill |
|---|---|
| incident | An event that Table 1 declares |
| page | A notification that demands action now |
| ticket | A notification that demands action within a few days |
| revert | The verb. To return an artifact to a previous version. |
| rollback | The noun. The act of reverting, as a recorded event. |
| transfer command | The verb. To move the commander role to a named person. |
| handoff | The noun. The transfer of a role at a shift change. |
| stop | To end a process or a job. This skill never writes "shut down". |
| record | The written incident document, in three parts |
| divergence | A change that moves the system away from its normal state |
| toil | Manual, repetitive, automatable work with no enduring value |
| error budget | 1 minus the SLO, over the agreed period |
| postmortem | Part 3 of the record. This skill never writes "retrospective". |
| Reference | Content | Read it when |
|---|---|---|
references/01-incident-command.md | Roles, command post, live state document, handoff, the declaration gate | A fault needs more than one person |
references/02-emergency-response.md | The three emergency classes and what each one teaches | A system breaks now |
references/03-on-call.md | Shift design, the numeric limits, safety under stress, overload | You design or fix a rotation |
references/04-postmortem-culture.md | Triggers, the blameless rule, the template, the review, adoption | You write or review a postmortem |
references/05-tracking-outages.md | Escalator, Outalator, grouping, tagging, analysis, reporting | You need trends, not one story |
references/06-interrupts-and-overload.md | Pages, tickets, ongoing work, polarized time, embedding | The team produces nothing |
references/incident-failure-catalog.md | 52 named failure modes, N-01 to N-52, with an index by symptom | Every scan and every review |
| Overlap | Owner | What this skill keeps |
|---|---|---|
| The six-step diagnosis method, the technique table, the test design | production-troubleshooting | The command over the method, and the record of each test |
| Metric design, alert rule shape, log contract, dashboards | observability | The page as an input, and the alert handling during an incident |
| SLI, SLO, error budget, burn rate, release freeze | slo-engineering | The SLO, used as an exit criterion |
| How to revert a commit, a config, or a release | reverse-branching | The decision to revert now, and the record of the attempt |
| Canary, staged rollout, automatic rollback | reverse-branching | Nothing. Table 7 links to it. |
| Timeouts, retries, backoff, jitter, Circuit Breaker, bulkheads | self-healing-apis | Nothing. Table 7 links to it. |
| Load shedding and graceful degradation mechanics | self-healing-apis | The move, not the implementation |
| Isolation, replication, idempotency, dual writes | data-systems-design | Nothing. A data-loss incident cites its hazard catalog. |
| Threat modelling, compromise, and privilege | security-engineering | The command roles and the record |
| Capacity estimation and the load test | capacity-engineering | Nothing. A saturation incident cites it. |
| Architecture and the component boundaries | system-design | Nothing |
engineer-workflow does not schedule this skill. A page or a declaration starts it. Moderncode-review runs Section 13 against a change to an alert rule, a runbook, or a rotation.verify runs Section 13 against a closed record, before that record reaches the repository.planner reads the Part 3 action items. Each item becomes a phase or a bug.detail-planning must produce a tested rollback for any phase that this skill can page on.self-healing-apis.security-engineering.production-troubleshooting.Attribution: the rules, the numbers, and the page references in this skill and in its references come from two books. The first is Site Reliability Engineering: How Google Runs Production Systems. Its authors are Betsy Beyer, Chris Jones, Jennifer Petoff, and Niall Richard Murphy. O'Reilly Media published it in 2016. The second is Release It! Design and Deploy Production-Ready Software, by Michael T. Nygard. The Pragmatic Bookshelf published it in 2007. Page numbers refer to those editions. Content that both books predate carries the tag Modern, and this skill never attributes such content to a book.
references/01-incident-command.md (opens in a new tab)references/02-emergency-response.md (opens in a new tab)references/03-on-call.md (opens in a new tab)references/04-postmortem-culture.md (opens in a new tab)references/05-tracking-outages.md (opens in a new tab)references/06-interrupts-and-overload.md (opens in a new tab)references/incident-failure-catalog.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
incident-command, blameless-postmortem, on-call, alert-fatigue, runbook, sre
Other plugins' skills for the same job
18 skills in this plugin
/capacity-engineeringFinds the resource that reaches its limit first. Proves it with a load test that resembles real traffic. Plans for the load that was measured. Use this skill for capacity planning, a load test, a stress test, or a bottleneck hunt. Use it for a question about headroom, saturation, or throughput. Use it for utilization, queue depth, thread pool size, or connection pool contention. Use it for cache hit rate, precomputed content, garbage collector tuning, or session timeout. Use it for N+1 queries, table scans, or a launch traffic forecast. Use it for load balancing policy, subsetting, and server count. The content comes from Release It! (Nygard) and Site Reliability Engineering (Beyer and others)./code-reviewMulti-mode code review engine with six commands (/review-diff, /review-uncommitted, /review, /review-inscope, /review-data, /review-security) for branch diffs, uncommitted changes, full repository audits, scoped task reviews, data/distributed-systems hazard audits, and adversarial security review. Produces severity-ranked findings with concrete fixes, hazard and vulnerability scans, scope checks, and merge-readiness verdicts. Use when reviewing code, PRs, diffs, uncommitted changes, auditing a repo, or assessing security risk.npx claudepluginhub cool-coder174/engineering-skills --plugin engineering-skills