/handbook-dotnet:dotnet-verifyfrom handbook-dotnet
Manages Verify snapshot tests in .NET projects: update snapshots after code changes, accept new ones, discover verify tests, and troubleshoot mismatches.
Ships in handbook-dotnet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage Verify snapshot tests using the verify.tool dotnet local tool.
To list all test files using Verify snapshots:
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type cs
To scope to a specific directory:
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type cs <path/to/test/directory>
To update snapshots after intentional code changes:
Build the solution:
dotnet build -p:WarningLevel=0 /clp:ErrorsOnly --verbosity minimal
Run affected verify tests (they fail, generating .received. files):
dotnet test <test-project> --no-build --filter "FullyQualifiedName~<TestClass>" -v m
Accept all new snapshots:
dotnet verify accept -y
To scope to a specific directory:
dotnet verify accept -y -w <path/to/test/directory>
Re-run tests to confirm they pass:
dotnet test <test-project> --no-build --filter "FullyQualifiedName~<TestClass>" -v m
ClassName.MethodName.verified.txt — accepted snapshot (committed to git)ClassName.MethodName.received.txt — latest test output (not committed, gitignored)ClassName.MethodName_param=value.verified.txt| Command | Purpose |
|---|---|
dotnet verify accept -y | Accept all pending snapshots |
dotnet verify accept -y -w <dir> | Accept snapshots in specific directory |
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type cs | List all test files using Verify |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nikiforovall/claude-code-rules --plugin handbook-dotnet9 skills in this plugin
/coverage-reportGenerate a .NET code coverage report scoped to files changed in the current branch. Runs tests with coverage collection and produces filtered HTML reports./dotnet-analyzersRun dotnet format to fix code style and analyzer diagnostics (IDE0005, CA*, SA*). Use when fixing unnecessary usings, code style violations, analyzer warnings, or verifying format compliance/dotnet-dependencyThis skill should be used when investigating .NET project dependencies, understanding why packages are included, listing references, or auditing for outdated/vulnerable packages./dotnet-inspectQuery .NET APIs across NuGet packages, platform libraries, and local files. Search for types, list API surfaces, compare and diff versions, find extension methods and implementors. Use whenever you need to answer questions about .NET library contents./dotnet-run-fileRun script-like CSharp programs using dotnet run file.cs. Use this skill when users want to execute CSharp code directly, write one-liner scripts via stdin, or learn about run file directives./dotnet-testThis skill should be used when running .NET tests selectively with a build-first, test-targeted workflow. Use it for running tests with xUnit focus.Other plugins' skills for the same job