dotts-h/claude-skills/hardening-tests
Claude Code and agent skill by dotts-h/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install dotts-h/claude-skills/hardening-testsSKILL.md
The same SKILL.md was published earlier as dotts-h/claude-skills/hardening-tests.
Hardening tests (SDET)
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.
What to check (in rough priority order)
- Coverage gaps — which branches/packages are untested. Use the project's coverage
tooling; treat the floor as a floor, not a target. Find the untested edge, not the %.
- Assertion strength — would the test fail if the behavior were wrong? The sharpest
tool here is mutation testing: deliberately break the code and see if a test catches it. Tests that pass against broken code are guarding nothing. See references/mutation-testing.md.
- Flakes & non-determinism — run hot, under
-race, many times. A test that fails 1
in 20 will fail in CI at the worst moment. See references/flake-hunting.md.
- Missing edge / property / fuzz — invariants deserve property/fuzz tests, not just
examples (pricing totality is already fuzzed here; extend the pattern). See references/assertion-strength.md.
- Unguarded fixed bugs — cross-check
docs/REGRESSIONS.md: every fixed bug should
name a guard. Missing ones are the highest-value tests to add.
Scripts (deterministic, repetitive — run them)
Boundaries
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.
Why mutation testing earns its keep
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.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/skills/skills/hardening-tests/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dotts-h/claude-skills/hardening-tests)