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.