Agent skill

Dotnet Verify

by NikiforovAll in NikiforovAll/claude-code-rules

This skill should be used when working with Verify snapshot tests in .NET projects.

Apache-2.0Auto-check passed

Install Dotnet Verify

skills CLI
$ npx skills add NikiforovAll/claude-code-rules --skill dotnet-verify -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NikiforovAll/claude-code-rules dotnet-verify --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/handbook-dotnet/skills/dotnet-verify .claude/skills/dotnet-verify && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dotnet-verify
GitHub stars
141
Token cost
~516 tokens
SKILL.md length
122 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when working with Verify snapshot tests in .NET projects.

  • Works in 4 steps: Build the solution → Run affected verify tests (they fail,… → Accept all new snapshots → …
  • Updating verified snapshots after intentional code changes
  • SKILL.md covers Discovery, Update Snapshots, File Conventions and Quick Reference
  • Calls dotnet and rg

What it does

Dotnet Verify is an agent skill from NikiforovAll/claude-code-rules. This skill should be used when working with Verify snapshot tests in .NET projects. Use when updating verified snapshots after intentional code changes, accepting new snapshots, discovering verify tests, or troubleshooting snapshot mismatches. Trigger phrases include "verify tests", "update snapshots", "accept snapshots", "verified files", ".verified.txt".

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with .NET. The repository describes itself as: Learn practical techniques to enhance your AI-assisted development workflow with Claude Code. The licence is Apache-2.0.

When your agent uses it

  • Updating verified snapshots after intentional code changes
  • Accepting new snapshots
  • Discovering verify tests
  • Troubleshooting snapshot mismatches

Example prompts

  • “verify tests”
  • “update snapshots”
  • “accept snapshots”
  • “/dotnet-verify”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Build the solution
  2. Run affected verify tests (they fail, generating .received. files)
  3. Accept all new snapshots
  4. Re-run tests to confirm they pass

What it can do on your machine

Read from SKILL.md and the folder at commit 281c063. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet
    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dotnet Verify loads about 516 tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 122 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~516

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NikiforovAll/claude-code-rules at commit 281c063, republished under its Apache-2.0 licence (© NikiforovAll). 122 words, ~516 tokens.

Download SKILL.mdSave it as .claude/skills/dotnet-verify/SKILL.md (or your agent's skills folder).
name
dotnet-verify
description
This skill should be used when working with Verify snapshot tests in .NET projects. Use when updating verified snapshots after intentional code changes, accepting new snapshots, discovering verify tests, or troubleshooting snapshot mismatches. Trigger phrases include "verify tests", "update snapshots", "accept snapshots", "verified files", ".verified.txt".

.NET Verify Snapshot Testing

Manage Verify snapshot tests using the verify.tool dotnet local tool.

Discovery

To list all test files using Verify snapshots:

bash
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type cs

To scope to a specific directory:

bash
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type cs <path/to/test/directory>

Update Snapshots

To update snapshots after intentional code changes:

  1. Build the solution:

    bash
    dotnet build -p:WarningLevel=0 /clp:ErrorsOnly --verbosity minimal
  2. Run affected verify tests (they fail, generating .received. files):

    bash
    dotnet test <test-project> --no-build --filter "FullyQualifiedName~<TestClass>" -v m
  3. Accept all new snapshots:

    bash
    dotnet verify accept -y

    To scope to a specific directory:

    bash
    dotnet verify accept -y -w <path/to/test/directory>
  4. Re-run tests to confirm they pass:

    bash
    dotnet test <test-project> --no-build --filter "FullyQualifiedName~<TestClass>" -v m

File Conventions

  • ClassName.MethodName.verified.txt — accepted snapshot (committed to git)
  • ClassName.MethodName.received.txt — latest test output (not committed, gitignored)
  • Parameterized tests: ClassName.MethodName_param=value.verified.txt

Quick Reference

CommandPurpose
dotnet verify accept -yAccept all pending snapshots
dotnet verify accept -y -w <dir>Accept snapshots in specific directory
rg -l "Verifier\.Verify|UsesVerify|\.verified\." --type csList all test files using Verify

© NikiforovAll, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/handbook-dotnet/skills/dotnet-verify of NikiforovAll/claude-code-rules.

Open the folder on GitHubat commit 281c063

Compare with similar skills

Dotnet Verify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dotnet Verify compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dotnet Verify this skillNikiforovAll/claude-code-rules141—~516Automated safety check: PassApache-2.0
Minimax DOCXpoco-ai/poco-claw1.4k7 repos~3.9kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Speckit ConstitutionWeihanLi/WeihanLi.Common24211 repos~2.1kAutomated safety check: PassApache-2.0
Copilot Session Failure Analysisdotnet/maui23k—~3.4kAutomated safety check: PassMIT
Microsoft Code ReferenceMicrosoftDocs/mcp1.9k4 repos~1.1kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Minimax DOCX

    poco-ai/poco-claw

    Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).

    1.4k GitHub starsUsed in 7 repos~3.9k tokens
    Documents & OfficeAuto-check passed
  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 11 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Mines local Copilot CLI session logs for dotnet/maui to rank costly or failing runs, tag recurring failure modes, propose repo edits and emit guard evals.

    23k GitHub stars~3.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Microsoft Code Reference

    MicrosoftDocs/mcp

    Official

    Find working code samples, verify API signatures, and fix Microsoft SDK errors using official docs.

    1.9k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Audits and updates os-packages.json files listing the Linux packages each .NET release needs per distro, then regenerates the Markdown from the JSON.

    22k GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from NikiforovAll/claude-code-rules

All 26 skills in this repo
  • Reflect Solution

    NikiforovAll/claude-code-rules

    Summarize WHAT WAS SHIPPED in a Claude Code session as a self-contained HTML slide deck — the elevator pitch (problem, solution, decisions, artifacts, verification, gaps), not a play-by-play of tool…

    141 GitHub stars~3.8k tokensUpdated 6 days ago
    Auto-check passed
  • Dotnet Analyzers

    NikiforovAll/claude-code-rules

    Run dotnet format to fix code style and analyzer diagnostics (IDE0005, CA, SA).

    141 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed
  • Ilspy Decompile

    NikiforovAll/claude-code-rules

    Understand implementation details of .NET code by decompiling assemblies.

    141 GitHub starsUsed in 2 repos~760 tokens
    Auto-check passed
  • Reflect Tree

    NikiforovAll/claude-code-rules

    Visualize a Claude Code session as a quest/skill tree — a navigable SVG graph where nodes are turns and edges show flow, with distinct visual encoding for normal flow, dead-ends, corrections…

    141 GitHub stars~2.8k tokensUpdated 6 days ago
    Auto-check passed
  • Structured Plan Mode

    NikiforovAll/claude-code-rules

    This skill should be used when planning and tracking complex feature implementations that require systematic task decomposition.

    141 GitHub stars~4.2k tokensUpdated 6 days ago
    Auto-check passed
  • Glab

    NikiforovAll/claude-code-rules

    Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories, and other GitLab operations from the command line.

    141 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Works with

Questions about Dotnet Verify

What does Dotnet Verify do?

This skill should be used when working with Verify snapshot tests in .NET projects. Dotnet Verify is an agent skill from NikiforovAll/claude-code-rules.NET projects.

When should I use Dotnet Verify?

Dotnet Verify fits situations like: updating verified snapshots after intentional code changes; accepting new snapshots; discovering verify tests; troubleshooting snapshot mismatches.

How do I install Dotnet Verify in Claude Code?

Run `npx skills add NikiforovAll/claude-code-rules --skill dotnet-verify -a claude-code`. Or copy the skill folder (plugins/handbook-dotnet/skills/dotnet-verify in NikiforovAll/claude-code-rules) into .claude/skills/dotnet-verify in your project. Claude Code loads it when a task matches its description.

How do I install Dotnet Verify in Codex?

Run `npx skills add NikiforovAll/claude-code-rules --skill dotnet-verify -a codex`. Or copy the skill folder (plugins/handbook-dotnet/skills/dotnet-verify in NikiforovAll/claude-code-rules) into .agents/skills/dotnet-verify in your project. Codex loads it when a task matches its description.

Can I use Dotnet Verify in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NikiforovAll/claude-code-rules --skill dotnet-verify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dotnet-verify, .gemini/skills/dotnet-verify, .github/skills/dotnet-verify and .opencode/skills/dotnet-verify in your project.

What does Dotnet Verify need to run?

Going by SKILL.md and its folder, Dotnet Verify needs the command-line tools its instructions call (dotnet and rg).

Does Dotnet Verify access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Dotnet Verify safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dotnet Verify use?

Dotnet Verify is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dotnet Verify use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dotnet Verify?

Skills that share tags, products or a category with Dotnet Verify: Minimax DOCX (poco-ai/poco-claw, 1.4k stars), Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars) and Copilot Session Failure Analysis (dotnet/maui, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dotnet Verify?

NikiforovAll (a GitHub user) maintains it in NikiforovAll/claude-code-rules, which has 141 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 2, 2026.

Source: NikiforovAll/claude-code-rules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.