Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Perform thorough code reviews with actionable, prioritized feedback. Use when a user asks to review code, check code quality, find bugs, review a pull request, audit code for issues, or get feedback on implementation. Covers correctness, security, performance, readability, and best practices across languages.
.claude/skills/terminalskills-code-reviewer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-19 | ✗→✓ | ▲ Improved | 62% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-12 | ✓→✗ | ▼ Worse | 60% | 0% |
| case-13 | ✓→✗ | ▼ Worse | 55% | 0% |
| case-15 | ✓→✗ | ▼ Worse | 173% | 0% |
Perform structured code reviews that identify bugs, security issues, performance problems, and maintainability concerns. Provides prioritized, actionable feedback with specific fix suggestions.
When a user asks you to review code, a file, a diff, or a pull request, follow this process:
Before reviewing, determine:
Read surrounding files if needed to understand the broader codebase context.
Evaluate the code against each category in order of severity:
Correctness (Critical)
Security (Critical)
Performance (High)
Reliability (High)
Readability (Medium)
Testing (Medium)
Organize findings by severity. For each issue:
### [SEVERITY] Category: Brief title
**File:** `path/to/file.ext` line XX-YY
**Issue:** What is wrong and why it matters.
**Suggestion:**
\`\`\`language
// Suggested fix
\`\`\`Severity levels: CRITICAL, HIGH, MEDIUM, LOW
End with:
User request: "Review this Express route handler"
Code submitted:
javascriptapp.post('/users', async (req, res) => { const { name, email, role } = req.body; const user = await db.query( `INSERT INTO users (name, email, role) VALUES ('${name}', '${email}', '${role}')` ); res.json(user); });
Review output:
### CRITICAL Security: SQL Injection vulnerability
**File:** routes/users.js line 2-5
**Issue:** User input is interpolated directly into the SQL query string.
An attacker can inject arbitrary SQL via the name, email, or role fields.
**Suggestion:**
const user = await db.query(
'INSERT INTO users (name, email, role) VALUES ($1, $2, $3)',
[name, email, role]
);
### CRITICAL Security: No input validation
**File:** routes/users.js line 2
**Issue:** Request body fields are used without validation. Missing or
malformed data will cause database errors or store invalid records.
**Suggestion:**
if (!name || !email || !email.includes('@')) {
return res.status(400).json({ error: 'Name and valid email required' });
}
const allowedRoles = ['user', 'admin', 'editor'];
if (!allowedRoles.includes(role)) {
return res.status(400).json({ error: 'Invalid role' });
}
### HIGH Reliability: No error handling
**File:** routes/users.js line 3-5
**Issue:** If the database query fails, the error propagates as an
unhandled promise rejection, crashing the process or returning a 500
with a stack trace.
**Suggestion:**
try {
const user = await db.query(...);
res.status(201).json(user);
} catch (err) {
console.error('Failed to create user:', err);
res.status(500).json({ error: 'Failed to create user' });
}
Summary: REQUEST CHANGES
- Critical: 2, High: 1, Medium: 0
- Fix SQL injection and add input validation before mergingUser request: "Review this component for any issues"
Code submitted:
jsxfunction UserList({ users }) { const [search, setSearch] = useState(''); const filtered = users.filter(u => u.name.toLowerCase().includes(search.toLowerCase()) ); return ( <div> <input onChange={e => setSearch(e.target.value)} /> {filtered.map(user => ( <div>{user.name} - {user.email}</div> ))} </div> ); }
Review output:
### MEDIUM Performance: Filtering runs on every render
**Issue:** The filter operation recalculates on every render, even when
unrelated state changes. For large lists this causes jank.
**Suggestion:**
const filtered = useMemo(() =>
users.filter(u =>
u.name.toLowerCase().includes(search.toLowerCase())
), [users, search]);
### MEDIUM Readability: Missing key prop on list items
**Issue:** React requires a unique key prop on list items for efficient
reconciliation. Missing keys cause incorrect re-renders and warnings.
**Suggestion:**
{filtered.map(user => (
<div key={user.id}>{user.name} - {user.email}</div>
))}
### LOW Readability: Missing input label and placeholder
**Issue:** The search input has no label or placeholder, making it
unclear what the input is for and inaccessible to screen readers.
**Suggestion:**
<label htmlFor="user-search">Search users</label>
<input
id="user-search"
placeholder="Search by name..."
onChange={e => setSearch(e.target.value)}
/>
Summary: APPROVE with suggestions
- Critical: 0, High: 0, Medium: 2, Low: 1
- Add key prop and useMemo before merging| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→pass | 10,260 | 9,356 | -9% | 1 | 1 | 0% | 2,100 | 3,626 | +73% | 0 | 0 | — |
case-02 | pass→pass | 21,186 | 18,972 | -10% | 1 | 1 | 0% | 4,810 | 5,791 | +20% | 0 | 0 | — |
case-03 | pass→pass | 22,832 | 18,101 | -21% | 1 | 1 | 0% | 3,969 | 4,962 | +25% | 0 | 0 | — |
case-04 | pass→pass | 7,995 | 7,331 | -8% | 1 | 1 | 0% | 1,221 | 3,182 | +161% | 0 | 0 | — |
case-05 | pass→pass | 10,556 | 11,824 | +12% | 1 | 1 | 0% | 1,892 | 3,154 | +67% | 0 | 0 | — |
case-06 | pass→pass | 11,495 | 9,633 | -16% | 1 | 1 | 0% | 2,057 | 3,363 | +63% | 0 | 0 | — |
case-07 | pass→pass | 12,108 | 10,636 | -12% | 1 | 1 | 0% | 2,216 | 3,624 | +64% | 0 | 0 | — |
case-08 | fail→fail | 16,366 | 5,645 | -66% | 1 | 1 | 0% | 3,081 | 2,623 | -15% | 0 | 0 | — |
case-09 | fail→fail | 4,849 | 2,850 | -41% | 1 | 1 | 0% | 778 | 2,159 | +178% | 0 | 0 | — |
case-10 | pass→pass | 16,713 | 6,955 | -58% | 1 | 1 | 0% | 1,887 | 3,112 | +65% | 0 | 0 | — |
case-11 | pass→pass | 10,807 | 10,718 | -1% | 1 | 1 | 0% | 1,930 | 3,692 | +91% | 0 | 0 | — |
case-12 | pass→fail | 13,794 | 11,129 | -19% | 1 | 1 | 0% | 2,245 | 3,590 | +60% | 0 | 0 | — |
case-13 | pass→fail | 10,756 | 6,179 | -43% | 1 | 1 | 0% | 1,778 | 2,761 | +55% | 0 | 0 | — |
case-14 | pass→pass | 13,107 | 10,832 | -17% | 1 | 1 | 0% | 2,522 | 3,893 | +54% | 0 | 0 | — |
case-15 | pass→fail | 20,533 | 23,529 | +15% | 1 | 1 | 0% | 1,425 | 3,894 | +173% | 0 | 0 | — |
case-16 | pass→pass | 10,596 | 6,563 | -38% | 1 | 1 | 0% | 1,970 | 3,030 | +54% | 0 | 0 | — |
case-17 | pass→pass | 9,661 | 13,034 | +35% | 1 | 1 | 0% | 2,021 | 4,094 | +103% | 0 | 0 | — |
case-18 | fail→fail | 6,526 | 2,263 | -65% | 1 | 1 | 0% | 1,005 | 2,068 | +106% | 0 | 0 | — |
case-19 | fail→pass | 14,063 | 17,775 | +26% | 1 | 1 | 0% | 2,930 | 4,749 | +62% | 0 | 0 | — |
case-20 | fail→pass | 14,555 | 11,674 | -20% | 1 | 1 | 0% | 2,764 | 3,875 | +40% | 0 | 0 | — |
case-21 | pass→pass | 13,517 | 11,440 | -15% | 1 | 1 | 0% | 2,273 | 3,787 | +67% | 0 | 0 | — |
case-22 | pass→pass | 7,218 | 7,373 | +2% | 1 | 1 | 0% | 1,498 | 3,030 | +102% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of -20 percentage points is the difference between those two pass rates over the 22 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.