csharp-reviewer

csharp-reviewer is an agent for Claude Code from TheBeardedBearSAS/claude-craft. It costs 33 tokens per session (4,135 once invoked), scanned A, original, MIT.

A code-review specialist for C# and .NET applications. It examines application structure, database access, asynchronous code, tests, performance, and web security.

In plain words
What is it for?
Use it to review C# and ASP.NET Core projects, including Clean Architecture, CQRS, MediatR, Entity Framework Core, LINQ, asynchronous code, and security.
Why use it?
It helps identify problems in common .NET designs, including poorly separated layers, unsafe web code, inefficient database queries, and weak type or test coverage.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

Good fit Use it to review C# and ASP.NET Core projects, including Clean Architecture, CQRS, MediatR, Entity Framework Core, LINQ, asynchronous code, and security.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thebeardedbearsas/claude-craft/csharp-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/csharp-reviewer.svg)](https://agentmods.dev/agents/thebeardedbearsas/claude-craft/csharp-reviewer)
Your own site
<a href="https://agentmods.dev/agents/thebeardedbearsas/claude-craft/csharp-reviewer"><img src="https://agentmods.dev/badge/agents/thebeardedbearsas/claude-craft/csharp-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,135 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.00033 $0.04135
Opus 5 $0.00016 $0.02067
Sonnet 5 $0.00007 $0.00827
Haiku 4.5 $0.00003 $0.00413

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

Security

Grade A, and why

csharp-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 8d 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.

.claude/agents/csharp-reviewer.md · 521 lines

How it starts

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

Agent Auditeur C# 14 / .NET 10

Identite

Je suis un specialiste de la revue de code C# 14 et .NET 10 LTS. Mon approche est centree sur les problemes specifiques a .NET : Clean Architecture avec CQRS et MediatR, le Domain-Driven Design, les performances Entity Framework Core, les patterns async modernes, et la securite ASP.NET Core. Je ne fais pas un audit generique -- je detecte ce qui casse, ralentit ou complexifie inutilement une application .NET moderne utilisant les fonctionnalites de C# 14 (field-backed properties, extension members, Span conversions) et .NET 10 (performances JIT ameliorees, Minimal APIs).

Systeme de notation (100 points)

Categorie Points Focus
Architecture Clean et CQRS 30 Clean Architecture, MediatR, DDD, couches
C# 14 et Qualite 20 Nullable refs, async patterns, modern C#
Tests 25 xUnit, FluentAssertions, integration tests
Securite et Performance 25 EF Core, LINQ, OWASP, ASP.NET Core

1. Architecture Clean et CQRS (30 points)

Arbre de decision : Analyse de l'architecture

Le projet suit-il Clean Architecture ?
  NON --> CRITIQUE : les couches doivent etre separees
  OUI --> Le Domain a-t-il des dependances sur Infrastructure ?
    OUI --> CRITIQUE : violation de la regle de dependance
    NON --> CQRS est-il implemente (Commands/Queries separes) ?
      NON --> MAJEUR si application complexe, MINEUR si CRUD simple
      OUI --> MediatR est-il utilise correctement ?
        NON --> Les handlers ont-ils plus d'une responsabilite ?
          OUI --> MAJEUR : violation SRP dans les handlers

Le modele de domaine est-il anemique ?
  OUI --> CRITIQUE : la logique metier doit etre dans les entites/aggregats

Violations critiques

Domain pollue par l'infrastructure :

// MAUVAIS : Data Annotations dans le Domain
public class Order
{
    [Required] [MaxLength(100)]
    public string Name { get; set; } = string.Empty;
}

// BON : Domain pur, configuration EF Core separee (IEntityTypeConfiguration)
public class Order
{
    public OrderId Id { get; private set; }
    private readonly List<OrderItem> _items = [];

    public static Order Create(CustomerId customerId)
    {
        var order = new Order { Id = OrderId.New(), Status = OrderStatus.Pending };
        order.AddDomainEvent(new OrderCreatedEvent(order.Id));
        return order;
    }
}

Read the full file on GitHub · 521 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. 8d ago First seen · 521 lines · 33 tokens per session scan A 455538604369

Subscribe to this mod's changes

csharp-reviewer is an agent published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 4,135 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-30.

Related

Other agents, from other repositories

dnp-performance-analyst

⚡ .NET performance analysis — async hotspots, N+1 queries, missing caching opportunities, allocation pressure, and benchmark design.

zdanovichnick/dotnet-pilot · 33 tokens

dependency-auditor

Dependency audit specialist — manifest-graph axis covering outdated versions, deprecation, license compatibility, transitive bloat, and lockfile drift across Node, Rust, Go, and Python ecosystems. Invoke when you want a focused supply-chain hygiene report, not a code-level CVE review.

lugassawan/swe-workbench · 62 tokens

dnp-fable-advisor

🧠 Senior .NET advisor to the implementation agents — advises, never implements. Three modes via brief: ADVISE (contract-altitude guidance before hard cross-layer work), UNBLOCK (an implementer is looping or plateaued), ADJUDICATE (verify a suspect agent claim against the code). Consult at decision points, not before…

zdanovichnick/dotnet-pilot · 80 tokens

dnp-planner

📋 Plans a .NET implementation as an atomic, DI-aware, migration-safe task list that maps directly to Claude Code's TaskCreate tool.

zdanovichnick/dotnet-pilot · 34 tokens

dnp-security-auditor

🔐 .NET security audit — OWASP Top 10 for APIs, secrets exposure, auth configuration, dependency vulnerabilities, and input validation gaps.

zdanovichnick/dotnet-pilot · 36 tokens

dnp-verifier

✅ Goal-backward verification for .NET phases — checks build, tests, DI completeness, migration state, and architectural consistency.

zdanovichnick/dotnet-pilot · 30 tokens