code-review-expert

Installation
Summary

Expert code review of current git changes with a senior engineer lens.

  • Detects SOLID violations (SRP, OCP, LSP, ISP, DIP), architecture smells, and proposes incremental refactors with clear rationale
  • Scans for security risks including injection, XSS, AuthZ gaps, race conditions, and unsafe deserialization with exploitability assessment
  • Identifies removal candidates and unused code with safe deletion vs. deferred plans and concrete follow-up checkpoints
  • Flags code quality issues: error handling gaps, N+1 queries, boundary condition bugs, and silent failure risks
  • Review-first workflow; no changes implemented until user explicitly confirms which findings to address
SKILL.md

Code Review Expert

Overview

Perform a structured review of the current git changes with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.

Severity Levels

Level Name Description Action
P0 Critical Security vulnerability, data loss risk, correctness bug Must block merge
P1 High Logic error, significant SOLID violation, performance regression Should fix before merge
P2 Medium Code smell, maintainability concern, minor SOLID violation Fix in this PR or create follow-up
P3 Low Style, naming, minor suggestion Optional improvement

Workflow

1) Preflight context

Related skills

More from sanyuan0704/sanyuan-skills

Installs
2.2K
GitHub Stars
3.5K
First Seen
Mar 2, 2026