Audit a test file or suite; produce a severity-ranked diagnostic report. ALWAYS USE for tests that verify nothing, missing/tautological assertions, swallowed/broad exceptions, flaky/order-dependent tests, duplication, or magic values. Polyglot. DO NOT USE for direct edits: writing-mstest-tests owns supplied MSTest assertions/attributes/lifecycle; code-testing owns new tests.
Install
npx skills add dotnet/skills --skill test-anti-patternsnpx skills add dotnet/skills --skill test-anti-patterns -a claude-code -gnpx skills add dotnet/skills --skill test-anti-patterns -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-test/skills/test-anti-patternsgh skill install dotnet/skills test-anti-patternsgit clone --depth 1 https://github.com/dotnet/skills /tmp/dotnet__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__skills/plugins/dotnet-test/skills/test-anti-patterns ~/.claude/skills/test-anti-patterns # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-test/skills/test-anti-patterns ~/.agents/skills/test-anti-patterns # Codex, Cursor, Gemini CLI, Copilot, OpenCode