dotnet-review

dotnet-review is a skill for Claude Code from Attemainio/dotnet-toolkit. It costs 221 tokens per session (2,486 once invoked), scanned A, original, MIT.

A review workflow for C# and .NET code, including changes, tests, documentation, security, performance, and coding consistency.

In plain words
What is it for?
Use it to review a file, component, pull request, or repository for correctness, style, concurrency, security, testing, duplication, and related quality issues.
Why use it?
It gives a structured review against the project’s standards without changing the code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the dotnet-toolkit plugin — 9 skills, 6 agents, 2 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/attemainio/dotnet-toolkit/dotnet-review
Any agent
npx skills add Attemainio/dotnet-toolkit --skill dotnet-review
Clone the repo
git clone --depth 1 https://github.com/Attemainio/dotnet-toolkit

Made for: Claude Code.

Or install dotnet-toolkit, the plugin that ships this one along with the rest of its 9 skills, 6 agents, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dotnet-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-review.svg)](https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-review)
Your own site
<a href="https://agentmods.dev/skills/attemainio/dotnet-toolkit/dotnet-review"><img src="https://agentmods.dev/badge/skills/attemainio/dotnet-toolkit/dotnet-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 221 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00221 $0.02486
Opus 5 $0.00111 $0.01243
Sonnet 5 $0.00044 $0.00497
Haiku 4.5 $0.00022 $0.00249

Measured 5d ago against content hash 8fc9bda7063c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dotnet-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dotnet-review/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Delegating to dotnet-code-review

This plugin ships one review subagent, dotnet-code-review. Each invocation reviews all quality aspects at once — correctness, naming, styling, best practices, performance, concurrency, security, testing, XML documentation, cleanup/duplication — over one stated scope. It starts with no prior context of the project: it reads code and the shared standards under the plugin's standards/ fresh, like a senior developer seeing the codebase for the first time, and reports findings without editing anything. Route review requests to it instead of reviewing inline yourself — it reads the actual standards files, which you have not loaded.

Step 0 — check workspace readiness before launching

Call workspace_status yourself, before spawning anything. Each instance starts cold and cannot fix a broken workspace; launching several against one is a parallel waste, not a parallel review.

  • workspace: degraded, or projects under failed: — semantic results may be silently wrong, not merely thin. A review run against it reports findings it cannot stand behind. Fix the build, reload_workspace, then spawn.
  • Still loading, or index-onlyget_references, get_call_hierarchy, get_type_hierarchy and get_semantic_diff return nothing rather than nothing-found, and the classic failure is an instance reporting live code as dead. Wait for it.
  • After a git checkout/pull/rebase, or a new or deleted .cs filereload_workspace(scope: "all") first, or every instance's line numbers are wrong.
  • Take pluginRoot from the same response and state it in each instance's brief, so no instance has to rediscover where the standards live.

State the readiness verdict in the merged report. A review run on a degraded workspace is reported as such, never as clean.

It loads standards selectively. The routing table is <pluginRoot>/standards/index.md, shared with dotnet-write. Six files are read every time (naming, styling, best-practices, xml-documentation, antipatterns, security); the other seven are read only when the retrieved code matches their "When" condition in that table. This keeps each instance's baseline down — the cost is paid once per parallel instance, so it dominates a multi-instance run — and every report ends with a Standards: line naming what was loaded and what was not. Treat an untriggered aspect as not assessed, not clean.

Read the full file on GitHub · 148 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 148 lines · 0 tokens per session scan A 8fc9bda7063c

Subscribe to this mod's changes

dotnet-review is a skill published in the GitHub repository Attemainio/dotnet-toolkit (2 stars, last pushed 9d ago), licensed MIT. It adds 221 tokens to every session and 2,486 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

bootstrap-solution

Bootstrap or guide a reproducible .NET solution with explicit F# or C# language choice, SDK selection, project layout, test project setup, and initial validation commands.

gaelic-ghost/socket · 38 tokens

build-csharp-project

Build or modify idiomatic C# .NET projects using nullable-aware APIs, records/classes, async/task behavior, analyzer conventions, tests, and repo-local validation.

gaelic-ghost/socket · 37 tokens

rider-search

Routing rules for code search in JetBrains Rider projects — use the Rider MCP symbol/reference/file tools instead of Bash grep. Use whenever searching for a symbol, definition, function, variable, type, or finding usages/references in a C#/.NET or Unreal C++ codebase open in Rider.

JSungMin/rider-mcp-enforcer · 60 tokens

grasshopper-component

Complete guide for developing custom Grasshopper components in C# — GHComponent class, RegisterInputParams/OutputParams, SolveInstance, DataTree patterns, parameter types, error handling, and component packaging as .gha. Use this skill whenever creating or debugging a Grasshopper component: "grasshopper component c#"…

bcshih/rhino-dev-skills · 128 tokens

rhinocommon-geometry

Deep reference for Rhino.Geometry namespace — all geometry types, operations, and patterns in RhinoCommon. Use this skill whenever working with Rhino geometry in C# or Python: Point3d, Vector3d, Curve, Surface, Brep, Mesh, NURBS, intersections, boolean operations, transforms, planes, bounding boxes. Triggers on…

bcshih/rhino-dev-skills · 151 tokens

dotnet-analyzer-code-intelligence

Navigate and understand C# code through symbol queries, type hierarchies, call graphs, and semantic analysis using Roslyn-powered MCP tools. Use when the user asks to find references, go to definition, understand type inheritance, explore call hierarchies, get symbol info, analyze code metrics, or traverse syntax…

CartapenaBark/DotNetAnalyzer · 226 tokens