testing-anti-patterns
Installation
SKILL.md
testing-anti-patterns
Identify and eliminate common testing mistakes that make test suites unreliable, slow, fragile, or meaningless. Each anti-pattern includes detection signals, examples of bad and good code, and remediation strategies.
When to Activate
Activate this skill when the user:
- Has flaky tests that pass and fail randomly
- Complains that tests are too slow or hard to maintain
- Asks why tests break on every refactor even when behavior doesn't change
- Wants to review test quality or audit their test suite
- Has tests that pass but bugs still reach production
- Is over-mocking and getting false confidence
- Asks about test design patterns and best practices
- Wants to parallelize tests but they fail when run concurrently
- Uses keywords:
flaky,brittle test,test smell,slow tests,mock,snapshot,test quality