dotnet-tunit
Use when creating or refactoring .NET tests with TUnit conventions (AAA pattern, naming, async assertions, and CancellationToken usage).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when creating or refactoring .NET tests with TUnit conventions (AAA pattern, naming, async assertions, and CancellationToken usage).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when converting an Aspire AppHost (typically Program.cs/AppHost.cs) into Purview.Aspire.ResourceKit patterns: generate a HostKit, split resources into ResourceKits with BuildResource/ConfigureResource, map existing config into generated options (IsEnabled/Name), replace direct wiring with AddAspireResourceKit, and update tests/fixtures/configuration to use OptionsHelper and ResourceKit semantics.
Use when creating, moving, or splitting projects in a repository that uses Purview.DotNetProjectSdk, especially for src/tests placement, test suffix naming, namespace alignment, and automatic project-reference behavior.
Create and apply a prerelease bump using Changesets CLI, with the new changeset markdown summarizing the actual changes since the last shipped release.
Git workflow and conventional commit guidance.
Lefthook Git hook integration.
Use for quick TUnit --treenode-filter patterns.
| name | dotnet-tunit |
| description | Use when creating or refactoring .NET tests with TUnit conventions (AAA pattern, naming, async assertions, and CancellationToken usage). |
| category | dotnet |
| roles | ["dotnet","dotnet-tunit","coding"] |
| tags | ["dotnet","csharp","tunit","tests"] |
Use this skill when creating or refactoring tests in a .NET codebase that uses TUnit.
TUnit.Core, TUnit.Assertions).[Test].await Assert.That(actual).IsEqualTo(expected);.// Arrange// Act// Assert{ModuleOrClassBeingTested}Tests.{SubjectUnderTest}_{Scenario}_{Expectation}.
SubjectUnderTest is usually the method name.ctor for constructor-focused tests when appropriate.CancellationToken cancellationToken as the last parameter when any called method in the test body supports a CancellationToken parameter.var result = await sut.ProcessAsync(cancellationToken);).../tunit-test-runner/SKILL.md.