dtsola avatar

Code Review Expert

This is a structured code review skill that runs through your git diff with a severity-based framework (P0 through P3) covering SOLID violations, security risks like injection and race conditions, and code quality issues like N+1 queries and error swallowing. It's review-first by design: you get a full report with inline comments and severity ratings, then you choose whether to fix everything, just the critical stuff, or nothing at all. The nice part is it loads specific checklists for security, SOLID, and removal candidates, so you're not just getting generic linter feedback. Good for catching the kind of stuff that slips through automated tools but would get flagged in a senior engineer review.

GitHub stars
1.1K
last updated
May 22, 2026

Install

$ npx -y skills add dtsola/xiaoyaosearch --skill code-review-expert --agent claude-code

Installs into .claude/skills of the current project.

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).

Sponsors

Details

Repository
github.com/dtsola/xiaoyaosearch
Categories
Security, Git & Pull Requests, Code Review & Quality
First seen
Jun 11, 2026

More from dtsola/xiaoyaosearch

All 7

Recommended

More Security
1gadievron avatargithub-archivegadievron/raptorInvestigate GitHub security incidents using tamper-proof GitHub Archive data via BigQuery. Use when verifying repository activity claims, recovering deleted PRs0skills.sh installs
2ghostsecurity avatarghost-proxyghostsecurity/skillsStarts and controls the reaper MITM proxy to capture, inspect, search, and replay HTTP/HTTPS traffic between clients and servers. Capabilities include starting/0skills.sh installs
3ghostsecurity avatarghost-repo-contextghostsecurity/skillsScans directory structure, detects projects, maps dependencies, and documents code organization into a repo.md file. Use when the user needs a codebase overview0skills.sh installs
4github avatartm7-threat-modelgithub/awesome-copilotCreates valid Microsoft Threat Modeling Tool (.tm7) files compatible with the Microsoft Threat Modeling Tool v7.3+. Use this skill whenever asked to create, gen0skills.sh installs
5hoangnguyen0403 avatarverify-workhoangnguyen0403/agent-skills-standardVerify feature, bug, UI, API, mobile, security, or deployment work against acceptance criteria.0skills.sh installs
6huangjia2019 avatarapi-conventionshuangjia2019/claude-code-engineeringAPI design patterns and conventions for this project. Covers RESTful URL naming, response format standards, error handling, and authentication requirements. Use0skills.sh installs