Skip to content
Documentation
Command

/review

Perform a thorough code review of: $ARGUMENTS

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/review

Context preview

What this command does when you run it.

Perform a thorough code review of: $ARGUMENTS

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
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.

Get the whole plugin
Stats
4
Stars
1
Forks
Active
Maintenance
Shell
Language
17d ago
Last commit
4mo ago
Created

Repo: vignesh2027/claude-best-practice

Other commands on claude-best-practice.