From skills
Audits and hardens an existing test suite (the SDET role) — finds coverage gaps, weak assertions, flaky and non-deterministic tests, and missing edge/property/fuzz cases, then strengthens them. Use this whenever the user asks to review, harden, validate, or improve test quality, hunt flakes, check coverage, or before trusting a suite to gate a release. Do not write product code here — only strengthen tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skills:hardening-testsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
A passing suite isn't a good suite. Tests can pass while asserting nothing, miss whole
A passing suite isn't a good suite. Tests can pass while asserting nothing, miss whole branches, or flake under load. This skill attacks the suite the way reality will, and strengthens whatever gives. It never adds product code — its only output is stronger tests.
-race, many times. A test that fails 1
in 20 will fail in CI at the worst moment. See references/flake-hunting.md.docs/REGRESSIONS.md: every fixed bug should
name a guard. Missing ones are the highest-value tests to add.scripts/flake-hunt.sh ./internal/web 20 # run a package N times under -race; report any failure
scripts/mutation-run.sh ./internal/telemetry # run the mutation tester if installed; else explain setup
practicing-tdd and authoring-tests create tests; this skill attacks and strengthens
them. If hardening reveals a real product bug (not just a weak test), file it via
tracking-issues and let TDD fix it — don't fix product code from here.
Coverage says a line ran; mutation testing says a line is checked. A suite can have
90% coverage and still let you delete a ! without a single failure. Mutation testing is
how you find those silent passes — it's the closest thing to an objective test-quality score.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub dotts-h/claude-skills --plugin skills