Reference data for detecting the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) from project files. DO NOT USE directly â loaded by run-tests, mtp-hot-reload, and migrate-vstest-to-mtp when they need detection logic.
安装
npx skills add dotnet/skills --skill platform-detectionnpx skills add dotnet/skills --skill platform-detection -a claude-code -gnpx skills add dotnet/skills --skill platform-detection -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-test/skills/platform-detectiongh skill install dotnet/skills platform-detectiongit 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/platform-detection ~/.claude/skills/platform-detection # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-test/skills/platform-detection ~/.agents/skills/platform-detection # Codex, Cursor, Gemini CLI, Copilot, OpenCode