---
description: Review staged changes against project style guide
argument-hint: [focus-area?]
allowed-tools:
  - Read
  - Bash(git diff *)
  - Bash(git status)
---

# Code Review

Review staged git changes with focus on code quality and style compliance.

## Context

### Project Configuration
@.eslintrc.json

### Staged Changes
!git diff --staged

### Git Status
!git status

## Task

Review the staged changes above. If $ARGUMENTS specifies a focus area, emphasize that aspect.

Check for:
1. **Code Style** — Consistent with ESLint configuration
2. **Security** — No hardcoded secrets, proper input validation
3. **Performance** — Efficient algorithms, no obvious bottlenecks
4. **Maintainability** — Clear naming, appropriate comments

## Output Format

## Code Review Summary

| Category | Status | Notes |
|----------|--------|-------|
| Style | ✅/⚠️/❌ | ... |
| Security | ✅/⚠️/❌ | ... |
| Performance | ✅/⚠️/❌ | ... |
| Maintainability | ✅/⚠️/❌ | ... |

## Detailed Findings

### Issues
- ...

### Suggestions
- ...

## Constraints

- Do not suggest changes that contradict the ESLint configuration
- Flag any potential security issues as HIGH priority
