incident
Skill4 starsChanged 46 days agoMITView on GitHub
Runs incident response and the blameless postmortem — severity, containment, diagnosis (logs/metrics/containers via a deployment skill when present), fix or rollback, timeline, root cause, actions — into docs/ops/incidents/INC-NNN.md. Use when production is down or degraded, after /hotfix, for 'we have an outage', 'postmortem', 'incident report'.
21 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/EngramGraphtheir own version, first seen Nov 8, 2026
- lalulali/vespyrtheir own version, first seen Nov 6, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Nov 1, 2026
- fervaldezjr/agent-opstheir own version, first seen Nov 1, 2026
- umararshad4/honey-stacktheir own version, first seen Nov 1, 2026
- DataWithBaraa/claude-code-data-engineering-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use runbook, perf and 6 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.
AnthropicSkillrunbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
Also in 4 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.
Also in 3 projects that use this
drewdrewthisSkillsweep
Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 5 projects that use this
mijunriSkilldatabase
数据库脚本与操作规范。脚本放在 db_scripts 目录,遵循查询优化、事务、安全等实践。
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 6 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- AsiaOstrich/universal-dev-standards★ 84same name
- DataWithBaraa/claude-code-data-engineering-skills★ 84same name
- manusco/resonance★ 38same name
- ulises-jeremias/agent-toolkit★ 19same name
- lalulali/vespyr★ 11same name
- NotHarshhaa/devops-skills★ 8same name
- greglas75/zuvo★ 7same name
- umararshad4/honey-stack★ 5same name
- AsiaOstrich/EngramGraph★ 4same name
- gufranco/claude-engineering-rules★ 3same name
11 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 repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- testing/CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- adoptSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- backlogSkill
- brainstormSkill
- changelogSkill
- code-reviewSkill
- collaboration-protocolSkill
- create-storiesSkill
- data-modelSkill
- dependency-auditSkill
- deploySkill
- design-systemSkill
- dev-storySkill
- docsSkill
- feature-specSkill
- game-conceptSkill
- hardenSkill
- helpSkill
- hotfixSkill
- impactSkill
- initSkill
- migrateSkill
- pentestSkill
- perf-auditSkill
- product-specSkill
- qa-planSkill
- refactorSkill
- release-checklistSkill
- retrospectiveSkill
- security-auditSkill
- setup-stackSkill
- skill-improveSkill
- skill-testSkill
- sprint-planSkill
- sprint-statusSkill
- stack-updateSkill
- startSkill
- story-doneSkill
- team-featureSkill
- team-gameSkill
- team-releaseSkill
- team-securitySkill
- tech-debtSkill
- test-setupSkill
- threat-modelSkill
- updateSkill
- ux-specSkill
The file
Files
Incident
Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.
Template incident-postmortem.md. In the commands below, <hooks> is .claude/hooks/ in copy mode and ${CLAUDE_PLUGIN_ROOT}/hooks/ in plugin mode. Other studio skills run through the Skill tool — /deploy (Phase 1 and 3), /hotfix (Phase 3) and /backlog add (Phase 4) — as /web-studio:<name> in plugin mode and /<name> in copy mode (coordination-rules § Subagents); each keeps all of its own phases and gates, its verdict comes back as text this skill quotes, and they run one after another, never two at once. /create-stories is a hand-off in the closing AskUserQuestion, not run from here.
Phase 1: Containment
Severity; what users see; immediate measures (rollback via /deploy/the deployment skill, feature kill switch, rate limit) — with confirmation. Security (leak/breach?) → security-lead immediately: isolate, rotate secrets, preserve logs.
Phase 2: Diagnosis
Logs (delegate verb logs [service] [--since] by .claude/docs/deploy-target-contract.md, or docker compose logs), metrics, recent deploys/migrations, git log; hypotheses → verification.
No logs (the delegate answers NOT SUPPORTED or FAILED, no compose access, the retention window has passed, the service never logged) → say so in the diagnosis in one line ("no logs: <reason>"), continue from metrics, recent deploys and git log, mark every hypothesis that logs would have confirmed as unverified, and note it in the postmortem under "What did not work" with a detect action (log retention, structured logs, the delegate's logs verb). Never silently diagnose as if logs had been read.
Phase 3: Fix
/hotfix or /deploy rollback, each run through the Skill tool with its own confirmations (coordination-rules § Subagents; the incident continues into the postmortem afterwards, so these are runs, not hand-offs); verify by metrics.
Phase 4: Postmortem
- Timeline, root cause (system/process, blameless), what worked/did not, actions (fix/prevent/detect) with owners and dates in the postmortem's Actions table — the table is the record of owner and due date. Render the postmortem in the chat (rule 7, readable rendering) and name the actions that step 5 will record.
- Actions → backlog, not the roadmap. The roadmap holds story lines only (
templates/roadmap.md:- [ ] [ID](path) · Title+ markers,🏷is the layer, no owner marker), and/create-storiesdoes not read Backlog lines — so no line is written toproduction/roadmap.mdhere. Each action becomes oneproduction/backlog.mditem (I-NNN) in step 5; the prevent/detect actions become stories through/create-storiesfrom the postmortem (the next step). Afixaction that is already a hotfix is recorded with its PR link in the Actions table and gets no backlog item. - "May I write
docs/ops/incidents/INC-NNN.md?" — oneAskUserQuestion: write (Recommended) · show the draft/diff first · not now. After the "write" answer:touch .claude/.write-consent(rule 7 — the consent-guard hook checks the marker), then write it. - Commit gate (rule 7 (4),
.claude/docs/git-workflow.md§ Documents), recorded before it is asked —<hooks>session-state.sh set Gate "/incident Phase 4: commit?"— and cleared after the answer (<hooks>session-state.sh set Gate "—"), so an open gate survives the next turn; oneAskUserQuestion:docs: postmortem INC-NNNstaging exactlydocs/ops/incidents/INC-NNN.md— on the default branch when no story or hotfix work is in progress; when HEAD is a story or hotfix branch, name it and offer: switch to the default branch and commit there (Recommended — a pipeline-wide document) · commit here (the postmortem belongs to this hotfix) · leave uncommitted. The fix's code, configs and workflows never ride thedocs:commit — they belong to the/hotfixbranch and its PR; name them. Nothing is committed without the answer. - Record the actions, after the commit gate and before the next step:
/backlog add "<action> 🔗 INC-NNN"through theSkilltool (/web-studio:backlog addin plugin mode), one call per action, one after another, each with its own write and commit gate inside/backlog(source:incident INC-NNN);/backlogcreatesproduction/backlog.mdwhen the project has none. An action that is neither in the Actions table nor recorded as anI-NNNis gone at the end of the session — the result lists everyI-NNNnext to its action.
Verdict: RESOLVED | MITIGATED | OPEN. Next step — one AskUserQuestion: /create-stories for the prevent/detect actions (Recommended) · /hotfix · close the incident.
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.

