# Code Reviewer

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

- Skill: `azure-samples/code-reviewer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add azure-samples/code-reviewer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/azure-samples/code-reviewer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Azure-Samples (https://skillmd.com/u/azure-samples)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/azure-samples/code-reviewer

---


## 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

