Index of every page on this site: llms.txt
All skills
paulip114 avatar

/sre-postmortem

@3f0545a
Run it yourself

Use when writing, reviewing or improving a blameless postmortem — structuring the document, quantifying impact, separating trigger from root causes, writing concrete action items, removing blameful language, or building postmortem culture and follow-up tracking. Based on Google SRE practice.

Use this Skill: https://skilld.dev/gh/paulip114/sre-practice-skills/sre-postmortem

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈78 tokens for metadata: the name and description. ≈1.2k when used: this file. ≈396 more on demand in 1 file.

Description uses 3.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈309 characters, or 3.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Blameless Postmortems

A postmortem is a written record of an incident: its impact, what was done, its root causes and contributing factors, and the follow-up that prevents recurrence. Its value is proportional to what people learn from it and what changes because of it.

When one is required

Agree triggers in advance. Typical:

  • User-visible downtime or degradation beyond a threshold.
  • Data loss of any kind.
  • On-call intervention such as a rollback or traffic reroute.
  • Resolution time above a threshold.
  • Monitoring failure (humans found it, not alerts).
  • A single incident consuming a large share of error budget (per sre-slos-and-error-budgets).
  • Anyone may request one for any event.

Blamelessness

Assume everyone acted reasonably with the information and tools they had. Focus on what in the system allowed the failure, not who.

  • Don't name individuals as the cause; describe the action and the conditions that made it possible ("the workflow was rerun manually; the tool had no guard against repeat execution").
  • No loaded or emotional language ("careless", "ridiculous", "can't believe we survived"). Replace adjectives with data.
  • Action items fix systems and processes, not people. "Train people to be more careful" is not a fix; a guard rail is.
  • If leadership slips into blame, redirect to "what warning signs existed and why were they missed?"

Procedure

  1. Assign one owner (plus collaborators) as soon as the incident closes. Include everyone who participated in writing it.
  2. Pull the facts from the incident state doc, chat logs, graphs, deploy history. Build the timeline in UTC.
  3. Quantify impact with numbers: duration, affected users/requests/% of traffic, latency, revenue/budget impact, team cost. An estimate with its method stated beats no number.
  4. Analyse causes. Separate the trigger (what set it off) from root causes and contributing factors (latent conditions that let the trigger cause damage — missing validation, no rate limit, unsafe default, monitoring gap). Keep asking why until you reach things you can change. Expect several contributing causes.
  5. Lessons learned: what went well, what went poorly, where we got lucky (luck marks a hidden risk).
  6. Action items — see criteria below. Group them by theme for large incidents.
  7. Review with the checklist below; senior engineers review high-impact postmortems.
  8. Publish within about a week, widely by default (whole engineering org; customers when appropriate). Delay lets memory fade and lets others fill the silence.
  9. Track action items to closure in the normal bug tracker and review completion rates.

Template: references/postmortem-template.md.

Action item criteria

Each action item must have:

  • One owner and a tracking ticket.
  • A priority — not all the same. At least one top-priority item for any user-affecting outage.
  • A verifiable end state: "Alert when > X% of machines leave the pool within 10 min", not "improve alerting".
  • A type, with a balance across types — not only mitigations:
    • Prevent — stop this class from happening (input validation, safety checks, idempotency).
    • Mitigate — reduce blast radius or duration (rate limits, kill switch, smaller rollouts).
    • Detect — find it sooner (new alert, probe).
    • Repair / Investigate / Process as needed.

Review checklist

  • Readable by someone outside the team (background + glossary for jargon)?
  • Impact quantified, with sources linked?
  • Trigger and root causes both identified, at sufficient depth?
  • Timeline complete, with detection and mitigation times?
  • Action items meet the criteria above, vetted by the service's tech lead?
  • Blameless language throughout?
  • Single owner, status, dates, sharing list filled in?
  • Shared beyond the team?

Building the culture

  • Reward closing action items, not just writing documents.
  • Celebrate good postmortems (reading clubs, weekly outage summaries, cross-team reviews).
  • Use past postmortems for training (re-enact them as role-play drills).
  • Add machine-readable metadata (services, trigger type, detection method, durations) so trends can be analysed across postmortems.
  • Warning signs: people avoid being "involved", postmortems are late or shallow, the same incident recurs (are action items closing? is velocity trumping fixes?).

Sources

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides guidance and templates for writing blameless SRE postmortems based on Google's SRE practices. It is entirely instructional, contains no executable code, and links only to trusted documentation sources.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 3f0545a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month

README badge

README badge for paulip114/sre-practice-skills/sre-postmortem