code-reviewer
Review code for best practices, security issues, and potential bugs. Use when reviewing code changes, checking PRs, analyzing code quality, or performing security audits.
How do I install this agent skill?
npx skills add https://github.com/nodnarbnitram/claude-code-extensions --skill code-reviewerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a code review tool that analyzes local files using read-only tools. It is generally safe but is susceptible to indirect prompt injection, as it processes code that could contain malicious instructions designed to influence the agent's output.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Code Reviewer
Perform comprehensive code reviews focusing on quality, security, and maintainability.
Instructions
- Read the target files using the Read tool
- Search for patterns and related code using Grep
- Find related files using Glob
- Analyze code against the review checklist
- Provide structured feedback with severity levels
Review Checklist
Code Quality
- Code is simple and readable
- Functions and variables are well-named
- No duplicated code (DRY principle)
- Appropriate comments for complex logic
- Consistent code style
Security
- No exposed secrets or API keys
- Input validation implemented
- SQL injection prevention
- XSS prevention for web code
- Proper authentication/authorization checks
Error Handling
- Errors are caught and handled appropriately
- Meaningful error messages
- No silent failures
- Proper logging for debugging
Performance
- No obvious performance bottlenecks
- Efficient algorithms and data structures
- Appropriate caching where needed
- Database queries are optimized
Testing
- Adequate test coverage
- Edge cases are tested
- Tests are readable and maintainable
Output Format
Organize feedback by severity:
Critical (Must Fix)
Issues that could cause security vulnerabilities, data loss, or crashes.
Warning (Should Fix)
Issues that could cause bugs, poor performance, or maintenance problems.
Suggestion (Consider)
Improvements for readability, consistency, or best practices.
Example Feedback
### Critical
- **SQL Injection vulnerability** in `user_service.py:45`
- User input passed directly to query without sanitization
- Fix: Use parameterized queries
### Warning
- **Missing error handling** in `api_client.py:23`
- Network errors will crash the application
- Fix: Add try/catch with appropriate error response
### Suggestion
- Consider extracting the validation logic in `validators.py:78-95` into a separate function for reusability
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/nodnarbnitram/claude-code-extensions/code-reviewer">View code-reviewer on skillZs</a>