agentleFS
CassioRoosCassioRoos/godfly-skills/skills/failure-analysis/SKILL.md

failure-analysis

Skill1 starsChanged 3 months agoMITView on GitHub

Identify and prioritize concrete component and dependency failure modes, their consequences, containment and recovery. Use for FMEA, reliability assessment, single points of failure, or "how could this fail". General engineering verdicts belong to morpheus; active debugging to the troubleshooting reference in morpheus; past incident analysis to premortem-postmortem.

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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 a compact table when comparing several modes:

    line 52
  2. Distinctive:

    Do not invent scores, frequencies, owners or successful recovery tests.

    line 57
  3. Distinctive:

    Keep the conclusion scoped to inspected surfaces, not universal "release safe".

    line 59
  4. Distinctive:

    Read only the applicable reference.

    line 72

≈ “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

Failure analysis

Produce a prioritized failure inventory grounded in the actual design/code, not a list of imaginable disasters. Assessment does not authorize fixes, chaos tests, live faults, deployment or data mutations.

Consequence before arithmetic

For each credible failure mode, identify:

  • Trigger and affected operation, backed by a path, artifact or stated assumption.
  • Impact: who/what is harmed, blast radius, reversibility and time to damage.
  • Exposure/likelihood with its evidence and uncertainty. Unknown is not rare.
  • Detection and containment: does intervention occur before irreversible harm?
  • Recovery: tested restoration/reconciliation versus merely a proposed plan.
  • Existing controls, surviving gap, next proof and owner when known.

No absolute RPN thresholds and no automatic risk acceptance. Multiplying ordinal severity/likelihood/detectability scores cannot decide release gates. A catastrophic event scored 10×1×1=10 is not acceptable just because it is rare and loud; alerting after a charge or disclosure does not undo it.

Prioritize credible uncontained irreversible harm first. Distinguish an active incident (route to containment/troubleshooting) from a prospective release risk. Block the affected release path when a credible severe failure lacks prevention, bounded containment or demonstrated recovery. State what evidence clears it. Lower-impact, recoverable degradation may be scheduled or explicitly accepted by the authorized owner with rationale and monitoring; the skill cannot accept risk for them. Controls that truly prevent the trigger may lower priority: don't manufacture a blocker from severity alone.

Dependency walk

Trace trigger → caller → storage/queue → consumer → external effect. At each edge check failure, slowness, duplication, partial completion, exhaustion and recovery. Follow all durable-write and retry boundaries, not just the happy-path handler. Examples are investigation prompts, not findings.

Allocate deadlines within the end-to-end budget, propagate cancellation, and leave time for cleanup/retries. A shorter caller deadline is not itself proof of a bug: establish whether downstream work continues and causes harm.

Output

Use a compact table when comparing several modes:

PriorityFailure + triggerEvidence / uncertaintyConsequence + existing controlsRequired action / clearing proof

Do not invent scores, frequencies, owners or successful recovery tests. Separate observed defects from plausible risks and untested hypotheses. Keep the conclusion scoped to inspected surfaces, not universal "release safe".

Boundaries and optional detail

  • General decision/review verdict: morpheus; use this skill for its detailed failure inventory, not a second competing verdict engine.
  • Security attack paths and defenses: red-blue-review.
  • Premortem/postmortem document and action ownership: premortem-postmortem.
  • Failing now: Morpheus troubleshooting; understood past failure: premortem-postmortem; regression campaigns: mean-qa.
  • Detailed inventories: failure-modes.md.
  • Multi-hop failure propagation: dependency-chain.md.
  • Pattern prompts: real-failures.md. Read only the applicable reference. A catalog match is not proof.

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.