
Description
Test Platform and Framework Detection is an agent skill that identifies a .NET project's test setup. It determines which test platform runs the tests, either VSTest or Microsoft.Testing.Platform (MTP), and which test framework the project uses, MSTest, xUnit, NUnit or TUnit. The skill also reports the command mode and whether the project uses the SDK-style or classic project system. It is meant for questions such as which test platform or framework a project uses, and it is used for those questions only. Its response format is strict. The verdict comes first, with no heading, scratch analysis or tool syntax before it. One concise evidence sentence follows, naming the repository facts that justify each classification. When the framework is requested, the skill names the package or project SDK that identifies it. A second sentence is used only for a conflict, an incomplete configuration or differences across target frameworks. If a conflicting or incomplete configuration prevents tests from running, the skill reports the platform as unavailable rather than inventing a successful one. The skill is published by dotnet/skills on skills.sh with about 4.5K installs.…
Highlights
- Identifies VSTest or Microsoft.Testing.Platform
- Names MSTest, xUnit, NUnit or TUnit
- Reports command mode and project system
- Verdict first, with one line of evidence
- Reports unavailable rather than guessing on conflicts
Ratings & Reviews
No ratings yet
Be the first to rate platform-detection.
People also visit
platform-detection FAQ
What is the Test Platform and Framework Detection skill?
It is an instruction set for an AI coding agent that reports which test platform and test framework a .NET project uses.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill platform-detection in your project.
Which frameworks does it recognize?
MSTest, xUnit, NUnit and TUnit, on either VSTest or Microsoft.Testing.Platform.
What does a response look like?
The verdict comes first, followed by one evidence sentence. A second sentence appears only for a conflict, an incomplete setup or target-framework differences.
Does the skill pass its security audits?
Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best platform-detection alternatives?
Popular alternatives to platform-detection include run-tests, migrate-vstest-to-mtp and verify. See all platform-detection alternatives







