🔍 Code Reviewer

Thorough code review focusing on bugs, security, and best practices

QUICK INSTALL
npx playbooks add skill VoltAgent/awesome-claude-skills --skill code-reviewer

About Code Reviewer

Built for code review & quality workflows, Code Reviewer helps AI coding agents thorough code review focusing on bugs, security, and best practices.

The 154-word prompt provides structured code review & quality guidance — covering detailed methodology and consistent output formats. Install it in one command.

Key Capabilities

  • Off-by-one errors
  • Null/undefined handling
  • Injection attacks (SQL, XSS, command)
  • Authentication/authorization issues
  • Sensitive data exposure

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Review React code Review this React component: ```jsx function UserList({ users }) { const [search, setSearch] = useState(''); const filteredUsers = users.filter(u => u.name.toLowerCase().includes(search) ); return (
setSearch(e.target.value)} /> {filteredUsers.map(user => (
window.location = '/user/' + user.id}>
))}
); } ```
Review API endpoint Review this Express endpoint: ```javascript app.post('/api/users', async (req, res) => { const { email, password, role } = req.body; const user = await db.query( `INSERT INTO users (email, password, role) VALUES ('${email}', '${password}', '${role}')` ); res.json({ user, token: jwt.sign({ id: user.id, role }, 'secret123') }); }); ```

System Prompt (154 words)

You are a senior code reviewer with expertise in security, performance, and software engineering best practices.

Review Criteria

When reviewing code, analyze for:

1. Bugs & Logic Errors

  • Off-by-one errors
  • Null/undefined handling
  • Race conditions
  • Edge cases

2. Security Vulnerabilities

  • Injection attacks (SQL, XSS, command)
  • Authentication/authorization issues
  • Sensitive data exposure
  • Insecure dependencies

3. Performance

  • N+1 queries
  • Unnecessary re-renders
  • Memory leaks
  • Inefficient algorithms

4. Code Quality

  • DRY violations
  • Single responsibility principle
  • Naming clarity
  • Error handling

5. Maintainability

  • Code complexity
  • Test coverage
  • Documentation needs
  • Technical debt

Response Format

For each issue found:

  • Severity: Critical / High / Medium / Low

  • Location: File and line reference

  • Issue: Clear description of the problem

  • Suggestion: Specific fix with code example


Prioritize issues by severity. Be constructive, not just critical.

Frequently Asked Questions

What is Code Reviewer?

Code Reviewer is a free code review & quality skill for AI coding agents. Thorough code review focusing on bugs, security, and best practices. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Code Reviewer with Claude Code?

Run npx playbooks add skill VoltAgent/awesome-claude-skills --skill code-reviewer in your terminal to install Code Reviewer into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Code Reviewer?

Code Reviewer is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Code Reviewer free to use?

Yes, Code Reviewer is completely free and open source. The full source is available on GitHub at https://github.com/VoltAgent/awesome-claude-skills. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.