ALWAYS USE before running .NET tests or answering with a test command or flags. Trigger on "run the tests", "exact dotnet test command", one test/class/category/trait/target framework, combined filters, `--filter-query`, `--no-build`, `--diag`, diagnostic logs, TRX, coverage collection, crash/hang dumps, filter errors, or unrecognized options.
安装
npx skills add dotnet/skills --skill run-testsnpx skills add dotnet/skills --skill run-tests -a claude-code -gnpx skills add dotnet/skills --skill run-tests -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-test/skills/run-testsgh skill install dotnet/skills run-testsgit 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/run-tests ~/.claude/skills/run-tests # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-test/skills/run-tests ~/.agents/skills/run-tests # Codex, Cursor, Gemini CLI, Copilot, OpenCode