What problem does it solve? .NET teams often struggle with inconsistent xUnit setups: mixing VSTest and Microsoft.Testing.Platform flags, running the wrong CLI for xUnit v2 versus v3, or writing flaky tests with shared state and non-deterministic inputs. This Skill detects the active xUnit model in a repository and applies the correct packages, commands, and test-writing patterns. ## Core Features & Use Cases - Runner Detection: Identifies whether a project uses xUnit v2, xUnit v3, VSTest compatibility, or Microsoft.Testing.Platform by inspecting project files before running any command. - Test Authoring Guidance: Provides patterns for [Fact], [Theory], class and collection fixtures, NSubstitute and Moq mocking, and async tests, plus a catalog of anti-patterns to avoid. - Bootstrap and Repair: Adds xUnit packages to projects missing them, fixes broken test commands, and keeps CI runs consistent with the active runner model. - Use Case: A developer inherits a repo where dotnet test fails after migrating to xUnit v3. The Skill detects the v3 standalone runner, switches to dotnet run with the correct filter syntax, and repairs the failing tests. ## Quick Start Ask the agent to run or fix the xUnit tests in your .NET project and it will detect the runner model, execute the right command, and report verification results.