utilities/code-review
Reviews code quality, security, performance and architecture.
- Kind
- Prompt
- Works with
- Claude Code
- Source
- Claude Code Templates @ 72e5f237f64d
- Path
- cli-tool/components/commands/utilities/code-review.md
- License
- MIT
- Jobs
- Review
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Code Quality Review Perform comprehensive code quality review: $ARGUMENTS ## Current State - Git status: !`git status --porcelain` - Recent changes: !`git diff --stat HEAD~5` - Repository info: !`git log --oneline -5` - Build status: !`npm run build --dry-run 2>/dev/null || echo "No build script"` ## Task 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 …