Code Review

Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add thechandanbhagat/claude-skills --skill code-review
Manual install
git clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/code-review ~/.claude/skills/code-review

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Code Review Skill

Perform comprehensive code reviews following industry best practices.

## 1. Security Review

Check for OWASP Top 10 vulnerabilities:

**SQL Injection:**
```bash
# Search for SQL injection risks
grep -r "execute.*\+" . --include="*.py" --include="*.js" --include="*.php"
grep -r "query.*\+" . --include="*.py" --include="*.js"
grep -r "SELECT.*%" . --include="*.py"
```

**XSS (Cross-Site Scripting):**
```bash
# Check for unescaped output
grep -r "innerHTML\s*=" . --include="*.js" --include="*.jsx"
grep -r "dangerouslySetInnerHTML" . --include="*.jsx" --include="*.tsx"
grep -r "render_template_string" . --include="*.py"
```

**Command Injection:**
```bash
# Check for command injection
grep -r "exec\|eval\|system\|shell_exec" . --include="*.py" --include="*.js" --include="*.php"
grep -r "os\.system\|subprocess\.call" . --include="*.py"
grep -r "child_process\.exec" . --include="*.js"
```

**Hardcoded Secrets:**
```bash
# Find potential secrets
grep -r "password\s*=\s*['\"]" . --include="*.py" --include="*.js" --include="*.java"
grep -r "api_key\s*=\s*['\"]" . --include="*.py" --include="*.js"
grep -r "secret\s*=\s*['\"]" . --include="*.py" --include="*.js"
grep -r "Bearer\s\+[A-Za-z0-9]" . --include="*.py" --include="*.js"
```

**Insecure Deserialization:**
Read the full skill on GitHub

Details

Skill name
code-review
Path
skills/code-review/SKILL.md
Repo updated
22 January 2026

FAQ

What does the Code Review skill do?

Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.

How do I install the Code Review skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill code-review. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Code Review popular?

It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.

Related skills

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.