incident-response
Skill40 starsChanged 4 months agoMITView on GitHub
Incident management lifecycle — triage, communicate, mitigate, postmortem. Three modes — new (start incident), update (status update), postmortem (blameless RCA report).
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 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.
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
- Happy-Technologies-LLC/happy-platform-skills★ 40same name
- Hack23/European-Parliament-MCP-Server★ 28same name
- nimadorostkar/Claude-Skills-collection★ 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 repository35 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- web/llms-full.txtllms.txt
- web/llms.txtllms.txt
- adrSkill
- assist-reviewSkill
- bughuntSkill
- changeSkill
- coverageSkill
- debugSkill
- decomposeSkill
- deep-reviewSkill
- deploy-checklistSkill
- discoverSkill
- docsSkill
- documentationSkill
- draftSkill
- graphSkill
- impactSkill
- implementSkill
- initSkill
- integrationsSkill
- jiraSkill
- learnSkill
- new-trackSkill
- opsSkill
- planSkill
- quick-reviewSkill
- revertSkill
- reviewSkill
- standupSkill
- statusSkill
- tech-debtSkill
- testing-strategySkill
- tourSkill
- uploadSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 12 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Check for Draft context:
- Very specific: line 32
If available, follow the base procedure in core/shared/draft-context-loading.md.
- Very specific: line 78
If Jira ticket linked: pull details via MCP (get_issue, get_issue_description, get_issue_comments)
- Very specific: line 80
Use curl/wget to fetch dashboards or error pages mentioned
- Very specific: line 81
Use ssh to access remote log paths if mentioned
- Very specific: line 82
If GitHub MCP available: check recent deployments (last 24h)
- Distinctive: line 89
Can we rollback?: If yes and severity ≥ SEV2: recommend rollback first, investigate after
- Distinctive: line 90
Can we hotfix?: If rollback not possible: identify minimal fix
- Distinctive: line 92
Need to escalate?: If none of above work, escalate severity
- Distinctive: line 94
Document all actions taken with timestamps.
- Distinctive: line 130
Read existing incident file
- Distinctive: line 131
Add new timeline entry with timestamp
- Distinctive: line 132
Update status field if changed
- Distinctive: line 133
Update severity if changed (with justification)
- Distinctive: line 142
Read incident file for timeline and evidence
- Distinctive: line 144
If Jira MCP: pull ticket history and transitions
- Distinctive: line 145
If GitHub MCP: pull changes submitted during/after incident
- Distinctive: line 160
Detection Lag: When was the bug introduced vs when was it detected?
- Very specific: line 164
HLD Claims vs Reality (): If the affected service has a hld.md (search draft/tracks/*/hld.md for §Detailed Design components matching the …
- Very specific: line 174
MANDATORY: Include YAML frontmatter with git metadata: Follow core/shared/git-report-metadata.md.
“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
You are managing an incident through its full lifecycle using structured incident management practices.
Red Flags — STOP if you're
- Fixing before communicating (stakeholders must know first)
- Skipping severity classification
- Writing a postmortem with blame (blameless only)
- Closing an incident without prevention items
- Ignoring rollback as a mitigation option
Communicate first. Fix second. Learn always.
Pre-Check
- Check for Draft context:
ls draft/ 2>/dev/nullThis skill works standalone — incidents don't wait for project setup.
- If available, follow the base procedure in
core/shared/draft-context-loading.md.
Step 1: Parse Arguments
/draft:incident-response new <description>— Start new incident/draft:incident-response update <status>— Post status update/draft:incident-response postmortem— Generate postmortem report/draft:incident-response(no args) — Interactive: ask which mode
NEW Mode — Start Incident
Step 2: Triage
Classify severity:
| Level | Response Time | Who | Examples |
| SEV1 | Immediate, all-hands | Entire team | Data loss, complete outage, security breach |
| SEV2 | 15 minutes | On-call + team lead | Major feature broken, significant degradation |
| SEV3 | 1 hour | On-call | Minor feature broken, workaround exists |
| SEV4 | Next business day | Assigned engineer | Cosmetic issue, minor inconvenience |
Assess:
- What is broken? (from description or Jira ticket)
- Who is affected? (from
draft/product.mduser types if available) - What is the blast radius? (from
draft/.ai-context.mdservice topology if available) - Is data at risk? (escalate to SEV1 if yes)
Step 3: Communicate
Generate initial status update:
INCIDENT: {description}
Severity: SEV{1-4}
Impact: {who/what is affected}
Status: Investigating
Commander: {name or "unassigned"}
Next update: {time — SEV1: 15min, SEV2: 30min, SEV3: 1hr}Step 4: Gather Evidence
- If Jira ticket linked: pull details via MCP (
get_issue,get_issue_description,get_issue_comments) - Extract URLs and log paths from ticket
- Use
curl/wgetto fetch dashboards or error pages mentioned - Use
sshto access remote log paths if mentioned - If GitHub MCP available: check recent deployments (
last 24h) - Record all evidence in incident timeline
Step 5: Mitigate
Following core/agents/ops.md production-safety mindset:
- Can we rollback? If yes and severity ≥ SEV2: recommend rollback first, investigate after
- Can we hotfix? If rollback not possible: identify minimal fix
- Can we mitigate? Feature flag, config change, traffic routing
- Need to escalate? If none of above work, escalate severity
Document all actions taken with timestamps.
Step 6: Save Incident File
Save to: draft/incidents/incident-<timestamp>.md or draft/tracks/<id>/incident.md
# Incident: {description}
| Field | Value |
|-------|-------|
| **Severity** | SEV{N} |
| **Status** | {Investigating/Mitigating/Resolved} |
| **Started** | {timestamp} |
| **Commander** | {name} |
## Timeline
| Time | Action |
|------|--------|
| {time} | Incident detected |
| {time} | Triage: classified as SEV{N} |
| {time} | {mitigation action} |
## Evidence
| Source | Finding |
|--------|---------|
| {source} | {finding} |
## Status Updates
{chronological updates}UPDATE Mode
- Read existing incident file
- Add new timeline entry with timestamp
- Update status field if changed
- Update severity if changed (with justification)
- Generate formatted status update for stakeholders
POSTMORTEM Mode
Step 2: Gather Timeline
- Read incident file for timeline and evidence
git logfor related commits during incident window- If Jira MCP: pull ticket history and transitions
- If GitHub MCP: pull changes submitted during/after incident
Step 3: Root Cause Analysis
Reference core/agents/rca.md methodology:
- 5 Whys Analysis:
- Why did {symptom} happen? → Because {cause 1}
- Why {cause 1}? → Because {cause 2}
- Continue until root cause reached (typically 3-5 levels)
- Root Cause Classification:
- Logic error | Race condition | Data corruption | Configuration error
- Dependency failure | Capacity exceeded | Security exploit | Human error
- Detection Lag: When was the bug introduced vs when was it detected?
- SLO Impact: Which SLOs were affected and by how much?
- HLD Claims vs Reality (): If the affected service has a
hld.md(searchdraft/tracks/*/hld.mdfor §Detailed Design components matching the failing module), compare incident behavior against HLD claims:- Did §Resiliency claims (graceful degradation, circuit breakers, timeout handling) actually hold during the incident?
- Did §Multi-tenancy claims (tenant isolation, predictable performance) hold? Did one tenant impact another?
- Did §Upgrade claims (backward compat, dependent service order) hold? Did an upgrade trigger this?
- Did §Scale claims hold under the load that triggered the incident?
- Did §Observability claims hold — were the listed key metrics sufficient for detection?
- Cite the specific HLD §section using section text (
draft/tracks/<id>/hld.md §Resiliency) for each gap — avoid markdown anchor slugs since renderers (GitHub, mkdocs, Hugo) generate different slugs for nested headings. These citations feed the §Action Items as "amend HLD §X — claim was {claim} but reality showed {reality}."
Step 4: Generate Postmortem
MANDATORY: Include YAML frontmatter with git metadata. Follow core/shared/git-report-metadata.md.
Save to: draft/incidents/postmortem-<timestamp>.md with symlink postmortem-latest.md
Or track-scoped: draft/tracks/<id>/postmortem.md
# Postmortem: {incident title}
## Summary
{2-3 sentences: what happened, impact, duration}
## Impact
- **Duration:** {start} to {end} ({total time})
- **Users affected:** {count or percentage}
- **SLO impact:** {which SLOs, by how much}
- **Data impact:** {any data loss or corruption}
## Timeline
| Time | Event |
|------|-------|
| {time} | {event} |
## Root Cause
{1-2 sentence root cause statement}
### 5 Whys
1. Why? → {answer}
2. Why? → {answer}
...
### Classification
- **Type:** {classification}
- **Detection Lag:** {introduced} → {detected} = {gap}
## What Went Well
- {positive observations}
## What Went Wrong
- {things that made the incident worse}
## Design Claims vs Reality
{populated when an HLD was available — list each HLD claim that did not hold, citing the specific §section}
| HLD Section | Claim | Reality During Incident | Recommended HLD Amendment |
|-------------|-------|-------------------------|---------------------------|
| §Resiliency | {what was claimed} | {what actually happened} | {how to update HLD} |
## Action Items
| # | Action | Owner | Deadline | Status |
|---|--------|-------|----------|--------|
| 1 | {detection improvement} | {name} | {date} | [ ] |
| 2 | {process improvement} | {name} | {date} | [ ] |
| 3 | {code improvement} | {name} | {date} | [ ] |
| 4 | Amend `draft/tracks/<id>/hld.md` §{section} (if claim drift identified) | {design owner} | {date} | [ ] |Step 5: Jira Sync
Follow core/shared/jira-sync.md:
- Attach postmortem to Jira ticket
- Post comment: "[draft] Postmortem complete. Root cause: {1-line summary}. {N} action items."
⚠️ Test Writing Guardrail: If postmortem identifies missing tests, ASK: "Want me to create regression test tasks? [Y/n]"
Cross-Skill Dispatch
- Triggered by:
/draft:new-trackwhen incident keywords detected in description - Postmortem feeds into:
/draft:regression(find the breaking commit),/draft:learn(update guardrails) - Can create: Bug track via
/draft:new-trackfor the fix
Error Handling
If no incident file found (update/postmortem mode): List available incidents, ask which one If no Jira ticket: Proceed without sync, note: "Link a Jira ticket for automatic sync"
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.

