incident-postmortem
Skill0 starsChanged 21 days agoMITView on GitHub
Turn raw incident material — Slack/Teams threads, alert history, Grafana/Datadog screenshots or queries, logs, deploy and config-change history, on-call notes — into a blameless postmortem with a precise UTC timeline, impact numbers, root cause and contributing factors (5 whys), what went well/poorly, and owned, dated action items. Use whenever someone mentions a postmortem, RCA, incident report, outage write-up, "what happened during the incident", a SEV/P1 review, or pastes an incident channel and asks for a summary — even if they only ask for "a timeline".
25 other projects use a version of this.
Adopted by
Most recently taken up by
- Aaqibhafeezkhan/skillselftheir own version, first seen Nov 29, 2026
- divik-09/claude-skills-collectiontheir own version, first seen Nov 29, 2026
- CommitTheKermit/ao-skillstheir own version, first seen Nov 29, 2026
- camilooscargbaptista/cto-toolkittheir own version, first seen Nov 29, 2026
- Kuan-AI-com/agent-skillstheir own version, first seen Nov 15, 2026
- LIXIAO199115/skillrigtheir own version, first seen Nov 15, 2026
Used with
Projects with it also use readme-writer, pr-description and 3 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.
IdkwhatImD0ingSkillreadme-writer
Write a winner-grade README for a hackathon project: a centered hero with shields.io badges, a clickable demo-video poster, awards and stats tables, a Mermaid architecture diagram, a tech-stack table, a repo map, team cards, and an honest build-context note, then set the repo's About metadata (description, website, and topics) to match. Use this skill whenever the user wants a README, GitHub landing page, project writeup, repo polish, or repo description and tags for a hackathon submission or portfolio piece.
Also in 3 projects that use this
MicrosoftSkillpr-description
Draft Nacelle PR titles, pull request descriptions, commit titles, commit descriptions, and squash commit messages. Use when asked for PR or commit wording, a branch summary, or a PR description that can be used in a commit. Omit validation sections from commit bodies and remove filler.
Also in 4 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 5 projects that use this
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 4 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- github/awesome-copilot★ 42ksame name
- proflead/codex-skills-library★ 153same name
- logly/mureo★ 64same name
- anthropics/claude-tag-plugins★ 60same name
- johnqtcg/awesome-skills★ 30same name
- jaskirat1616/grok-skills★ 22same name
- JayRHa/agent-skills★ 12same name
- JayRHa/AgentSkills★ 12same name
- z-Zihan/Evir★ 11same name
- camilooscargbaptista/cto-toolkit★ 9same name
15 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 repository7 other files it gives its agents.
- anti-slop-editorSkill
- codebase-viva-prepSkill
- md-to-docSkill
- oss-readySkill
- pr-explainer-quizSkill
- stacked-pr-splitterSkill
- terraform-plan-reviewerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use roles, not names, everywhere in the document, including the timeline ("on-call SRE acked", not "Priya acked").
- Distinctive: line 32
Use 5 whys, but stop at a cause the team can actually act on, and separate:
- Distinctive: line 39
If evidence is inconclusive, say so and list the hypotheses with what would confirm each.
- Very specific: line 42
Use the structure in references/template.md.
- Very specific: line 48
Default to Markdown. If the user publishes to Confluence/Notion/Google Docs and a connector is available, offer to publish — don't do it …
“Common” is measured: kept by at least 6 in 10 of the 21 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 postmortem
A good postmortem lets someone who wasn't there understand what happened, why the system allowed it, and what will stop it recurring. A bad one assigns blame or ends with "be more careful".
1. Collect evidence before writing
Gather whatever the user has; ask for what's missing (don't block on it — write with gaps marked [TBD]):
- Detection: first alert / first customer report, with timestamps
- The incident channel or chat thread
- Metrics: error rate, latency, saturation for the affected service(s) — and if observability MCP tools (Grafana, Datadog, Prometheus, Loki) are connected, query them directly for the incident window and a baseline window before it
- Changes in the 72h before: deploys, config changes, feature flags, infra changes, certificate rotations, dependency updates
- Mitigation and resolution actions
Stay inside the evidence
The postmortem is a record of this incident. Use only what the user gave you or what you queried for this incident window. Don't bring in details from other incidents, earlier conversations or remembered context, even if they look related. Readers can't tell where those came from, and it makes the document unreliable. Don't describe or allude to other incidents, even in chat. If a recurrence check would help, ask the neutral question "Has anything like this happened before?" and leave it at that.
Use roles, not names, everywhere in the document, including the timeline ("on-call SRE acked", not "Priya acked"). Names belong in the incident channel, not in a blameless review.
2. Build the timeline first
Everything else is derived from it. Rules:
- All times in UTC with date,
YYYY-MM-DD HH:MM. Convert local times explicitly and note the source timezone once. - One line per event: time · what happened · source (alert name, message link, graph). Facts only, no interpretation.
- Compute every interval from the timeline's own timestamps and re-check the arithmetic before writing it in prose ("12 minutes before the first alert"). Mismatched numbers are the first thing reviewers notice.
- Mark the key moments: trigger (change/event that started it), impact start, detected, mitigated, resolved. Compute time-to-detect and time-to-mitigate from these.
- Gaps of >30 min with no entries during active impact are worth a note — often where the real lesson is.
3. Root cause
Use 5 whys, but stop at a cause the team can actually act on, and separate:
- Trigger — what started it (a config change, traffic spike)
- Root cause(s) — why the system was vulnerable to that trigger
- Contributing factors — what made it worse or slower to fix (missing alert, misleading dashboard, runbook out of date)
Systems, not people: "the deploy pipeline allowed an unreviewed config change to reach prod" — not "Alex pushed a bad config". Use roles ("the on-call engineer") instead of names in the body.
If evidence is inconclusive, say so and list the hypotheses with what would confirm each. Don't present a guess as the root cause.
4. Write it
Use the structure in references/template.md. Keep the summary to 3–4 sentences a VP could read. Quantify impact (requests failed, % of users, duration, revenue/SLA if known).
5. Action items
Each one must be: specific, owned (a role or team named in the material, or TBD — suggest: <role>; don't invent team names), prioritized (P0 prevents recurrence / P1 reduces impact / P2 improves response), and dated. Prefer actions that prevent the class of problem (guardrail, alert, automated check) over one-off fixes. Avoid "improve monitoring" — say which alert, on which signal, at what threshold.
6. Deliver
Default to Markdown. If the user publishes to Confluence/Notion/Google Docs and a connector is available, offer to publish — don't do it unprompted.
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.

