Incident Response
When production breaks, speed and clarity matter more than perfection. Mitigate first, root-cause later.
Context
Incident response is the skill of managing production failures under pressure.
See context and anti-pattern notes.
Inputs
I/O contract notes define required inputs and authority.
Process
Step 1: Confirm the Incident and Current Boundary
Capture the minimum facts needed to respond:
- which user-facing behavior is failing
- when the issue started relative to the last deploy
- whether the incident involves a known unsupported flow, coexistence seam, or rollout boundary
- which mitigation levers exist right now (rollback, route disable, traffic shaping, read-only mode, failover)
Automated alerting should catch most incidents before users report them. Key signals:
- Error rate spike (5xx responses > threshold)
- Latency increase (p95 > SLO)
- Resource exhaustion (CPU, memory, disk, connections)
- Business metric anomaly (orders dropping, signups stopping)
Step 2: Triage -- Classify Severity
| Severity |
Impact |
Response Time |
Example |
| SEV1 |
Service down, data loss, security breach |
Immediate, all hands |
Database corruption, complete outage |
| SEV2 |
Major feature broken, significant user impact |
< 30 min |
Payment processing failing |
| SEV3 |
Minor feature broken, workaround exists |
< 4 hours |
Search results incorrect |
| SEV4 |
Cosmetic, no user impact |
Next business day |
UI misalignment |
Pick a severity based on current user impact, not on how scary the suspected root cause sounds.
Step 3: Assemble Response Team and Communication Cadence
- Incident Commander: Owns coordination, not debugging
- Technical Responder(s): Debug and fix
- Communications Lead: Updates stakeholders and users
Define:
- response channel and decision owner
- internal update cadence
- external/customer update trigger if needed
Step 4: Mitigate First, Prefer Fail-Closed Containment
Stop the bleeding. Acceptable mitigations:
- Rollback to last known good deployment
- Disable feature flag for broken feature
- Scale up to handle load
- Switch to backup/failover system
- Apply rate limiting to protect remaining capacity
- Temporarily reject the unsafe or unsupported path explicitly instead of guessing at partial support
- Shift the affected flow to a safe fallback or read-only coexistence path
Mitigation does NOT need to fix the root cause. It needs to reduce impact.
For brownfield incidents, favor mitigations that preserve coexistence and data integrity over "keep everything available at any cost."
Step 5: Investigate with Evidence, Not Guesses
Once mitigated, investigate root cause with less time pressure:
- Gather evidence (logs, metrics, traces from the incident window)
- Capture deploy ID, config deltas, and rollback decisions
- Build timeline (what happened, in what order)
- Identify root cause (not just the symptom)
- Compare observed behavior against the reviewed contract or release boundary
- Hand off code-level root-cause work to
pc-systematic-debugging when the next step is a real code fix rather than an operational mitigation
- Implement the proper fix only after the root-cause path is evidenced
- Deploy fix with extra monitoring
Do not invent precision under pressure. If sync semantics, tenancy rules, or rollout intent remain uncertain, record them as open incident questions and keep the system in the safer mode.
Step 6: Verify Recovery and Handoff Cleanly
Before declaring the incident resolved:
- confirm alerts and customer-visible symptoms have cleared
- confirm rollback, fail-closed behavior, or fallback path is still active as intended
- document any temporary guardrails that must remain until a permanent fix ships
- hand off the follow-up work to the right downstream skills (
pc-runbooks, pc-retrospective, pc-tech-debt-management)
Step 7: Postmortem (within 48 hours)
Blameless postmortem -- focus on systems, not people:
- Timeline of events
- Root cause analysis (5 Whys)
- What went well in the response
- What went poorly
- Action items with owners and deadlines
Outputs
Produce only declared outputs at their documented quality boundary.
Quality Gate
Distribution
- Public install surface:
skills/.curated
- Canonical authoring source:
skills/07-operations/pc-incident-response/SKILL.md
- This package is exported for
npx skills add/update compatibility.
- Packaging stability:
beta
- Capability readiness:
beta
- Portability:
portable_with_caveat
- Public caveat: Portable as skill guidance; full governance guarantees require the Prodcraft repository contracts and validation checks.
1---2name: pc-incident-response3description: Use when a live production issue needs coordinated containment, severity triage, stakeholder communication, and evidence capture, especially when a recent release, brownfield coexistence rules, rollback decisions, or unresolved contract boundaries must be handled before root-cause work.4---56# Incident Response78> When production breaks, speed and clarity matter more than perfection. Mitigate first, root-cause later.910## Context1112Incident response is the skill of managing production failures under pressure.1314See [context](references/context.md) and [anti-pattern](references/anti-patterns.md) notes.1516## Inputs1718[I/O contract notes](references/io-contract.md) define required inputs and authority.1920## Process2122### Step 1: Confirm the Incident and Current Boundary2324Capture the minimum facts needed to respond:25- which user-facing behavior is failing26- when the issue started relative to the last deploy27- whether the incident involves a known unsupported flow, coexistence seam, or rollout boundary28- which mitigation levers exist right now (rollback, route disable, traffic shaping, read-only mode, failover)2930Automated alerting should catch most incidents before users report them. Key signals:31- Error rate spike (5xx responses > threshold)32- Latency increase (p95 > SLO)33- Resource exhaustion (CPU, memory, disk, connections)34- Business metric anomaly (orders dropping, signups stopping)3536### Step 2: Triage -- Classify Severity3738| Severity | Impact | Response Time | Example |39|----------|--------|---------------|---------|40| SEV1 | Service down, data loss, security breach | Immediate, all hands | Database corruption, complete outage |41| SEV2 | Major feature broken, significant user impact | < 30 min | Payment processing failing |42| SEV3 | Minor feature broken, workaround exists | < 4 hours | Search results incorrect |43| SEV4 | Cosmetic, no user impact | Next business day | UI misalignment |4445Pick a severity based on current user impact, not on how scary the suspected root cause sounds.4647### Step 3: Assemble Response Team and Communication Cadence4849- **Incident Commander**: Owns coordination, not debugging50- **Technical Responder(s)**: Debug and fix51- **Communications Lead**: Updates stakeholders and users5253Define:54- response channel and decision owner55- internal update cadence56- external/customer update trigger if needed5758### Step 4: Mitigate First, Prefer Fail-Closed Containment5960Stop the bleeding. Acceptable mitigations:61- Rollback to last known good deployment62- Disable feature flag for broken feature63- Scale up to handle load64- Switch to backup/failover system65- Apply rate limiting to protect remaining capacity66- Temporarily reject the unsafe or unsupported path explicitly instead of guessing at partial support67- Shift the affected flow to a safe fallback or read-only coexistence path6869Mitigation does NOT need to fix the root cause. It needs to reduce impact.7071For brownfield incidents, favor mitigations that preserve coexistence and data integrity over "keep everything available at any cost."7273### Step 5: Investigate with Evidence, Not Guesses7475Once mitigated, investigate root cause with less time pressure:76- Gather evidence (logs, metrics, traces from the incident window)77- Capture deploy ID, config deltas, and rollback decisions78- Build timeline (what happened, in what order)79- Identify root cause (not just the symptom)80- Compare observed behavior against the reviewed contract or release boundary81- Hand off code-level root-cause work to `pc-systematic-debugging` when the next step is a real code fix rather than an operational mitigation82- Implement the proper fix only after the root-cause path is evidenced83- Deploy fix with extra monitoring8485Do not invent precision under pressure. If sync semantics, tenancy rules, or rollout intent remain uncertain, record them as open incident questions and keep the system in the safer mode.8687### Step 6: Verify Recovery and Handoff Cleanly8889Before declaring the incident resolved:90- confirm alerts and customer-visible symptoms have cleared91- confirm rollback, fail-closed behavior, or fallback path is still active as intended92- document any temporary guardrails that must remain until a permanent fix ships93- hand off the follow-up work to the right downstream skills (`pc-runbooks`, `pc-retrospective`, `pc-tech-debt-management`)9495### Step 7: Postmortem (within 48 hours)9697Blameless postmortem -- focus on systems, not people:98- Timeline of events99- Root cause analysis (5 Whys)100- What went well in the response101- What went poorly102- Action items with owners and deadlines103104## Outputs105106Produce only declared outputs at their documented quality boundary.107108## Quality Gate109110- [ ] Severity and current user impact are explicit111- [ ] Containment path and rollback or fail-closed decision are explicit112- [ ] Incident timeline and evidence sources are captured113- [ ] Stakeholder communication cadence and owner are explicit114- [ ] Post-incident follow-up actions and owners are defined115116## Distribution117118- Public install surface: `skills/.curated`119- Canonical authoring source: `skills/07-operations/pc-incident-response/SKILL.md`120- This package is exported for `npx skills add/update` compatibility.121- Packaging stability: `beta`122- Capability readiness: `beta`123- Portability: `portable_with_caveat`124- Public caveat: Portable as skill guidance; full governance guarantees require the Prodcraft repository contracts and validation checks.