/aftermath:flaky-testfrom aftermath
Diagnoses flaky tests that alternate between pass and fail without code edits. Guides reruns, identifies nondeterminism sources (timing, ordering, randomness, network, filesystem), and prevents reverting working code on unconfirmed flakes.
Ships in aftermath. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A test that changes its mind is evidence about the test or its environment, not about your last edit.
pass → fail → pass.Date.now, TZ, frozen clocks)Math.random, faker, randomized fixtures)pass → fail → pass (or the reverse) with no editing between runs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub moah0911/aftermath --plugin aftermath8 skills in this plugin
/aftermathPost-failure recovery when something already broke: a test suite went green to red, the same error repeats after a fix, a destructive command was blocked, a forward edit is frozen, the user says "you broke it", or the fix touched files outside scope. Stop, revert cheap damage, diagnose honestly, return to last-known-good. Supports intensity levels lite, full (default), ultra, plus opt-in checkpoint auto-revert. Use ONLY for recovery after failure, not for planning new work.
/build-failureUse when compilation, typechecking, bundling, or another build step fails. Read the first error, isolate the hunk, and do not run tests until the build is green. Distinct from a test regression: the code never ran.
/dependency-failureOther plugins' skills for the same job