csharp-code-review

Reviews C# code against SOLID principles, design patterns, modern language features, and performance criteria.

Updated May 22, 2026
One-click install
npx skills add https://github.com/viniciuscs84/sdd-toolkit --skill csharp-code-review-viniciuscs84
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-code-review
Source: https://github.com/viniciuscs84/sdd-toolkit/tree/main/skills/csharp-code-review
Command: npx skills add https://github.com/viniciuscs84/sdd-toolkit --skill csharp-code-review-viniciuscs84

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewing C# code consistently across OOP, SOLID, design patterns, async correctness, performance, and security is time-consuming and easy to do inconsistently. This Skill provides a structured, checklist-driven review process that produces prioritized, actionable findings with concrete code improvement suggestions. ## Core Features & Use Cases - Multi-perspective analysis: Evaluates code against OOP principles, all five SOLID principles, GoF design pattern opportunities, modern C# 12/13 features, performance, async/await correctness, and security. - Structured Korean-language report: Outputs a prioritized review report with severity levels, file/line locations, current vs. improved code snippets, and a ranked improvement list. - Use Case: Before opening a pull request, point the Skill at a changed .cs file to catch blocking async calls (.Result/.Wait), missing ConfigureAwait, LINQ multiple enumeration, or SRP violations, and receive refactored code suggestions using records, pattern matching, or collection expressions. ## Quick Start Ask the assistant to review a specific C# file, for example: run the csharp-code-review skill on src/Services/OrderService.cs and report any SOLID violations and performance issues.

Frequently Asked Questions about csharp-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review C# code for SOLID principle violations?

Run the review on a target .cs file or directory and it checks each SOLID principle with concrete violation signals, such as switch/if-else chains for OCP or NotImplementedException for ISP. Findings include file location, severity, and refactored code examples.

What does an automated C# code review check for performance?

The performance review covers unnecessary allocations on hot paths, Large Object Heap usage, blocking async calls like .Result and .Wait(), missing ConfigureAwait, wrong collection types, LINQ multiple enumeration, string concatenation in loops, and boxing of value types.

Does the review support modern C# 12 and C# 13 features?

Yes, it suggests adoption of primary constructors, collection expressions, required properties, init-only setters, record types, pattern matching, file-scoped namespaces, and raw string literals where they improve the code, while considering the target .NET version.

Can I review a whole directory instead of a single C# file?

Yes, the argument accepts either a file or directory path. If no path is given, it looks for recently modified .cs files or asks you to specify the review target.

What language is the C# review report written in?

The review report is written in Korean, while code identifiers, technical terms, and pattern names remain in their original form. The output follows a fixed Markdown template with severity-ranked improvement items.