From dotnet-helpers
Run .NET tests and get structured pass/fail results. Use when the user wants to run tests for a project and understand any failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dotnet-helpers:testThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run .NET tests using the `test` MCP tool and present structured pass/fail results with fix suggestions for common failures.
Run .NET tests using the test MCP tool and present structured pass/fail results with fix suggestions for common failures.
If the user has not specified a path, scan the current directory for test projects:
find . -maxdepth 4 \( -name "*Tests.csproj" -o -name "*Test.csproj" -o -name "*.Tests.csproj" -o -name "*.Test.csproj" \) | sort
.csproj referencing xunit, nunit, or mstest via a quick grep:grep -rl "xunit\|nunit\|MSTest" --include="*.csproj" . 2>/dev/null | sort
Call the test MCP tool with the resolved project path:
test{ "project": "<path to test .csproj>" }Wait for the result.
On all-pass:
Report the total number of tests that passed. Mention test duration if available.
On failures:
For each failing test, show:
Group failures by category if there are many:
| Category | Signs |
|---|---|
| Assertion failures | Assert.Equal, Assert.True failed — logic bug in production code or wrong expected value |
| Null reference | NullReferenceException — missing setup, missing dependency injection, or unchecked null |
| Setup / teardown | Fails in constructor or IAsyncLifetime.InitializeAsync — configuration or DB issue |
| Timeout | Test hung — likely a deadlock, infinite loop, or waiting on a resource that never becomes available |
| Missing dependency | InvalidOperationException about unregistered service — DI container not fully configured in test |
After presenting the categorized failures, offer targeted suggestions:
await.If the same fix applies to multiple failures, group them — don't repeat the same advice per test.
npx claudepluginhub nige-l/claude-dotnet-helpers --plugin dotnet-helpersStatically reviews .NET test suites for false confidence: assertion-free tests, over-mocking, coverage theater, weak isolation, flaky patterns, and missing negative/security tests across xUnit, NUnit, MSTest.
Handles flaky, crashing, hanging, OOM, and stack overflow errors in .NET test suites using an alternative test runner with per-test timeouts, branch isolation, history tracking, and regression detection.
Deciding how to test .NET code. Unit vs integration vs E2E decision tree, test doubles.