agentleFS
umararshad4umararshad4/honey-stack/skills/incident/SKILL.md

incident

Skill4 starsChanged 15 days agoMITView on GitHub

Respond to a production outage: assess severity, mitigate first (roll back/flip a flag/scale), investigate safely, communicate, write a blameless postmortem. Use when prod is down, degraded, or errors spike.

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 2

    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:

    Roll back the deploy: if impact started right after a release — usually the single highest-value action.

    line 30
  2. Distinctive:

    Default to rollback when a recent deploy correlates with onset and it's safe.

    line 33

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

A live outage is not a debugging session. Restore service first, understand why later. Different from the debug skill, which is for local, non-urgent root-causing.

What an AI agent must NOT do

An agent never makes a unilateral risky change to production during an incident. Mitigations that mutate prod — rollback, feature-flag flips, scaling, failover, traffic shedding, config changes — need explicit human approval before you run them.

You may autonomously: read dashboards/logs/traces, correlate "what changed", draft the status update, build the timeline, and recommend a specific mitigation with rationale — then wait for a human. Never run a write/mutating query on prod, never restart or flush state on a hunch, never post an external status update without sign-off.

Lifecycle

Detect → Acknowledge (fast, so others know it's owned) → Assess severity → Mitigate (stop the bleeding) → Communicate → Resolve → Postmortem. Declare early; under-declaring costs more than over-declaring.

Severity (classify by user/business impact, not cause)

  • SEV1 — major outage / data loss / breach; core function down for most users. Page on-call + IC, exec + comms, external status page.
  • SEV2 — significant degradation or a key feature down for many; workaround may exist. Page on-call + IC.
  • SEV3 — limited/partial impact, small subset. Business-hours, ticket.
  • SEV4 — cosmetic/negligible. Backlog. Define exact thresholds (error %, users, duration) ahead of time so it isn't a mid-incident debate.

Mitigate first (fastest → safest levers)

  1. Roll back the deploy if impact started right after a release — usually the single highest-value action.
  2. Disable the feature flag — instant, targeted, lower blast radius; preferred when the change is flag-gated.
  3. Scale up/out for resource saturation. Fail over to a healthy replica/region. Shed load (rate-limit, degraded/read-only mode, circuit-break a failing dependency). Default to rollback when a recent deploy correlates with onset and it's safe; forward-fix only when rollback is impossible (irreversible migration, data written in a new shape) or clearly riskier. Beware rolling back across incompatible schema migrations.

Investigate a live system safely

"What changed?" first — recent deploys, config/flag flips, infra changes, traffic spikes, cert/secret expiry, DNS. Watch the four golden signals: latency (split success vs error), traffic, errors, saturation. Correlation ≠ causation — confirm with a second signal, but don't let analysis block mitigation. Read-only on prod: query replicas/logs/metrics, never speculative writes/restarts/flushes (they destroy evidence or widen the outage). references/runbook.md.

Communicate

Regular updates even when "no change" — SEV1 every ~15–30 min, and always state the next-update time. Internal channel = technical + timeline; external/status page = plain-language impact, what you're doing, next update, no internal hostnames or blame. Use "monitoring", not "fixed", until confident.

Blameless postmortem

Structure: summary; impact (duration, users/revenue, SLO/error-budget burn); timeline (timestamped); root cause & contributing factors (5 Whys, usually multi-cause); detection (how fast, alert gaps); what went well / badly / where we got lucky; action items each with an owner + due date + ticket. Blameless — ask "what made this failure possible?", not "who did it?". Turn action items into prevention: regression tests, new alerts, guardrails, runbook updates, automating the manual mitigation; tie repeated error-budget burn to pausing feature work. references/postmortem.md.

Done when: service is restored (via a human-approved mitigation), impact and timeline are recorded, comms went out, and a blameless postmortem with owned action items is written.

Download now (ZIP)

  • Other versions21 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 21

    1. AsiaOstrich/universal-dev-standards★ 82same name
    2. DataWithBaraa/claude-code-data-engineering-skills★ 52same name
    3. manusco/resonance★ 38same name
    4. ulises-jeremias/agent-toolkit★ 19same name
    5. lalulali/vespyr★ 11same name
    6. greglas75/zuvo★ 8same name
    7. NotHarshhaa/devops-skills★ 8same name
    8. chancegraff/rules-for-claude★ 4same name
    9. gonimar/claude-web-studio★ 4same name
    10. gufranco/claude-engineering-rules★ 3same name

    11 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use runbook, refactor and 6 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.
    • AnthropicSkill

      runbook

      Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.

      Also in 3 projects that use this

    • GitHubSkill

      refactor

      Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

      Also in 8 projects that use this

    • anujdutt9Skill

      handover

      Also in 3 projects that use this

    • tuistSkill

      migrate

      Migrates existing Xcode projects to Tuist generated workspaces with build and run validation, external dependency mapping, and migration checklists. Use when adopting Tuist for an existing app or converting a hand-edited Xcode project to generated projects.

      Also in 3 projects that use this

    • AWSSkill

      retro

      Conduct a retrospective on a coding session.

      Also in 5 projects that use this

    • Microsoft AzureSkill

      test

      Also in 4 projects that use this

  • In this repository39 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

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.