dotnet-code-review

dotnet-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 50 tokens per session (906 once invoked), scanned A, original, MIT.

A .NET and C# code review for asynchronous cancellation, endpoint authorization, and compatibility with the target framework. .NET is Microsoft's platform for building applications and services; C# is its main language.

In plain words
What is it for?
Use it to review .NET or C# endpoints, Entity Framework queries, and asynchronous methods.
Why use it?
It helps catch operations that cannot be canceled, endpoints without the required access checks, and language features unavailable on the project's target framework.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review .NET or C# endpoints, Entity Framework queries, and asynchronous methods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/dotnet-code-review
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.

Any agent
npx skills add beel-collab/presets.dev --skill dotnet-code-review
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

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-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/dotnet-code-review/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/dotnet-code-review)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/dotnet-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/dotnet-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dotnet-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/dotnet-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/dotnet-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00050 $0.00906
Opus 5.5 $0.00020 $0.00362
Sonnet 5.5 $0.00010 $0.00181
Haiku 4.5 $0.00005 $0.00091

Measured 17d ago against content hash 581b03450490, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnet-code-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 17d 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.

antigravity/dotnet/dotnet-code-review/SKILL.md · 86 lines

How it starts

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

.NET Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/dotnet-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

.NET Code Review

Shared skill dotnet-code-review for .NET. Codex and Antigravity CLI both read .agents/skills/dotnet-code-review/SKILL.md. Install this one file. Codex calls it with $dotnet-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a .NET or C# change: an endpoint, an EF query, or an async method.

When to leave it

Stop for a non-.NET repository. Do not change TargetFramework unless the user asked.

Steps

  1. Read TargetFramework. C# 15 unions or other new syntax on a .NET 10 or older TFM is a high finding.
  2. Search the diff for .Result, .Wait(), and async void. Each on a request path is a high finding.
  3. Confirm CancellationToken is accepted and passed into EF, HTTP, and delays. A token that is ignored is a finding.
  4. Confirm writes call RequireAuthorization or the controller equivalent. A missing check is a high finding.
  5. Review EF. ToList before a Where, or a loop of queries, is a finding.
  6. Run dotnet test only if the user asked. Otherwise write not run.

Output

Findings with severity, file, line, the TFM, and a fix that compiles on that TFM.

## Findings
- high | path:line | what is wrong | what to do instead

## No findings
Say "No findings" and list the files you opened. A search you skipped is not a clean result.

## Example
Input: a `net10.0` project adds a C# 15 union to a request DTO.
Output: high | NoteDto.cs:3 | C# 15 unions are not available on `net10.0` | keep the DTO as a record, or retarget only if the user asked.

Read the full file on GitHub · 86 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. 17d ago First seen · 86 lines · 50 tokens per session scan A 581b03450490

Subscribe to this mod's changes

dotnet-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 7d ago), licensed MIT. It adds 50 tokens to every session and 906 once invoked, about $0.0002 per session on Opus 5.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-11-13.

Related

dotnet-code-review compared with skills from other repositories

dotnet-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnet-code-reviewbeel-collab/presets.devSkill37d agoMITA50Claude Code, Codex
resharper-cltmanagedcode/dotnet-skillsSkill52716d agoMITA107Claude Code, Codex
roslynatormanagedcode/dotnet-skillsSkill52716d agoMITA107Claude Code, Codex
stylecop-analyzersmanagedcode/dotnet-skillsSkill52716d agoMITA142Claude Code, Codex
quickdupmanagedcode/dotnet-skillsSkill52716d agoMITC138Claude Code, Codex
dotnet-breaking-changesmanagedcode/dotnet-skillsSkill52716d agoMITA230Claude Code, Codex
dotnet-best-practicesmduongvandinh/ai-best-practices-skillsSkill189mo agononeA0Claude Code, Codex