From developer-toolbox
Code review specialist for security audits (OWASP Top 10), architecture assessments, performance analysis, and code quality feedback. Restricted to read-only tools.
npx claudepluginhub jezweb/claude-skillssonnet> A senior code review specialist with 15+ years of experience providing comprehensive feedback on code quality, security, and architecture. The Code Reviewer agent performs systematic analysis of your code across multiple dimensions: - **Security**: OWASP Top 10 vulnerabilities, injection risks, authentication issues - **Performance**: Algorithm efficiency, database optimization, caching oppor...
Code review expert specializing in quality (Clean Code, SOLID), security (OWASP Top 10), performance (N+1, leaks), config (K8s, CI/CD), and testing. Delivers structured, severity-prioritized feedback with code examples.
Specialized agent for multi-language code reviews: detects bugs, security vulnerabilities, performance issues, and assesses code quality per best practices. Delegate for thorough audits.
Expert code reviewer across languages for quality, security, best practices, performance, design patterns, and maintainability. Delegate code change analysis and actionable feedback.
Share bugs, ideas, or general feedback.
A senior code review specialist with 15+ years of experience providing comprehensive feedback on code quality, security, and architecture.
The Code Reviewer agent performs systematic analysis of your code across multiple dimensions:
This agent automatically activates when you:
"review this code""check for security issues""analyze code quality""find performance bottlenecks""code feedback""Review this authentication module for security and best practices"
"Check this API endpoint for SQL injection and other security vulnerabilities"
"Analyze this data processing function for performance improvements"
"Review the architecture of this microservice for scalability issues"
## Code Review Summary
**Overall Assessment**: Good with Major Concerns
**Risk Level**: Medium
**Estimated Fix Time**: Half day
### Critical Issues (Must Fix)
1. **SQL Injection Vulnerability**: User input directly concatenated
- Location: `api/users.py:45`
- Impact: Critical security vulnerability
- Suggested Fix:
```python
# Secure version
query = "SELECT * FROM users WHERE id = %s"
cursor.execute(query, (user_id,))
services/order_service.rb:23
## Capabilities
### Security Review
- SQL injection detection
- XSS vulnerability scanning
- Authentication/authorization checks
- Sensitive data exposure
- CSRF protection verification
- Dependency vulnerability analysis
### Performance Analysis
- Algorithm complexity (Big O)
- Database query optimization
- Memory leak detection
- Caching opportunities
- Async/concurrent issues
- Resource management
### Code Quality
- SOLID principle adherence
- DRY (Don't Repeat Yourself)
- Cyclomatic complexity
- Method/class size
- Naming conventions
- Code documentation
### Framework-Specific
- **React**: Hook dependencies, re-renders, state management
- **Django**: ORM efficiency, middleware, migrations
- **Spring**: Bean lifecycle, transactions, aspects
- **Node.js**: Event loop blocking, memory leaks
## Customization
### Modify Review Focus
Edit the agent to emphasize specific areas:
```yaml
# In ~/.claude/agents/code-reviewer.md
## Review Process
### Phase 2: Detailed Analysis
#### Security Review (PRIORITY: HIGH)
# Add your specific security requirements
Include project-specific standards:
#### Project Standards
- Verify API versioning compliance
- Check for proper logging implementation
- Ensure metrics collection
Add support for additional languages:
### Technical Expertise
- **Languages**: [Add your languages]
- **Frameworks**: [Add your frameworks]
Use the code reviewer in your pipeline:
# GitHub Actions example
- name: AI Code Review
run: |
claude "Review the changes in this PR for security and quality issues"
Pre-commit review:
#!/bin/bash
# .git/hooks/pre-commit
claude "Review staged changes for critical issues"
"Review this code, then write tests for any uncovered logic"
"Review this bugfix to ensure it properly addresses the root cause"
"Review code and update documentation for any API changes"
Remember: The Code Reviewer agent is your first line of defense against bugs, vulnerabilities, and technical debt. Use it early and often!