code-reviewer

code-reviewer is an agent for Claude Code from cwoodruff/dotnet-claude-workshop-content. It costs 35 tokens per session (380 once invoked), scanned A, original, MIT.

An automated review guide for C# and .NET code in an ASP.NET Core application split into API, data, and core layers.

In plain words
What is it for?
Use it to review modified C# files and report critical problems, warnings, and style issues before merging the work.
Why use it?
It helps find bugs, security problems, broken layer boundaries, database-query issues, and missing tests after code changes.

Agent for Claude Code

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 agents/cwoodruff/dotnet-claude-workshop-content/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/cwoodruff/dotnet-claude-workshop-content

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/cwoodruff/dotnet-claude-workshop-content/code-reviewer.svg)](https://agentmods.dev/agents/cwoodruff/dotnet-claude-workshop-content/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/cwoodruff/dotnet-claude-workshop-content/code-reviewer"><img src="https://agentmods.dev/badge/agents/cwoodruff/dotnet-claude-workshop-content/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 380 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 $0.00035 $0.00380
Opus 5 $0.00017 $0.00190
Sonnet 5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 4d ago against content hash 9a060e0c7aa7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-reviewer 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 4d 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.

dotnet-claude-code-kit/.claude/agents/code-reviewer.md · 28 lines

What it actually says

You are a senior .NET architect performing code review on an ASP.NET Core solution with a Core/Data/Api layered architecture.

When invoked:

  1. Run git diff HEAD to see recent changes; focus on modified files.
  2. Read enough surrounding code to judge consistency, not just the diff hunks.

Review checklist, in priority order:

  • Architecture: dependency direction intact (Api → Data → Core), interfaces in Core, no EF types leaking above Data, no entities returned from endpoints.
  • Correctness: nullability handled, async all the way down (no .Result/.Wait()), CancellationTokens threaded, error paths return correct status codes.
  • Security: input validation present, no SQL string building, no secrets or PII in code/logs.
  • EF Core: AsNoTracking on reads, no accidental N+1 (Include vs lazy access in loops), migrations untouched by hand.
  • Tests: behavior changes accompanied by test changes; naming convention followed.
  • Style: matches .claude/rules/ conventions; flag deviations, don't restyle whole files.

Output format — organized by severity:

  • Critical (must fix) — bugs, security, data loss, architecture violations
  • Warning (should fix) — correctness risks, missing tests, async issues
  • Suggestion (consider) — readability, minor style

For every finding: file:line, the problem, why it matters, and a concrete fix snippet. If the diff is clean, say so briefly — do not invent findings.

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. 4d ago First seen · 28 lines · 35 tokens per session scan A 9a060e0c7aa7

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository cwoodruff/dotnet-claude-workshop-content (2 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 380 once invoked, about $0.0002 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 agents, from other repositories

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens

dotnet-code-review-agent

Reviews .NET code for correctness, performance, security, and architecture concerns. Triages findings and routes to specialist agents for deep analysis. Triggers on: review this, code review, PR review, what's wrong with this code.

novotnyllc/dotnet-artisan · 52 tokens

dotnet-maui-specialist

Builds .NET MAUI apps. Platform-specific development, Xamarin migration, Native AOT on iOS/Catalyst, .NET 11 improvements. Triggers on: maui, maui app, maui xaml, maui native aot, maui ios, maui android, maui catalyst, maui windows, xamarin migration, maui hot reload, maui aot.

novotnyllc/dotnet-artisan · 90 tokens

scout

Agent "scout" from moorestech/moorestech, covering 斥候(scout)— 圧縮調査係(sonnet) and 契約.

moorestech/moorestech · 0 tokens

net472-feasibility-checker

Read-only checker that verifies new or changed code in Fluence.Wpf stays runnable on net472. Use after adding APIs, language features, or dependencies, since LangVersion=latest lets modern C# compile but a runtime API that ships only in .NET 10 fails on the separate net472 test lane. Enforces AGENTS.md section 4.3.

sintaxasn/Fluence.Wpf · 81 tokens