failure-modes

Installation
SKILL.md

Failure Modes

Use this skill to conduct a slow, systematic, first-principles review of a codebase. The goal is not to skim for obvious bugs. The goal is to stretch attention across the system from many angles, find failure modes that ordinary review misses, fix small issues immediately when safe, and leave a terminal-readable report with evidence.

Core Loop

  1. Reread the nearest AGENTS.md, CLAUDE.md, or equivalent repo instructions before judging code.
  2. Refresh the whole-codebase map: entrypoints, core modules, generated artifacts, tests, data stores, queues, clients, worker processes, and ownership boundaries.
  3. Check git status, uncommitted changes, and recent commits first. Treat recent agent-written code as the highest-priority review surface.
  4. Pick a pathway from the exploration pathways below. Move slowly through concrete files and call sites.
  5. On every pathway, search for all failure-mode families in the schema. Do not limit the pass to one smell.
  6. Diagnose each suspect issue from first principles: invariant, inputs, state transition, output, evidence source, user-visible risk, and root cause.
  7. Fix safe issues in small edits. Avoid one broad refactor unless the evidence demands it.
  8. Verify after each meaningful fix with the narrowest relevant test, typecheck, lint, smoke command, or direct inspection.
  9. Continue with a different pathway until time or scope is exhausted.
  10. End with the terminal report format in this skill.

Review Stance

Installs
1
GitHub Stars
9
First Seen
Oct 11, 2026