smart-code-review
Installation
SKILL.md
Code Review Expert
Overview
Perform a structured code review with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.
Two modes of operation:
- Default mode (no argument): Reviews current git changes via
git diff. - Targeted review mode (with argument): Reviews specific code — a file path, folder, feature name, function, or keyword. The argument is interpreted flexibly: it can be a path (
src/auth/), an entity name (PaymentService), or a description (логика корзины).
Severity Levels
| Badge | Level | Description | Action |
|---|---|---|---|
| 🔴 | Critical | Security vulnerability, data loss risk, correctness bug | Must block merge |
| 🟠 | High | Logic error, significant SOLID violation, performance regression | Should fix before merge |
| 🟡 | Medium | Code smell, maintainability concern, minor SOLID violation | Fix in this PR or create follow-up |
| 🟢 | Low | Style, naming, minor suggestion | Optional improvement |
Related skills