Skip to content
Development
Command

/code-review

Perform comprehensive code quality review

From plugin
claude-command-suite
1.3k199 skills89 agents199 commands
Install
$ npx -y skills add qdhenry/Claude-Command-Suite --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/code-review

Context preview

What this command does when you run it.

Perform comprehensive code quality review

Command definition

code-review.md

Comprehensive Code Quality Review

Perform comprehensive code quality review

Instructions

Follow these steps to conduct a thorough code review:

1. **Repository Analysis**

  • Examine the repository structure and identify the primary language/framework
  • Check for configuration files (package.json, requirements.txt, Cargo.toml, etc.)
  • Review README and documentation for context

2. **Code Quality Assessment**

  • Scan for code smells, anti-patterns, and potential bugs
  • Check for consistent coding style and naming conventions
  • Identify unused imports, variables, or dead code
  • Review error handling and logging practices

3. **Security Review**

  • Look for common security vulnerabilities (SQL injection, XSS, etc.)
  • Check for hardcoded secrets, API keys, or passwords
  • Review authentication and authorization logic
  • Examine input validation and sanitization

4. **Performance Analysis**

  • Identify potential performance bottlenecks
  • Check for inefficient algorithms or database queries
  • Review memory usage patterns and potential leaks
  • Analyze bundle size and optimization opportunities

5. **Architecture & Design**

  • Evaluate code organization and separation of concerns
  • Check for proper abstraction and modularity
  • Review dependency management and coupling
  • Assess scalability and maintainability

6. **Testing Coverage**

  • Check existing test coverage and quality
  • Identify areas lacking proper testing
  • Review test structure and organization
  • Suggest additional test scenarios

7. **Documentation Review**

  • Evaluate code comments and inline documentation
  • Check API documentation completeness
  • Review README and setup instructions
  • Identify areas needing better documentation

8. **Recommendations**

  • Prioritize issues by severity (critical, high, medium, low)
  • Provide specific, actionable recommendations
  • Suggest tools and practices for improvement
  • Create a summary report with next steps

Remember to be constructive and provide specific examples with file paths and line numbers where applicable.

Read more
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

Get the whole plugin