
from copilot-prompts612
Perform structured C# code reviews covering naming, performance, security, readability, and .NET best practices.
This skill guides the agent to perform a structured, prioritized code review of C# source. It inspects naming conventions, performance and memory usage, security vulnerabilities, readability and maintainability, and compatibility with the target .NET framework. The output is a clear markdown report with a summary, categorized issues (Critical/Warning/Info), suggested fixes, and positive takeaways.
Use when you need a fast, actionable review of a C# file, class, or pasted snippet — for pull request reviews, pre-commit checks, or developer learning. Trigger when the user asks to 'review this C# code', 'check my C# for best practices', or 'analyze this C# class'.
Designed for general LLM-based developer assistants (Copilot/Claude/Codex/Gemini) that can read code snippets and produce markdown reports.
A well-crafted C# code review prompt skill from the PnP copilot-prompts repo. No scripts — it's a pure instructional SKILL.md that guides an agent through structured code reviews covering naming, performance, security, readability, and .NET best practices. Comprehensive categories, clear severity levels, and a concrete example make it immediately usable. No security concerns whatsoever — no shell commands, no network calls, no credentials.
Clean, well-structured skill. One of the better prompt-only skills — thorough categorization, specific checklists, good example. No scripts to test.