csharp-dotnet-review

csharp-dotnet-review is a skill for Claude Code from camilooscargbaptista/cto-toolkit. It costs 27 tokens per session (647 once invoked), scanned A, original, MIT.

A code-review guide for C# and .NET applications, including ASP.NET Core web apps, Entity Framework Core database access, Minimal APIs, and Azure integrations. .NET is Microsoft's application platform, and C# is its main programming language.

In plain words
What is it for?
Use it to review C# services, web APIs, dependency injection, database queries and migrations, configuration, resource cleanup, and Azure integrations.
Why use it?
It helps find common correctness, maintainability, database-query, asynchronous-code, and performance problems before they reach production.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cto-toolkit plugin — 54 skills, 6 agents, 3 hooks shipped together

Good fit Use it to review C# services, web APIs, dependency injection, database queries and migrations, configuration, resource cleanup, and Azure integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-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 camilooscargbaptista/cto-toolkit --skill csharp-dotnet-review
Clone the repo
git clone --depth 1 https://github.com/camilooscargbaptista/cto-toolkit

Made for: Claude Code.

Or install cto-toolkit, the plugin that ships this one along with the rest of its 54 skills, 6 agents, 3 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-dotnet-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-review/github.svg)](https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-review)
Your own site
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-review"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-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 csharp-dotnet-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-review"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/csharp-dotnet-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 647 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.00027 $0.00647
Opus 5 $0.00014 $0.00324
Sonnet 5 $0.00005 $0.00129
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

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

csharp-dotnet-review/SKILL.md · 80 lines

How it starts

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

C# / .NET Code Review

When to Use

  • Reviewing C#/.NET code (ASP.NET Core, EF Core, Minimal APIs)
  • Evaluating .NET architecture patterns (Clean Architecture, CQRS, MediatR)
  • Azure service integration review

Review Checklist

Architecture & Patterns

  • Clean Architecture: Domain independent of infrastructure
  • Dependency Injection used throughout (no new Service())
  • CQRS separation when appropriate (Commands vs Queries)
  • MediatR or similar for decoupled handlers
  • Repository pattern for data access abstraction
  • Options pattern for configuration (IOptions<T>)

C# Best Practices

  • async/await used correctly (no .Result or .Wait())
  • CancellationToken propagated through async chains
  • IDisposable implemented for unmanaged resources
  • null handled with nullable reference types (?, ??, ?.)
  • Records used for immutable DTOs
  • sealed classes where inheritance not needed
  • readonly for immutable fields
  • Pattern matching instead of type casting

EF Core

  • No N+1 queries (use .Include() or .AsSplitQuery())
  • AsNoTracking() for read-only queries
  • Indexes defined on frequently queried columns
  • Migrations tested and reversible
  • Connection pooling configured
  • Query filters for soft delete / multi-tenancy

Security

  • [Authorize] on all protected endpoints
  • Input validation with data annotations or FluentValidation
  • Anti-forgery tokens for forms
  • CORS configured restrictively
  • User secrets / Azure Key Vault for credentials
  • No SQL string concatenation (parameterized queries)

Performance

  • Response caching where appropriate
  • IMemoryCache or IDistributedCache for hot data
  • Minimal API for high-throughput endpoints
  • System.Text.Json configured (not Newtonsoft unless needed)
  • Pagination on list endpoints
  • Background tasks via IHostedService / Hangfire

Output Format

## .NET Review: [Component]
**Health Score**: X/10

### Critical Issues
- [Issue with fix]

### Improvements
- [Suggestion with example]

### Architecture Notes
- [Pattern observations]

Read the full file on GitHub · 80 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. 9d ago First seen · 80 lines · 27 tokens per session scan A 9b672becdddc

Subscribe to this mod's changes

csharp-dotnet-review is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (7 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 647 once invoked, about $0.0001 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

recipe-front-review

Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.

shinpr/claude-code-workflows · 29 tokens

graphify-dotnet

Use graphify-dotnet to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched semantic relationships. USE FOR: graphify commands; graph JSON, HTML, SVG, Cypher, Markdown, and Obsidian exports; repository map and…

managedcode/dotnet-skills · 125 tokens

new-skill

Scaffold a new brooks-lint analysis skill so it passes npm run validate and npm run evals on the first try — generates skills/{name}/SKILL.md (with the mandatory "Do NOT trigger for:" clause and a Process section citing guide step ranges) plus skills/{name}/{name}-guide.md (sequentially numbered steps), then appends…

hyhmrright/brooks-lint · 145 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

dorodango

Polishes working code through successive quality passes in fresh subagents. Use after tests pass when code needs multi-dimension refinement before release.

athola/claude-night-market · 31 tokens

address-review

Read PR review comments from GitHub, evaluate, address, and reply.

fpindej/netrock · 14 tokens