incident-response
Skill24 starsChanged 25 days agoMITView on GitHub
Production incident playbook. Use immediately when production is degraded or down. Five phases: detect, contain, diagnose, resolve, post-mortem. Prevents the chaos of uncoordinated response and ensures every incident produces lasting improvements.
- Commits and pushes
81 other projects use a version of this.
Adopted by
Most recently taken up by
- anuragsarkar97/skillstheir own version, first seen Nov 8, 2026
- tigu77/tiguclawtheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- mdigital94/vibe-shield-plugintheir own version, first seen Nov 8, 2026
- nisarth/claude-skills-storetheir own version, first seen Nov 8, 2026
- aymardkouakou/claude-gh-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use dora-metrics, background-jobs and 10 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.
jholhewresSkilldora-metrics
Calculate DORA metrics from git + deploy logs
Also in 3 projects that use this
YepAPISkillbackground-jobs
Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.
Also in 4 projects that use this
MicrosoftSkilldata-modeling
Use when the app needs to store or read data — records, a database, entities, CRUD, lists, "save/remember X", or per-user data with row-level security. This app's data layer is Rayfin's: you declare entities as TypeScript classes with decorators in rayfin/data/, register them in the schema, and read/write them through the typed rayfin-client. Covers: defining an @entity, field decorators, registering it, per-entity access with @role, owner-only row-level security, and the client query/mutation API. Triggers: data, database, model, entity, schema, table, record, CRUD, create, read, update, delete, list, store, save, persist, per-user, row-level security, RLS, access control, ownership.
Also in 7 projects that use this
YepAPISkilldata-pipelines
ETL patterns, cron scheduling, queue-based processing, and batch jobs with Inngest/BullMQ.
Also in 4 projects that use this
mmondoraSkillinfrastructure-as-code
Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.
Also in 5 projects that use this
csiddhant796-blipSkillthreat-detection
Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry. Covers hypothesis-driven threat hunting, IOC sweep generation, z-score anomaly detection, and MITRE ATT&CK-mapped signal prioritization.
Also in 3 projects that use this
Other versions81 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 81
- anthropics/knowledge-work-plugins★ 35ksame name
- microsoft/hve-core★ 1.6ksame name
- hypnguyen1209/offensive-claude★ 401same name
- duyet/clickhouse-monitoring★ 303same name
- kid-sid/claude-spellbook★ 190same name
- irahardianto/awesome-agv★ 157same name
- harness/harness-skills★ 127same name
- nahid-sparktales/agent-dispatcher★ 59same name
- Happy-Technologies-LLC/happy-platform-skills★ 41same name
- drafthq/draft★ 40same name
71 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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-contract-firstSkill
- architecture-auditSkill
- brainstormingSkill
- data-migrationSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- five-whysSkill
- performance-auditSkill
- skill-duplication-auditSkill
- smart-initSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-a-teamSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 68 edited versions we read keep these.
9
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
- Distinctive: line 18
Use this skill immediately when:
- Distinctive: line 34
When did it start? (exact time from monitoring, not "someone noticed")
- Very specific: line 37
Create an incident channel: #incident-YYYY-MM-DD-short-description
- Distinctive: line 59
Look for the fastest way to reduce impact — in this order:
- Distinctive: line 109
Test it minimally before acting on it.
- Distinctive: line 118
Prefer rollback over hotfix — hotfixes under pressure introduce new bugs
- Distinctive: line 124
Verify the metric that triggered the incident is recovering
- Distinctive: line 126
Keep monitoring for 15 minutes before declaring resolved
- Distinctive: line 139
Every SEV-1 and SEV-2 gets a written post-mortem.
- Distinctive: line 187
Every action item has an owner and a date
“Common” is measured: kept by at least 6 in 10 of the 68 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
The Law
CALM IS A SKILL. PANIC IS A CHOICE.
An incident is a system behaving unexpectedly. It is solved by evidence, not speed.
Fast wrong fixes extend incidents. Slow correct fixes end them.When to Use
Use this skill immediately when:
- Error rate spikes above baseline
- Latency exceeds SLA
- A service is unreachable
- Data is inconsistent or missing
- A security event is suspected
The Five Phases
Phase 1: Detect & Declare (first 5 minutes)
Assess impact — answer three questions:
- What is broken? (which service, endpoint, feature)
- Who is affected? (all users, subset, specific region, specific plan tier)
- When did it start? (exact time from monitoring, not "someone noticed")
Declare the incident:
- Create an incident channel:
#incident-YYYY-MM-DD-short-description - Post the initial status: service, impact, start time, who is investigating
- Set the incident severity:
| Severity | Definition |
| SEV-1 | Complete service outage or data loss. All hands. |
| SEV-2 | Critical feature broken, significant user impact. Team leads involved. |
| SEV-3 | Partial degradation, workaround exists. Engineering only. |
| SEV-4 | Minor issue, low user impact. Standard ticket. |
Do not investigate alone for SEV-1/SEV-2. Assign roles:
- Incident Commander — coordinates response, owns communication
- Technical Lead — drives diagnosis and fix
- Comms — updates status page and stakeholders
Phase 2: Contain (first 15 minutes)
Stop the bleeding before diagnosing the wound.
Look for the fastest way to reduce impact — in this order:
- Rollback — was there a recent deploy? Roll it back. Rollback is always faster than a hotfix.
git revert HEAD --no-edit && git push # or kubectl rollout undo deployment/api - Feature flag off — can the broken feature be disabled without affecting the whole service?
- Circuit breaker / rate limit — if a downstream service is causing the issue, can you stop calling it temporarily?
- Scale up — if it's a load issue, can you add capacity immediately?
- Redirect traffic — failover to a secondary region or static error page
Containment does not require knowing the root cause. Act fast to reduce impact, then diagnose.
Phase 3: Diagnose (parallel with or after containment)
Work from evidence. No guessing.
Evidence sources in order of reliability:
- Monitoring dashboards — what changed at the incident start time?
- Error logs — what errors appear that didn't before?
- Recent deploys — what changed in the last 24 hours?
- Recent config changes — feature flags, environment variables, infrastructure changes
- External dependencies — is a third-party service degraded? Check their status page.
Diagnostic commands:
# Recent deploys
git log --oneline -20
# Error spike in logs
grep ERROR app.log | grep "$(date +%Y-%m-%dT%H)" | wc -l
# Slow queries
psql -c "SELECT query, mean_exec_time FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;"
# Service health
kubectl get pods --all-namespaces | grep -v Running
kubectl describe pod <failing-pod>
kubectl logs <failing-pod> --previousForm a single hypothesis: "The incident is caused by X because evidence Y shows Z." Test it minimally before acting on it.
Phase 4: Resolve
Apply the fix with the minimum blast radius.
Fix principles:
- Prefer rollback over hotfix — hotfixes under pressure introduce new bugs
- Apply to staging first if a <5 minute delay is acceptable
- Have a rollback plan for the fix itself
- One change at a time — never apply multiple fixes simultaneously
After applying fix:
- Verify the metric that triggered the incident is recovering
- Confirm no new errors introduced
- Keep monitoring for 15 minutes before declaring resolved
Declare resolved:
RESOLVED — [time]
Service restored. Root cause: [one sentence].
Follow-up actions tracked in post-mortem.Phase 5: Post-Mortem (within 48 hours)
Every SEV-1 and SEV-2 gets a written post-mortem. Every SEV-3 gets at least a brief one.
Template: docs/postmortems/YYYY-MM-DD-short-title.md
# Post-Mortem: [Title]
**Date:** YYYY-MM-DD
**Severity:** SEV-N
**Duration:** Xh Ym (detected HH:MM → resolved HH:MM)
**Impact:** [who was affected and how]
## Timeline
| Time | Event |
|------|-------|
| HH:MM | First alert triggered |
| HH:MM | Engineer notified |
| HH:MM | Incident declared |
| HH:MM | Containment applied |
| HH:MM | Root cause identified |
| HH:MM | Fix deployed |
| HH:MM | Incident resolved |
## Root Cause
[One clear sentence. Not "the server crashed" — why did the server crash.]
## Contributing Factors
- [What made this possible / what made detection slow / what made recovery slow]
## What Went Well
- [Things that helped, even small ones]
## Action Items
| Action | Owner | Due |
|--------|-------|-----|
| Add alert for X | @person | YYYY-MM-DD |
| Fix root cause Y | @person | YYYY-MM-DD |
| Add runbook for Z | @person | YYYY-MM-DD |Post-mortem rules:
- Blameless — systems fail, not people
- Focus on systemic improvements, not individual mistakes
- Every action item has an owner and a date
- Action items are tracked as real tickets, not just documented and forgotten
Communication Templates
Status page update (during incident):
[INVESTIGATING] We are investigating reports of [issue] affecting [scope].
Our team is actively working on a resolution. Next update in 30 minutes.Resolution notice:
[RESOLVED] The issue affecting [scope] has been resolved as of [time].
Root cause was [brief explanation]. A full post-mortem will be published within 48 hours.
We apologise for the inconvenience.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.

