sanyuan0704 avatar

Code Review Expert

Structured senior-engineer review of current git changes that flags SOLID violations, security risks, and removal candidates.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
13.9K
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the review workflow from git diff scoping through SOLID, security, code quality, and removal-plan checks
  • Assigns each finding a P0 to P3 severity level with a required merge action, and groups findings in a fixed report template
  • Enforces a review-only default, presenting numbered fix options and making no changes until the user confirms
  • Designed for reviewing pending git changes before merge, with reference checklists for SOLID, security, and code quality

Install

$ npx -y skills add sanyuan0704/sanyuan-skills --skill code-review-expert -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

LevelNameDescriptionAction
P0CriticalSecurity vulnerability, data loss risk, correctness bugMust block merge
P1HighLogic error, significant SOLID violation, performance regressionShould fix before merge
P2MediumCode smell, maintainability concern, minor SOLID violationFix in this PR or create follow-up
P3LowStyle, naming, minor suggestionOptional improvement

Workflow

1) Preflight context

  • Use git status -sb, git diff --stat, and git diff to scope changes.
  • If needed, use rg or grep to find related modules, usages, and contracts.
  • Identify entry points, ownership boundaries, and critical paths (auth, payments, data writes, network).

Details

Repository
github.com/sanyuan0704/sanyuan-skills
Categories
Code Review & Quality, Security
First seen
May 16, 2026

More from sanyuan0704/sanyuan-skills

All 6

Similar to Code Review Expert

More Code Review & Quality