# Code Reviewer

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

- Skill: `gabrielmoreira/code-reviewer-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/code-reviewer-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/code-reviewer-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gabrielmoreira/code-reviewer-2

---


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

