agentleFS
abevzabevz/devops-skills/skills/incident-analysis/SKILL.md

incident-analysis

Skill0 starsChanged 41 days agoMITView on GitHub

Use when analyzing a production-like incident and writing it up. Mention "incident", "postmortem", "outage writeup" as triggers.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    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:

    Read alerts, logs, dashboards, deploy history, and recorded response actions.

    line 18
  2. Distinctive:

    Do not infer a root cause only from the first visible symptom.

    line 22
  3. Distinctive:

    Follow the Workflow, Safety rules, and Quality checklist below.

    line 26
  4. Distinctive:

    Use after a production (or production-like) incident, when the user wants a structured writeup: what happened, what broke, and what should …

    line 36
  5. Distinctive:

    Document what mitigated the incident (rollback, scale-up, feature flag, manual intervention) versus what will permanently fix it.

    line 53
  6. Distinctive:

    Do not hide or minimize uncertainty — mark unresolved questions as "unknown" or "unconfirmed" rather than filling gaps with …

    line 60
  7. Distinctive:

    Do not assign blame to individuals.

    line 62
  8. Distinctive:

    Do not mark the incident as fully resolved unless the permanent fix is verified, not just the symptom mitigated.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Analysis

TL;DR checklist

  • Collect the incident timeline and actual evidence.
  • Separate user impact, immediate trigger, root cause, and mitigation.
  • Write owned follow-up actions from the observed gaps.

Key read-only checks

  • Read alerts, logs, dashboards, deploy history, and recorded response actions.

Common pitfalls

  • Do not infer a root cause only from the first visible symptom.

Agent procedure

Follow the Workflow, Safety rules, and Quality checklist below.

Quick references

  • Workflow below.

Last verified: unverified

When to use

Use after a production (or production-like) incident, when the user wants a structured writeup: what happened, what broke, and what should change.

Goal

Produce a clear, honest incident report that a team can act on — including what is still uncertain.

Workflow

  1. Collect all available evidence: alerts, logs, dashboards, chat/incident-channel timeline, deploy history, on-call actions taken.
  2. Establish the timeline in UTC (or the org's standard timezone), from first signal to resolution.
  3. Determine blast radius: which users, services, regions, or data were affected, and for how long.
  4. Separate the immediate trigger from the underlying root cause (they are often different).
  5. Document what mitigated the incident (rollback, scale-up, feature flag, manual intervention) versus what will permanently fix it.
  6. Extract concrete follow-up tasks, each with an owner placeholder and priority.
  7. Capture lessons learned, including process or tooling gaps that slowed detection or response.

Safety rules

  • Do not hide or minimize uncertainty — mark unresolved questions as "unknown" or "unconfirmed" rather than filling gaps with plausible-sounding guesses.
  • Do not assign blame to individuals; focus on systems and process.
  • Do not mark the incident as fully resolved unless the permanent fix is verified, not just the symptom mitigated.

Output format

## Summary
<1-2 sentences: what broke, for whom, for how long>

## Impact
<users/services/data affected, severity, duration>

## Timeline
<UTC timestamps, chronological>

## Root cause
<confirmed cause, distinct from the immediate trigger>

## Mitigation
<what stopped the bleeding, and when>

## Permanent fix
<what fully resolves the root cause, status>

## Follow-up tasks
- [ ] <task> — owner: TBD — priority: <high/med/low>

## Lessons learned
<detection gaps, response gaps, process changes>

Quality checklist

  • Timeline uses consistent timestamps and is in chronological order
  • Root cause and immediate trigger are clearly distinguished
  • Every follow-up task is concrete and actionable, not vague ("improve monitoring")
  • Uncertainty is explicitly marked, not glossed over
  • No individual is blamed; findings are systemic

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.