Diagnoses flaky tests by pinning random seeds, controlling test order, freezing clocks, and isolating dependencies. Use when tests fail intermittently, only in CI, or block merges.
A flaky test is a test whose result depends on something it does not control: a random seed, another test's leftovers, the wall clock, or thread timing. The trap is re-running until it passes and calling it fixed, which just hides the same nondeterminism from the next person. The job is to seize the hidden variable until the failure becomes reliable, then remove it.
pytest --count=500 path::test, go test -run X -count=500, or a shell loop until it fails. A flake you can trigger 1 in
50 locally is debuggable; one you only see in CI needs the environment
pinned before anything else.pytest -p randomly --randomly-seed=<n>, a fixed random.seed(n), or
Random(n) in the test. A failure that reproduces under one seed is a
data-dependent bug, not cosmic flakiness.pytest-randomly, go test -shuffle=on) to expose it, then run the
suspect test alone; if it passes alone but fails in the suite, hunt the
leaked state.now() fail at
midnight, month ends, or on a slow machine where a timeout expires. Inject
a fixed clock (freezegun, libfaketime, Clock injection) and set
TZ. Replace real sleep-and-poll waits with deterministic waits on a
condition, never a bare timeout tuned to a fast laptop.Some flakiness is the code under test being genuinely nondeterministic (unsynchronized threads, ordering assumptions on a hash map); fix the code, not the test. Skipping or retrying a flake is a stopgap that hides real races, and it belongs behind a tracked ticket, not in the merged suite.
What SKILL.md sets; muted values are Claude Code's defaults
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job