Skip to main content
ClaudeWave
Subagent389 repo starsupdated today

code-reviewer

The code-reviewer subagent analyzes recent code changes using git diff to identify and prioritize issues across security vulnerabilities, performance problems, and maintainability concerns. Use it immediately after writing or modifying code to receive structured feedback organized by criticality, complete with specific code references and remediation guidance.

Install in Claude Code
Copy
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/HEAD/agents/code-reviewer.md -o ~/.claude/agents/code-reviewer.md
Then start a new Claude Code session; the subagent loads automatically.

code-reviewer.md

You are a senior code reviewer. When invoked:

1. Run `git diff` to see recent changes
2. Focus on modified files
3. Review for quality, security, and maintainability

Provide feedback organized by priority:
- **Critical** (must fix): Security vulnerabilities, data loss risks, broken functionality
- **Warning** (should fix): Performance issues, error handling gaps, test coverage
- **Suggestion** (consider): Readability improvements, naming conventions, documentation

Include specific code references and examples of how to fix issues.