agentleFS
XData-siXData-si/xdata-agenthub/skills/postmortem/SKILL.md

postmortem

Skill1 starsChanged 34 days agoMITView on GitHub

Write a blameless incident postmortem with an accurate timeline, impact, contributing factors and tracked corrective actions. Use after an outage, security incident, data issue or near miss once the service is stable.

50 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use hypothesis-driven-debugging, status-report and 8 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.
  • Sturla22Skill

    hypothesis-driven-debugging

    Debug by ranking concrete hypotheses and running discriminating checks. Use when a bug is hard to localize, many plausible failure points exist, logs are noisy or misleading, a symptom appears intermittently, or trial-and-error edits haven't worked.

    Also in 3 projects that use this

  • AnthropicSkill

    status-report

    Generate a status report with KPIs, risks, and action items. Use when writing a weekly or monthly update for leadership, summarizing project health with green/yellow/red status, surfacing risks and decisions that need stakeholder attention, or turning a pile of project tracker activity into a readable narrative.

    Also in 3 projects that use this

  • SaluteYBSkill

    skill-eval

    Evaluate, tune, and regression-check AgentSkills. Use when creating a new skill or improving an existing one and you need structured should-trigger, should-not-trigger, boundary-case, and execution-quality examples. Also use when auditing overlapping skills and sharpening trigger descriptions before release.

    Also in 3 projects that use this

  • aakash-dharSkill

    estimate

    Estimates effort for tasks and tickets by analyzing code complexity, dependencies, scope, risk, and historical patterns. Use when the user says "how long will this take?", "estimate this", "how much effort?", "size this ticket", "story points", "can we do this in a sprint?", "level of effort", or "is this a big change?".

    Also in 3 projects that use this

  • seongjaeryuSkill

    organize

    Organize knowledge into Sets

    Also in 3 projects that use this

  • neurofooSkill

    premortem

    Pre-mortem analysis that imagines a plan has failed, then works backward to identify causes and preventions. Use before launches, major decisions, or risky initiatives to surface hidden risks.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 45 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write "the deploy pipeline allowed a migration without a lock timeout", not "Alex ran a bad migration".

    line 27
  2. Distinctive:

    Every timeline entry cites a source.

    line 41
  3. Distinctive:

    No individual is blamed; contributing factors are systemic and actionable.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 45 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Blameless Postmortem

Goal

Learn why the system allowed the incident and reduce the chance or impact of recurrence, without assigning personal blame.

Inputs

  • Alerts, chat logs, deployment history, dashboards and logs covering the incident window.
  • Notes from responders and affected teams, customer reports, support tickets.

Procedure

  1. Start within days while memory is fresh; assign an author who coordinates, not the person "responsible".
  2. Timeline in UTC from first trigger to full resolution: detection, escalation, key decisions, mitigation, recovery. Every entry has a source (log line, message link).
  3. Impact: duration, affected users or requests (numbers), data integrity, SLO budget consumed, financial or contractual effects. State uncertainty explicitly.
  4. Contributing factors rather than a single root cause: technical triggers, latent conditions (missing alert, risky default), process gaps (review, change management), detection and response delays. Use "5 whys" or a causal tree, and stop at actionable system factors, not individuals.
  5. What went well and where the team was lucky.
  6. Corrective actions: specific, owned, with due dates and a ticket; categorise as prevent, detect or mitigate. Prefer system changes (guardrails, automation, tests) over "be more careful".
  7. Review meeting with responders; correct facts; agree on actions.
  8. Publish and track actions to completion; reference the postmortem from runbooks and changed code.

Language guide

Write "the deploy pipeline allowed a migration without a lock timeout", not "Alex ran a bad migration". Describe what information people had at the time.

Example fixture

| Time (UTC) | Event | Source |
|---|---|---|
| 09:12 | Deploy 2024.10.3 started | CI job #4512 |
| 09:14 | Error rate 18 % on /checkout | dashboard link |
| 09:31 | On-call paged (17 min detection gap: alert threshold 25 %) | pager log |
| 09:40 | Rollback completed; error rate < 0.5 % | CI job #4513 |
Action: lower the checkout alert to a burn-rate alert (owner: SRE, due 2024-11-01, TICKET-881)

Acceptance checks

  • Every timeline entry cites a source; impact uses measured numbers or states ranges.
  • No individual is blamed; contributing factors are systemic and actionable.
  • Each corrective action has an owner, a due date and a ticket; at least one targets detection.
  • Security incidents follow disclosure and legal requirements before broad publication.

Output

Postmortem document, action tickets, and updates to runbooks or alerts.

Safety

Redact personal data, credentials and exploit details before sharing widely. Coordinate external communication with the incident owner.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.