Skip to content
Documentation
Command

/review

Perform a thorough code review of: $ARGUMENTS

From plugin
claude-best-practice
48 skills3 agents8 commands
$ npx -y skills add vignesh2027/claude-best-practice --agent claude-code

Command definition

review.md

/review — Deep Code Review

Perform a thorough code review of: $ARGUMENTS

If no arguments provided, review all staged/uncommitted changes.

Review Dimensions

1. Correctness

  • Does the code do what it's supposed to do?
  • Are edge cases handled?
  • Are error conditions caught and handled?

2. Security

  • Input validation at system boundaries
  • SQL injection, XSS, CSRF risks
  • Authentication and authorization checks
  • Secrets or credentials exposed?
  • Dependency vulnerabilities

3. Performance

  • Unnecessary database queries (N+1 problems)
  • Unoptimized loops or algorithms
  • Missing indexes on queried columns
  • Memory leaks or unbounded caches

4. Maintainability

  • Is the code readable and self-explanatory?
  • Are functions doing too many things?
  • Is there duplication that should be extracted?
  • Are names clear and consistent with the codebase?

5. Test Coverage

  • Are there tests for the new functionality?
  • Do tests cover failure paths?
  • Are tests testing behavior, not implementation?

6. Architecture

  • Does the change fit the existing patterns?
  • Is the abstraction level appropriate?
  • Does it create problematic coupling?

Output Format

For each issue found, report:

SEVERITY: [Critical / High / Medium / Low / Nit]
FILE: path/to/file.ts:line
ISSUE: description of the problem
SUGGESTION: how to fix it

End with:

  • **Overall assessment**: Approve / Request Changes / Needs Major Work
  • **Top 3 must-fix items** (if any)
Read more
@vignesh2027
Ships withclaude-best-practice

The most comprehensive, production-ready guide to mastering Claude Code From vibe coding → agentic engineering → autonomous AI development teams Built for engineers who treat Claude Code as infrastructure, not a toy.

41 skill3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4
Star history of vignesh2027/claude-best-practice on GitHub, a chart by star-history.com

Other commands on claude-best-practice.

More commands from other plugins.