code-review-csharp

Installation
SKILL.md

Review C# Code for Best Practices

Perform a structured code review of C# source code. Identify issues related to naming conventions, performance, security, readability, and .NET best practices. Produce a prioritized report with actionable suggestions.

Gather Context

Before reviewing, determine:

  1. Code to review — the C# file, class, or snippet. If the user points to a file, read it. If they paste code, use it directly.
  2. Review focus — what to prioritize:
    • all (default) — full review across all categories
    • naming — naming conventions only
    • performance — performance and memory only
    • security — security vulnerabilities only
    • readability — clarity, structure, and maintainability only
  3. Target framework — the .NET version. Default to .NET 8 if not specified. Auto-detect from <TargetFramework> in .csproj if accessible.
  4. Severity threshold — all (default), warnings-and-above, or critical-only.

If context is missing: Default to all focus, .NET 8, and all severities. Don't block the review to ask — just state your assumptions at the top of the report. Only ask if you genuinely have no code to review.

Installs
3
GitHub Stars
878
First Seen
Jul 21, 2026