agentleFS
roborracleroborracle/agent-workflow-kit/skills/incident-response/SKILL.md

incident-response

Skill0 starsChanged 3 months agoMITView on GitHub

Handle production incidents with structured triage, communication, and blameless postmortems. Covers severity classification, rollback decisions, stakeholder updates, and follow-up issue creation.

  • Commits and pushes

81 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use dora-metrics, background-jobs and 10 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.
  • jholhewresSkill

    dora-metrics

    Calculate DORA metrics from git + deploy logs

    Also in 3 projects that use this

  • YepAPISkill

    background-jobs

    Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

    Also in 4 projects that use this

  • MicrosoftSkill

    data-modeling

    Use when the app needs to store or read data — records, a database, entities, CRUD, lists, "save/remember X", or per-user data with row-level security. This app's data layer is Rayfin's: you declare entities as TypeScript classes with decorators in rayfin/data/, register them in the schema, and read/write them through the typed rayfin-client. Covers: defining an @entity, field decorators, registering it, per-entity access with @role, owner-only row-level security, and the client query/mutation API. Triggers: data, database, model, entity, schema, table, record, CRUD, create, read, update, delete, list, store, save, persist, per-user, row-level security, RLS, access control, ownership.

    Also in 7 projects that use this

  • YepAPISkill

    data-pipelines

    ETL patterns, cron scheduling, queue-based processing, and batch jobs with Inngest/BullMQ.

    Also in 4 projects that use this

  • mmondoraSkill

    infrastructure-as-code

    Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.

    Also in 5 projects that use this

  • csiddhant796-blipSkill

    threat-detection

    Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry. Covers hypothesis-driven threat hunting, IOC sweep generation, z-score anomaly detection, and MITRE ATT&CK-mapped signal prioritization.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 4

    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:

    When did it start? (check monitoring, recent deployments)

    line 25
  2. Distinctive:

    After resolution, conduct a blameless postmortem within 48 hours.

    line 70
  3. Distinctive:

    Never blame individuals — focus on systems and processes

    line 73
  4. Distinctive:

    Every postmortem produces at least 2 action items with GitHub Issues

    line 74

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

Incident Response & Postmortem

Severity Classification

SeverityImpactResponse TimeExamples
SEV-1Service down, data loss, security breachImmediateProduction database unreachable, auth bypass, data corruption
SEV-2Major feature broken, significant user impact< 1 hourPayments failing, login broken for subset of users
SEV-3Minor feature degraded, workaround exists< 4 hoursSlow search, email notifications delayed
SEV-4Cosmetic, minimal impactNext business dayUI glitch, non-critical log errors

Incident Response Protocol

Phase 1: Assess (first 5 minutes)

  1. What is broken? (symptom, not cause)
  2. Who is affected? (all users, subset, internal only)
  3. When did it start? (check monitoring, recent deployments)
  4. What changed recently? (git log --oneline -10, recent deploys)

Phase 2: Decide — Fix Forward or Roll Back

Was there a recent deployment?
├── Yes → Does reverting the deploy fix the issue?
│   ├── Yes → ROLL BACK immediately
│   └── No → Fix forward (the deploy isn't the cause)
└── No → Fix forward (investigate root cause)

Rollback: revert the deploy, not just the newest commit. git revert HEAD undoes one commit and fails outright on a merge commit.

git checkout prod && git pull
git log --oneline --first-parent -5          # find the deploy's commit(s)
git revert -m 1 <merge-sha>                  # deploy landed as a merge commit
# or: git revert --no-edit <last-good-sha>..HEAD   # deploy was several plain commits
git push origin prod                         # confirm with the user first: this redeploys production

Phase 3: Mitigate

  • Apply the smallest change that stops the bleeding
  • This is NOT the final fix — it's a bandage
  • Accept technical debt temporarily to restore service

Phase 4: Communicate

Status update template:

[INCIDENT] [SEV-X] [Service Name]

Status: Investigating | Identified | Monitoring | Resolved
Impact: [who is affected and how]
Start time: [when it began]
Current action: [what we're doing right now]
Next update: [when to expect the next update]

Phase 5: Resolve and Verify

  • Confirm the fix resolves the root cause (not just the symptom)
  • Monitor for recurrence (15 min, 1 hour, 24 hours)
  • Mark incident as resolved only after monitoring period

Blameless Postmortem

After resolution, conduct a blameless postmortem within 48 hours. Use the postmortem template.

Rules

  • Never blame individuals — focus on systems and processes
  • Every postmortem produces at least 2 action items with GitHub Issues
  • Action items must have owners and deadlines
  • Share postmortems with the team — learning is the goal

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.