incident-response
Skill3 starsChanged 4 months agoMITView on GitHub
Use when a production incident is live or just resolved — severity classification, containment, comms, rollback-vs-fix decisions, and blameless postmortem. Triggers on "incident", "on-call", "page", "postmortem", "事故响应", "线上故障", "复盘".
59 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- harness/harness-skillstheir own version, first seen Oct 5, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 1, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Sep 28, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- hypnguyen1209/offensive-claudetheir own version, first seen Sep 21, 2026
Used with
Projects with it also use dora-metrics, cli-development and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
caiaffaSkilldora-metrics
Measure and improve engineering delivery performance using the four DORA metrics — deployment frequency, lead time for changes, change failure rate, and time to restore. Use to assess delivery health and find the next bottleneck.
Also in 3 projects that use this
nimadorostkarSkillcli-development
Use when building command-line tools. Covers argument design, exit codes, streams and piping, progress output, configuration precedence, and behavior that respects the shell.
Also in 3 projects that use this
jessefmooreSkillexploit-development
PoC development, payload crafting, shellcode generation, ROP chains, heap exploitation, bypass techniques for modern mitigations (ASLR, DEP, CFI, stack canaries)
Also in 3 projects that use this
witi-projectsSkillreact-native-patterns
Build mobile apps with React Native and Expo — navigation, platform-specific code, performance, and native modules. Use when the user says "/react-native-patterns", "react native patterns", or asks about react native patterns.
Also in 3 projects that use this
mmondoraSkilldata-modeling
Schema design, multi-tenant data isolation, and migration management. Firestore and PostgreSQL patterns, RLS, UUID v7 conventions. Use when designing database schemas, writing migrations, or implementing multi-tenant data access.
Also in 4 projects that use this
Robotti-ioSkillsecure-code-review
Repeatable process for an application security code review that produces prioritized findings and fix guidance.
Also in 4 projects that use this
Other versions59 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 59
- anthropics/knowledge-work-plugins★ 26ksame name
- hypnguyen1209/offensive-claude★ 385same name
- irahardianto/awesome-agv★ 157same name
- 686f6c61/alfred-dev★ 116same name
- harness/harness-skills★ 115same name
- thiientv/godmode★ 96same name
- nahid-sparktales/agent-dispatcher★ 59same name
- drafthq/draft★ 40same name
- Happy-Technologies-LLC/happy-platform-skills★ 40same name
- Hack23/European-Parliament-MCP-Server★ 28same name
49 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormSkill
- oss-strategySkill
- specSkill
- researchSkill
- api-designSkill
- architectureSkill
- codebase-designSkill
- design-researchSkill
- domain-modelingSkill
- frontend-designSkill
- imagegenSkill
- image-to-codeSkill
- prompt-engineeringSkill
- prototypeSkill
- schema-designSkill
- auth-implementationSkill
- breakdownSkill
- context-engineeringSkill
- error-handlingSkill
- i18nSkill
- implementSkill
- multi-agent-orchestrationSkill
- cost-optimizationSkill
- performanceSkill
- refactoringSkill
- simplifySkill
- api-testingSkill
- e2e-testingSkill
- load-testingSkill
- tddSkill
- test-generationSkill
- a11y-reviewSkill
- code-reviewSkill
- debuggingSkill
- lintingSkill
- security-reviewSkill
- ci-cdSkill
- deprecation-migrationSkill
- git-workflowSkill
- oss-polishSkill
- shippingSkill
- documentation-auditSkill
- handoffSkill
- observabilitySkill
- purity-auditSkill
- skill-authoringSkill
- using-skillsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
When production is failing, the first job is containment, not root cause.
- Distinctive: line 48
Only attempt a forward fix if rollback is impossible (irreversible migration, no prior deploy) and the fix is small and obvious.
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Incident Response
When production is failing, the first job is containment, not root cause. This skill structures
the live-incident workflow: classify severity, stop the bleeding, communicate, then diagnose — the
inverse of debugging, which builds a red loop first. A blameless postmortem follows every
incident so the system improves, not just the symptom.
When to use
- A production incident is live (page fired, users affected, error spike)
- An incident just resolved and needs a postmortem
- Reviewing or rehearsing incident response readiness
Not for: diagnosing a dev-time bug (use debugging); adding telemetry after the fact (use
observability); launching a new release (use shipping). This skill is for when something
already running has broken.
Steps
1. Declare and classify severity
Assign a severity within the first 5 minutes — severity drives everything downstream (who wakes up, how fast you respond, what comms are required). Use a fixed scale, not ad-hoc:
- SEV1 — user-facing outage or data loss. Page everyone. Incident commander assigned.
- SEV2 — significant degradation, partial outage. Page on-call. IC assigned.
- SEV3 — minor degradation, workaround exists. Ticket, address in business hours.
Record the declaration: start time, severity, initial symptom, who is IC. Verify: severity is written down with a timestamp, not just in someone's head.
2. Contain (stop the bleeding)
The first decision is containment vs. fix. Containment is faster and safer — rollback, disable the offending feature flag, route around the failing dependency, shed load. A fix under pressure is a second incident waiting to happen.
- Rollback to the last known-good deploy (fastest). Platform commands:
kubectl rollout undo deployment/<name>(Kubernetes),aws deploy create-deployment --revision REVISION<prev>(AWS CodeDeploy),gcloud run services update-traffic --to-revisions(Cloud Run),vercel rollback <url>(Vercel). Theshippingskill documents when to roll back (trigger conditions); these are the how commands for a live SEV1. - Disable the feature flag that triggered the issue
- Fail over to a healthy replica or region
- Rate-limit or circuit-break the failing path
Only attempt a forward fix if rollback is impossible (irreversible migration, no prior deploy) and the fix is small and obvious. Verify: the bleeding has stopped — error rate dropping or users recovering — before moving to diagnosis.
3. Communicate
The IC owns comms. Establish a single incident channel and a cadence:
- Internal: status update every 15–30 min (SEV1) or hourly (SEV2): current state, what's been tried, next step, owner, ETA. Stale silence breeds panic and duplicate work.
- External: status page update for user-facing incidents — users tolerate outage, they don't tolerate silence. Update at the same cadence as internal.
- Stakeholders: notify leadership for SEV1; keep them informed, not involved in the fix.
Verify: the last update is less than 30 min old and states the next action with an owner.
4. Diagnose (after containment)
With the bleeding stopped, find root cause. Apply debugging discipline: build a hypothesis,
instrument, verify — but under the incident's time pressure, favor the fastest path to a confirmed
cause over exhaustive analysis. Use the telemetry observability built: traces, metrics, logs,
correlation IDs. If the diagnosis stalls, contain harder and hand off to a fresh responder.
Verify: root cause is stated as a confirmed hypothesis with supporting evidence (log line, metric spike, deploy diff), not a guess.
5. Fix and verify
Apply the smallest fix that addresses the root cause. Verify at runtime — error rate returned to baseline, affected users recovered, no new regression. Re-enable any containment measures disabled (feature flags, failover) only after the fix is confirmed.
Verify: production metrics are at baseline for a sustained window (not a single point) before declaring resolved.
6. Postmortem (blameless)
Within 48 hours, write a blameless postmortem. Blameless means: focus on the system and process, not individuals — "the deploy bypassed the canary" not "X deployed without checking." Every contributing factor is a system gap, not a personal failure.
- Timeline: minute-by-minute from detection to resolution
- Impact: users affected, duration, data loss, revenue
- Root cause: the confirmed cause from step 4
- Contributing factors: what made it possible (missing test, no alert, manual step)
- What went well: detection time, rollback worked, comms cadence held
- Action items: specific, owned, dated — each addresses a contributing factor
Output: docs/postmortem/YYYY-MM-DD-<slug>.md — one file per incident, archived for
organizational learning.
Verify
- Severity declared within 5 min, written down with timestamp
- Containment chosen over forward-fix unless rollback was impossible
- Comms cadence established; last update <30 min old during the incident
- Root cause stated with evidence (not a guess)
- Production metrics at baseline for a sustained window before "resolved"
- Postmortem written within 48 hours, blameless, with owned action items
Red flags: diagnosing before containing; no written severity declaration; silent incident channel; forward-fixing under pressure when rollback was available; postmortem that names individuals instead of system gaps; action items with no owner or date.
References
- ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md — shared discipline (verify don't assume, surface assumptions)
- references/runbook-template.md — runbook format for alert-linked playbooks
- references/postmortem-template.md — blameless postmortem template + action-item tracking
- references/dr-planning.md — load during postmortem action-item planning for proactive DR; backup strategy, restore testing, DR drills, failover orchestration
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

