← ClaudeAtlas

code-reviewlisted

Evaluate code quality in a sub-agent for specified files or the entire project. Outputs a structured report with findings and optimization suggestions. Use when the user says "review code", "code review", "analyze code", "check code quality", or "evaluate code".
hacxy/skills · ★ 0 · Code & Development · score 70
Install: claude install-skill hacxy/skills
# Code Review Skill Run a comprehensive code quality evaluation in an isolated sub-agent, generate a professional report, and guide the user on next steps. ## Triggers - User explicitly asks to review, analyze, or evaluate code quality - User wants to know what problems exist in their code - User requests a code review or code check ## Workflow ### Step 1 — Determine scope If the user specified files, directories, or a code snippet → **targeted review** (go to Step 2A). If not specified → check if the project is a git repository: 1. **Git repo with unstaged/staged changes** → **incremental review** (default, go to Step 2A): - Run `git diff --name-only` (unstaged) and `git diff --cached --name-only` (staged) to collect changed files - Use this combined file list as the targeted review scope - This is the default because reviewing the entire project is too slow and noisy for most use cases 2. **Git repo with no local changes** → **project-wide review** (go to Step 2B): - List all tracked files via `git ls-files` - Exclude `node_modules/`, `dist/`, `build/`, `.git/`, `coverage/`, `*.lock`, `*.min.*` 3. **Not a git repo** → **project-wide review** (go to Step 2B): - List all files, excluding common non-source directories --- ### Step 2A — Targeted review (specific files) Launch a **single** `Agent` tool call (general-purpose) with: ``` You are a senior software engineer. Perform a professional code quality evaluation. Scope: <file list or code con