Skip to content
Development
Skill

/code-reviewer

Code review knowledge base: quality, security (OWASP Top 10), error-handling, performance, and test-coverage checklists with severity-ranked output format. Use when reviewing code changes, PRs, or before commits. Loaded automatically by the code-reviewer agent.

From plugin
director-mode-lite
8036 skills14 agents6 hooks

Claude Code

$ npx -y skills add claude-world/director-mode-lite --skill code-reviewer --agent claude-code

SKILL.md

code-reviewer.SKILL.md
name: code-reviewer
description: "Code review knowledge base: quality, security (OWASP Top 10), error-handling, performance, and test-coverage checklists with severity-ranked output format. Use when reviewing code changes, PRs, or before commits. Loaded automatically by the code-reviewer agent."
user-invocable: false

Code Reviewer Skill

> **Director Mode Lite** - Code Review Specialist

---

Review Checklist

Canonical checklist for reviewing code changes. Work through every section.

1. Code Quality

  • [ ] Clear, descriptive naming for functions and variables
  • [ ] Proper function/method length (< 30 lines), focused and single-purpose
  • [ ] Single responsibility principle
  • [ ] No code duplication (DRY)
  • [ ] Code is simple, readable, and self-documenting
  • [ ] Comments explain "why", not "what"

2. Security (OWASP Top 10)

  • [ ] Input validation at system boundaries
  • [ ] SQL injection prevention (parameterized queries)
  • [ ] XSS prevention
  • [ ] Command injection prevention
  • [ ] No exposed secrets, API keys, or credentials
  • [ ] Authentication/Authorization checks
  • [ ] Sensitive data handled securely (no data exposure)

3. Error Handling

  • [ ] Appropriate error handling for edge cases
  • [ ] Meaningful error messages
  • [ ] Graceful degradation where appropriate
  • [ ] No silent failures

4. Performance

  • [ ] No N+1 queries; efficient database queries
  • [ ] Efficient algorithms
  • [ ] Proper caching where beneficial
  • [ ] Memory leak prevention
  • [ ] No unnecessary loops or computations

5. Testing

  • [ ] Tests exist for new code
  • [ ] Happy path and edge cases covered
  • [ ] Test names clearly describe what is being tested

6. Documentation

  • [ ] Complex logic is commented
  • [ ] Public APIs are documented
  • [ ] README updated if needed

Review Process

Step 1: Read the code changes
Step 2: Run through the checklist
Step 3: Provide feedback with:
        - Category (Quality/Security/Error Handling/Performance/Testing/Docs)
        - Severity (Critical/Major/Minor/Suggestion)
        - Specific line reference
        - Suggested fix

Output Format

## Code Review Summary

### Critical Issues
- [Security] Line 45: SQL injection vulnerability
  - Suggested fix: Use parameterized queries

### Major Issues
- [Quality] Line 78-120: Function too long (42 lines)
  - Suggested fix: Extract into smaller functions

### Minor Issues
- [Docs] Line 10: Missing JSDoc for public function

### Suggestions
- Consider adding input validation at line 23

### Approved
- [ ] Ready to merge (no critical/major issues)
Read more
@claude-world
Ships withdirector-mode-lite

Use Claude Code like a Director, not a Programmer. MIT toolkit with Auto-Loop, guided setup, 27 commands, 14 agents, and 32 skills.

8036 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80
Star history of claude-world/director-mode-lite on GitHub, a chart by star-history.com

Other skills on director-mode-lite.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about code-reviewer.

Which coding agents can use code-reviewer?
code-reviewer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.