
Description
test-smell-detection is an agent skill that audits existing unit tests in any language for test smells. It uses the formal smell names from the testsmells.org taxonomy of 19 smells, cites code evidence for each finding, and suggests fixes that fit the framework the codebase already uses. The skill audits only the tests that are staged or that the user names, and it reads production code only when that code changes a verdict. Before it asks the user for code, it searches the current workspace, so it does not claim a file is missing when a search would find it. For framework APIs it reads a language reference supplied by the caller, and when that reference is missing it says so instead of guessing. When a user asks for all 19 smells or for citations, the skill loads the full smell catalogue; for narrower questions it works from a short set of high-signal smells.…
Highlights
- Checks tests against the 19-smell testsmells.org taxonomy
- Cites code evidence for each finding
- Suggests fixes that match the existing test framework
- Audits only staged or named tests
Ratings & Reviews
No ratings yet
Be the first to rate test-smell-detection.
People also visit

test-anti-patterns
Audit a test file or suite; produce a severity-ranked diagnostic report
test-smell-detection FAQ
What is a test smell?
A pattern in test code that can make tests weaker or harder to maintain. This skill names each one using the formal testsmells.org taxonomy.
Which languages does it cover?
Any language. Framework idioms come from a language reference when your project provides one, and otherwise from the framework rules built into the skill.
Does it change my tests?
It reports findings and suggests fixes for the tests you name or stage. It reads production code only when that changes a verdict.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill test-smell-detection in a terminal.
Which security audits has it passed?
Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.
What are the best test-smell-detection alternatives?
Popular alternatives to test-smell-detection include test-analysis-extensions, captain-obvious and assertion-quality. See all test-smell-detection alternatives


















