Super Reviewer - AI Senior Code Review Engine
The most comprehensive AI code review skill. One skill replaces 10+ specialized review tools.
Why This Skill?
Most code review skills only check one dimension (style or security). Super Reviewer performs a 7-dimensional holistic review that mimics how a senior staff engineer reviews code in production:
- Correctness - Logic bugs, null/undefined handling, edge cases, race conditions
- Security - OWASP Top 10, injection attacks, auth bypasses, data exposure
- Performance - N+1 queries, unnecessary re-renders, memory leaks, algorithm complexity
- Code Style - Naming conventions, consistency, readability, DRY principle
- Architecture - SOLID principles, coupling/cohesion, design patterns
- Testing - Test coverage gaps, missing edge case tests, test quality
- Accessibility - WCAG 2.1 AA compliance, keyboard navigation, screen reader support
Quick Start
No setup needed. Simply say any of:
- "Review this code/PR"
- "Check this file for issues"
- "Do a security audit on..."
- "Review this code for performance"
The skill auto-detects language and framework.
Review Process
Phase 1: Context Analysis
- Read all changed files in the PR/diff
- Detect programming languages and frameworks used
- Identify affected modules, APIs, and data flows
- Check for existing tests related to changes
Phase 2: Multi-Dimensional Scan
For each changed file, run ALL of the following checks:
2.1 Correctness Check
- Null/undefined dereferences and missing null checks
- Off-by-one errors in loops and array indexing
- Unhandled promise rejections and async/await errors
- Incorrect boolean comparisons (== vs ===, assignment in conditions)
- Missing return statements in conditional branches
- Floating point precision issues
- String encoding problems
- Date/time zone handling errors
- Integer overflow in mathematical operations
2.2 Security Check (OWASP-aligned)
- Injection: SQL injection, NoSQL injection, command injection, XSS, template injection
- Auth: Hardcoded credentials, missing auth checks, insecure token handling
- Data: Sensitive data in logs, PII exposure, insecure data storage
- Crypto: Weak hash algorithms, missing salt, predictable random values
- Network: Missing rate limiting, CORS misconfiguration, open redirects
- Dependencies: Known vulnerable packages, outdated dependencies
- File ops: Path traversal, insecure file uploads, directory listing
2.3 Performance Check
- Database: N+1 queries, missing indexes hints, unnecessary JOINs
- Frontend: Unnecessary re-renders, missing memoization, large bundle imports
- Memory: Memory leaks in closures, event listeners, large object retention
- Algorithm: O(n^2) where O(n) possible, unnecessary sorting, redundant iterations
- I/O: Missing pagination, no streaming for large files, synchronous blocking calls
- Caching: Missing cache for expensive operations, stale cache, cache stampede
2.4 Code Style Check
- Naming conventions per language ecosystem (camelCase, snake_case, PascalCase)
- File and folder organization consistency
- Import ordering and unused imports
- Function/method length (flag > 50 lines)
- Cyclomatic complexity (flag > 10)
- Magic numbers and strings (suggest constants/enums)
- TODO/FIXME/HACK comments tracking
2.5 Architecture Check
- SOLID principle violations
- God objects/classes (flag > 500 lines, > 20 methods)
- Circular dependencies
- Leaky abstractions
- Missing dependency injection
- Tight coupling between modules
- Violation of separation of concerns
2.6 Testing Check
- Changed code without corresponding test changes
- Missing edge case tests identified in correctness check
- Test assertions that are too broad (e.g.,
expect(true).toBe(true))
- Missing negative test cases
- Test coverage gaps in critical paths
2.7 Accessibility Check (for UI code only)
- Missing alt text on images
- Inadequate color contrast ratios
- Missing ARIA labels on interactive elements
- Keyboard navigation gaps
- Improper heading hierarchy
- Missing form labels and error messages
- Screen reader compatibility issues
Phase 3: Report Generation
Generate a structured review report using the following format:
## Code Review Report
### Summary
- Files reviewed: X
- Critical issues: X | Warnings: X | Suggestions: X
- Overall assessment: [APPROVE / REQUEST_CHANGES / COMMENT]
### Critical Issues (Must Fix)
#### [SEC-001] SQL Injection Vulnerability (Line 42)
**File**: `src/api/users.ts`
**Severity**: CRITICAL
**Description**: User input `req.body.name` is directly interpolated into SQL query without sanitization.
**Impact**: An attacker could read, modify, or delete any data in the database.
**Fix**:
```typescript
// Before (vulnerable)
const query = `SELECT * FROM users WHERE name = '${req.body.name}'`;
// After (safe)
const query = 'SELECT * FROM users WHERE name = ?';
db.query(query, [req.body.name]);
[PERF-001] N+1 Query Problem (Line 78-85)
File: src/services/order.ts
Severity: WARNING
Description: Inside a loop, individual queries fetch user data for each order.
Impact: With 1000 orders, this generates 1000+ database queries instead of 1.
Fix: Use JOIN or batch loading with IN clause.
Warnings (Should Fix)
...
Suggestions (Nice to Have)
...
Positive Highlights
- Good error handling in
src/utils/validation.ts
- Proper use of TypeScript generics in repository pattern
- Comprehensive test coverage for payment module (95%)
### Phase 4: Severity Classification
Use these strict severity levels:
| Level | Color | Meaning | Action Required |
|-------|-------|---------|----------------|
| **CRITICAL** | Red | Security vulnerability, data loss risk, crash bug | MUST fix before merge |
| **WARNING** | Yellow | Performance issue, potential bug, bad practice | SHOULD fix before merge |
| **INFO** | Blue | Style improvement, readability suggestion | Consider fixing |
### Phase 5: Quick Fix Suggestions
For each issue, always provide:
1. **The problematic code** (exact line reference)
2. **Why it's a problem** (clear explanation)
3. **The fixed code** (copy-paste ready)
4. **Prevention tip** (how to avoid in the future)
## Framework-Specific Rules
### React / Next.js
- Check for missing `key` props in lists
- Detect stale closure bugs in `useEffect`
- Flag missing dependency array entries
- Check for prop drilling (suggest Context or Zustand)
- Verify `useMemo`/`useCallback` usage for expensive operations
- Check Server Component vs Client Component boundaries
### Vue / Nuxt
- Check reactive data declaration (`ref` vs `reactive` vs `computed`)
- Detect `v-if` + `v-for` on same element (anti-pattern)
- Check for proper cleanup of watchers and event listeners
- Verify composables follow naming convention (`use*`)
- Check Pinia store mutations pattern
### Node.js / Express
- Check for proper error middleware usage
- Detect missing input validation
- Check for proper async error handling
- Verify rate limiting on sensitive endpoints
- Check for helmet, cors security headers
### Python / Django / FastAPI
- Check for SQL injection in ORM raw queries
- Detect missing migration files
- Check for proper serializer validation
- Verify middleware ordering
- Check for proper virtual environment usage
### Go
- Check for proper error handling (no bare `err` ignores)
- Detect goroutine leaks
- Check for context propagation
- Verify mutex usage patterns
- Check for proper defer/panic/recover usage
## Anti-Patterns Database
The skill maintains an internal database of 200+ known anti-patterns across languages, including:
- **JavaScript**: Callback hell, implicit type coercion, prototype pollution
- **TypeScript**: Any abuse, type assertion overuse, missing return types
- **Python**: Mutable default arguments, global state, bare except
- **Java**: God class, feature envy, data class without equals/hashCode
- **Go**: Global mutable state, goroutine leak, interface pollution
- **Rust**: Unnecessary unwrap, unsafe block abuse, cloning large types
## Output Control
By default, generate a full report. User can request:
- `"brief review"` - Only critical and warning issues
- `"security only"` - Only security dimension
- `"performance only"` - Only performance dimension
- `"explain like I'm junior"` - Simpler explanations with more context
## Integration Notes
This skill works with any AI coding agent that supports the SKILL.md standard:
- Claude Code, Codex CLI, Cursor, Windsurf, GitHub Copilot
- CodeBuddy, OpenClaw, and any compatible agent
- No external dependencies required - all rules are embedded in this skill
---
> Source: [gitstq/awesome-ai-agent-skills](https://github.com/gitstq/awesome-ai-agent-skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-10 -->
1---2name: gitstq-awesome-ai-agent-skills-super-reviewer3description: Super Reviewer - AI Senior Code Review Engine4---56# Super Reviewer - AI Senior Code Review Engine78> The most comprehensive AI code review skill. One skill replaces 10+ specialized review tools.910## Why This Skill?1112Most code review skills only check one dimension (style or security). **Super Reviewer** performs a **7-dimensional holistic review** that mimics how a senior staff engineer reviews code in production:13141. **Correctness** - Logic bugs, null/undefined handling, edge cases, race conditions152. **Security** - OWASP Top 10, injection attacks, auth bypasses, data exposure163. **Performance** - N+1 queries, unnecessary re-renders, memory leaks, algorithm complexity174. **Code Style** - Naming conventions, consistency, readability, DRY principle185. **Architecture** - SOLID principles, coupling/cohesion, design patterns196. **Testing** - Test coverage gaps, missing edge case tests, test quality207. **Accessibility** - WCAG 2.1 AA compliance, keyboard navigation, screen reader support2122## Quick Start2324No setup needed. Simply say any of:25- "Review this code/PR"26- "Check this file for issues"27- "Do a security audit on..."28- "Review this code for performance"2930The skill auto-detects language and framework.3132## Review Process3334### Phase 1: Context Analysis351. Read all changed files in the PR/diff362. Detect programming languages and frameworks used373. Identify affected modules, APIs, and data flows384. Check for existing tests related to changes3940### Phase 2: Multi-Dimensional Scan41For each changed file, run ALL of the following checks:4243#### 2.1 Correctness Check44- Null/undefined dereferences and missing null checks45- Off-by-one errors in loops and array indexing46- Unhandled promise rejections and async/await errors47- Incorrect boolean comparisons (== vs ===, assignment in conditions)48- Missing return statements in conditional branches49- Floating point precision issues50- String encoding problems51- Date/time zone handling errors52- Integer overflow in mathematical operations5354#### 2.2 Security Check (OWASP-aligned)55- **Injection**: SQL injection, NoSQL injection, command injection, XSS, template injection56- **Auth**: Hardcoded credentials, missing auth checks, insecure token handling57- **Data**: Sensitive data in logs, PII exposure, insecure data storage58- **Crypto**: Weak hash algorithms, missing salt, predictable random values59- **Network**: Missing rate limiting, CORS misconfiguration, open redirects60- **Dependencies**: Known vulnerable packages, outdated dependencies61- **File ops**: Path traversal, insecure file uploads, directory listing6263#### 2.3 Performance Check64- **Database**: N+1 queries, missing indexes hints, unnecessary JOINs65- **Frontend**: Unnecessary re-renders, missing memoization, large bundle imports66- **Memory**: Memory leaks in closures, event listeners, large object retention67- **Algorithm**: O(n^2) where O(n) possible, unnecessary sorting, redundant iterations68- **I/O**: Missing pagination, no streaming for large files, synchronous blocking calls69- **Caching**: Missing cache for expensive operations, stale cache, cache stampede7071#### 2.4 Code Style Check72- Naming conventions per language ecosystem (camelCase, snake_case, PascalCase)73- File and folder organization consistency74- Import ordering and unused imports75- Function/method length (flag > 50 lines)76- Cyclomatic complexity (flag > 10)77- Magic numbers and strings (suggest constants/enums)78- TODO/FIXME/HACK comments tracking7980#### 2.5 Architecture Check81- SOLID principle violations82- God objects/classes (flag > 500 lines, > 20 methods)83- Circular dependencies84- Leaky abstractions85- Missing dependency injection86- Tight coupling between modules87- Violation of separation of concerns8889#### 2.6 Testing Check90- Changed code without corresponding test changes91- Missing edge case tests identified in correctness check92- Test assertions that are too broad (e.g., `expect(true).toBe(true)`)93- Missing negative test cases94- Test coverage gaps in critical paths9596#### 2.7 Accessibility Check (for UI code only)97- Missing alt text on images98- Inadequate color contrast ratios99- Missing ARIA labels on interactive elements100- Keyboard navigation gaps101- Improper heading hierarchy102- Missing form labels and error messages103- Screen reader compatibility issues104105### Phase 3: Report Generation106107Generate a structured review report using the following format:108109```110## Code Review Report111112### Summary113- Files reviewed: X114- Critical issues: X | Warnings: X | Suggestions: X115- Overall assessment: [APPROVE / REQUEST_CHANGES / COMMENT]116117### Critical Issues (Must Fix)118119#### [SEC-001] SQL Injection Vulnerability (Line 42)120**File**: `src/api/users.ts`121**Severity**: CRITICAL122**Description**: User input `req.body.name` is directly interpolated into SQL query without sanitization.123**Impact**: An attacker could read, modify, or delete any data in the database.124**Fix**:125```typescript126// Before (vulnerable)127const query = `SELECT * FROM users WHERE name = '${req.body.name}'`;128// After (safe)129const query = 'SELECT * FROM users WHERE name = ?';130db.query(query, [req.body.name]);131```132133#### [PERF-001] N+1 Query Problem (Line 78-85)134**File**: `src/services/order.ts`135**Severity**: WARNING136**Description**: Inside a loop, individual queries fetch user data for each order.137**Impact**: With 1000 orders, this generates 1000+ database queries instead of 1.138**Fix**: Use JOIN or batch loading with `IN` clause.139140### Warnings (Should Fix)141...142143### Suggestions (Nice to Have)144...145146### Positive Highlights147- Good error handling in `src/utils/validation.ts`148- Proper use of TypeScript generics in repository pattern149- Comprehensive test coverage for payment module (95%)150```151152### Phase 4: Severity Classification153154Use these strict severity levels:155156| Level | Color | Meaning | Action Required |157|-------|-------|---------|----------------|158| **CRITICAL** | Red | Security vulnerability, data loss risk, crash bug | MUST fix before merge |159| **WARNING** | Yellow | Performance issue, potential bug, bad practice | SHOULD fix before merge |160| **INFO** | Blue | Style improvement, readability suggestion | Consider fixing |161162### Phase 5: Quick Fix Suggestions163164For each issue, always provide:1651. **The problematic code** (exact line reference)1662. **Why it's a problem** (clear explanation)1673. **The fixed code** (copy-paste ready)1684. **Prevention tip** (how to avoid in the future)169170## Framework-Specific Rules171172### React / Next.js173- Check for missing `key` props in lists174- Detect stale closure bugs in `useEffect`175- Flag missing dependency array entries176- Check for prop drilling (suggest Context or Zustand)177- Verify `useMemo`/`useCallback` usage for expensive operations178- Check Server Component vs Client Component boundaries179180### Vue / Nuxt181- Check reactive data declaration (`ref` vs `reactive` vs `computed`)182- Detect `v-if` + `v-for` on same element (anti-pattern)183- Check for proper cleanup of watchers and event listeners184- Verify composables follow naming convention (`use*`)185- Check Pinia store mutations pattern186187### Node.js / Express188- Check for proper error middleware usage189- Detect missing input validation190- Check for proper async error handling191- Verify rate limiting on sensitive endpoints192- Check for helmet, cors security headers193194### Python / Django / FastAPI195- Check for SQL injection in ORM raw queries196- Detect missing migration files197- Check for proper serializer validation198- Verify middleware ordering199- Check for proper virtual environment usage200201### Go202- Check for proper error handling (no bare `err` ignores)203- Detect goroutine leaks204- Check for context propagation205- Verify mutex usage patterns206- Check for proper defer/panic/recover usage207208## Anti-Patterns Database209210The skill maintains an internal database of 200+ known anti-patterns across languages, including:211212- **JavaScript**: Callback hell, implicit type coercion, prototype pollution213- **TypeScript**: Any abuse, type assertion overuse, missing return types214- **Python**: Mutable default arguments, global state, bare except215- **Java**: God class, feature envy, data class without equals/hashCode216- **Go**: Global mutable state, goroutine leak, interface pollution217- **Rust**: Unnecessary unwrap, unsafe block abuse, cloning large types218219## Output Control220221By default, generate a full report. User can request:222- `"brief review"` - Only critical and warning issues223- `"security only"` - Only security dimension224- `"performance only"` - Only performance dimension225- `"explain like I'm junior"` - Simpler explanations with more context226227## Integration Notes228229This skill works with any AI coding agent that supports the SKILL.md standard:230- Claude Code, Codex CLI, Cursor, Windsurf, GitHub Copilot231- CodeBuddy, OpenClaw, and any compatible agent232- No external dependencies required - all rules are embedded in this skill233234---235> Source: [gitstq/awesome-ai-agent-skills](https://github.com/gitstq/awesome-ai-agent-skills) — distributed by [TomeVault](https://tomevault.io).236<!-- tomevault:4.0:skill_md:2026-06-10 -->