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.
Decision snapshot
Is this a fit?
Testing, Data analysis, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
2 months ago · MIT license
No specific cautions were detected. Review the source and requested permissions before installing.
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.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Data analysis
- Testing use cases
- Data analysis use cases
Declared skill metadata
- Declared license: MIT
- Source file: .agents/skills/platform-detection/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use platform-detection Skill
- Use it for testing.
- Use it for data analysis.
Built with
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+,
Verified compatibility and discovery
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.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.