Code Reviewer

Review code for best practices, potential bugs, and improvements. Use when asked to review, analyze, or critique code quality.

Azure-Samples 69d2752 2 files · 2.0 KB Updated

File contents

Instructions

When reviewing code:

  1. Best Practices — Check adherence to language conventions and patterns.
  2. Potential Bugs — Identify null references, race conditions, or logic errors.
  3. Improvements — Suggest refactoring opportunities and performance gains.
  4. Security — Flag any security concerns (SQL injection, hardcoded secrets, etc.).

For automated analysis, use the script at scripts/analyze.cs which performs basic static checks on C# source files. Run with: dotnet run scripts/analyze.cs -- <file.cs>

Rate each finding as: 🔴 Critical | 🟡 Warning | 🟢 Suggestion

azure-samples/agent-skills-dotnet-demo/tree/main/skills/code-reviewer commit 69d2752166

Frequently asked questions

npx skillmds@latest add azure-samples/code-reviewer