agentleFS
mmccallammccalla/coding-agent-skill-library/skills/incident-response-and-postmortems/SKILL.md

incident-response-and-postmortems

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Handles incidents, recovery, postmortems and corrective actions with blameless, evidence-led practice. Use when responding to outages, writing postmortems, or defining incident runbooks.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    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:

    Use this skill for incidents, outages, degraded service, failed deployments, failed workflows, data-quality pipeline failures, operational …

    line 14
  2. Distinctive:

    Create postmortem and corrective actions.

    line 41
  3. Distinctive:

    Do not blame individuals.

    line 87
  4. Distinctive:

    Do not delete or overwrite incident evidence.

    line 88
  5. Distinctive:

    Do not hide uncertainty in incident updates.

    line 89
  6. Distinctive:

    Do not declare recovery based only on infrastructure health.

    line 90
  7. Distinctive:

    Do not create vague corrective actions such as “be more careful”.

    line 91
  8. Distinctive:

    Do not implement risky remediation during an incident unless necessary and approved.

    line 92
  9. Distinctive:

    Do not skip postmortems for high-impact or repeated incidents.

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Incident Response and Postmortems

When to use

Use this skill for incidents, outages, degraded service, failed deployments, failed workflows, data-quality pipeline failures, operational recovery, postmortems, corrective actions and incident runbooks.

Objective

Restore service safely, preserve evidence, communicate clearly, learn from failure and implement corrective actions that reduce recurrence or impact.

Procedure

  1. Confirm the incident and user impact.
  2. Assign incident roles where appropriate and establish severity.
  3. Stabilise the system and preserve evidence (logs, metrics, traces, deployment changes).
  4. Communicate status and next update time.
  5. Mitigate or rollback using the safest available path.
  6. Validate recovery from user-visible signals.
  7. Record timeline, actions, postmortem, and corrective actions.

Incident response procedure

  1. Confirm the incident and user impact.
  2. Assign incident roles where appropriate.
  3. Establish severity.
  4. Stabilise the system.
  5. Preserve evidence: logs, metrics, traces, deployment changes, workflow IDs and audit events.
  6. Communicate status and next update time.
  7. Mitigate or rollback using the safest available path.
  8. Validate recovery from user-visible signals.
  9. Record timeline and actions.
  10. Create postmortem and corrective actions.

Severity model

SeverityMeaningExample
SEV1Critical user or business impactrefined writes failing globally
SEV2Major degradation or partial outagevalidation service failing for key source
SEV3Limited impact with workaroundsingle dashboard degraded
SEV4Low impact or internal issuenon-critical alert misconfigured

Postmortem structure

# Postmortem: <incident title>

## Summary
What happened and who was affected.

## Impact
User, service, data, security or operational impact.

## Timeline
Timestamped events.

## Detection
How the issue was detected and whether detection was timely.

## Root cause and contributing factors
Technical, process, dependency and operational factors.

## What went well
Effective actions or controls.

## What went poorly
Gaps, delays or confusion.

## Where we got lucky
Risks that did not materialise.

## Corrective actions
Owner, due date, priority and validation method.

Rules

  • Do not blame individuals.
  • Do not delete or overwrite incident evidence.
  • Do not hide uncertainty in incident updates.
  • Do not declare recovery based only on infrastructure health; validate user-visible behaviour.
  • Do not create vague corrective actions such as “be more careful”.
  • Do not implement risky remediation during an incident unless necessary and approved.
  • Do not skip postmortems for high-impact or repeated incidents.

Optional overlay

For product-specific DataOps/MCP examples, load skills_docs/overlays/mas-dataops-mcp-overlay.md.

References

Verification

  • Incident type and user impact stated.
  • Mitigation or recovery actions documented.
  • Evidence preserved and postmortem or runbook updates noted.
  • Corrective actions and follow-up stated.

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.