Convert .NET tests from xUnit.net v2/v3 to MSTest v4 while preserving VSTest or MTP. Use for replacing xunit packages, Fact/Theory/InlineData/MemberData, assertions, IClassFixture/ICollectionFixture, ITestOutputHelper, TestContext cancellation, traits/Owner, skips, timeouts, and xUnit parallelization.
Install
npx skills add dotnet/skills --skill migrate-xunit-to-mstestnpx skills add dotnet/skills --skill migrate-xunit-to-mstest -a claude-code -gnpx skills add dotnet/skills --skill migrate-xunit-to-mstest -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-test-migration/skills/migrate-xunit-to-mstestgh skill install dotnet/skills migrate-xunit-to-mstestgit 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-migration/skills/migrate-xunit-to-mstest ~/.claude/skills/migrate-xunit-to-mstest # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-test-migration/skills/migrate-xunit-to-mstest ~/.agents/skills/migrate-xunit-to-mstest # Codex, Cursor, Gemini CLI, Copilot, OpenCode