Clean Tests

Audits and refactors existing test files for quality — removes brittle assertions, fixes implementation coupling (mocking internals), improves test names, eliminates duplication, and enforces behavior-over-implementation testing. Does NOT write new tests (use /tdd for that). Use when asked to "clean up the tests", "improve test quality", "fix brittle tests", "refactor the test suite", "tests keep breaking on refactor", "tests are a mess", or "make the tests better".

OmarSaleh506 ec0269a 2.5 KB Updated

File contents

OmarSaleh506/skills/tree/main/skills/ai-os-init/templates/.claude/skills/clean-tests commit ec0269a45e

Frequently asked questions

npx skillmds@latest add omarsaleh506/clean-tests