Favicon of platform-detection

platform-detection Skill

AI Agent SkillC#Open source

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. Published by microsoft in testfx.

What is platform-detection Skill?

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. Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
75/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Data analysis
  • Testing use cases
  • Data analysis use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use platform-detection Skill

  • Use it for testing.
  • Use it for data analysis.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/testfx
  • Skill file: .agents/skills/platform-detection/SKILL.md

What it does

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.

Skill instructions

Test Platform and Framework Detection Determine which test platform (VSTest or Microsoft.Testing.Platform) and which test framework (MSTest, xUnit, NUnit, TUnit) a project uses. Detection files to always check (in order): global.json → .csproj → Directory.Build.props → Directory.Packages.props Detecting the test framework Read the .csproj file and Directory.Build.props / Directory.Packages.props (for centrally managed dependencies) and look for: | Package or SDK reference | Framework | |--------------------------|-----------| | MSTest (metapackage, recommended) or <Sdk Name="MSTest.Sdk" | MSTest | | MSTest.TestFramework + MSTest.TestAdapter | MSTest (also valid for v3/v4) | | xunit, xunit.v3, xunit.v3.mtp-v1, xunit.v3.mtp-v2, xunit.v3.core.mtp-v1, xunit.v3.core.mtp-v2 | xUnit | | NUnit + NUnit3TestAdapter | NUnit | | TUnit | TUnit (MTP only) | Detecting the test platform The detection logic depends on the .NET SDK version. Run dotnet --version to determine it. .NET SDK 10+ On .NET 10+,

Explore related resources

Frequently asked questions

What is platform-detection?

platform-detection is a open-source AI agent skill with Copy skill directory. Reference data for detecting the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) from project files.

Who is platform-detection best for?

platform-detection is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows.

How do I install platform-detection?

Install or run platform-detection using Copy skill directory. Check platform-detection for the latest setup command.

Is platform-detection actively maintained?

platform-detection may need a closer maintenance check before production use.

Share:

Stars
1,031
Forks
305
Last commit
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to platform-detection