Code reviewer

From kumaran-is/claude-code-onboarding · View interactive version

Code reviewer is an AI agent skill from the GitHub repository kumaran-is/claude-code-onboarding. General-purpose code review skill. Provides checklists for security, code quality, performance, and best practices. Use when reviewing code changes, PRs, or performing quality audits.

How to use this skill

Skill file

Iron Law: Never approve code without reading the actual implementation; always provide severity-bucketed findings with file:line evidence.

Code Reviewer

General-purpose code review skill covering security, quality, performance, and best practices.

When to Use

Process

  1. Identify changed files via git diff or user request
  2. Read reference/code-review-checklist.md for review categories, severity levels, and output format
  3. Review each file against the checklist
  4. Report findings by severity (Critical > High > Medium > Low)

Reference Files

| File | Contents | Load When |

|------|----------|-----------|

| reference/code-review-checklist.md | Security checks, code quality, performance, best practices, output format | Reviewing any code change, pre-PR checklist, security audit |

Error Handling

If no changes are found, report "No changes detected" and list the files/paths searched.

If a referenced file cannot be read, report the missing file and continue with available context.

Anti-Patterns

Verify

After completing a review:

# Confirm all files you reviewed are the ones that actually changed
git diff --name-only HEAD~1

# Confirm no new linting errors introduced
npm run lint 2>&1 | grep -E "error|warning" | head -20

# Confirm tests still pass after changes
npm test -- --passWithNoTests 2>&1 | tail -5

Report format after verification:

REVIEW COMPLETE:
- Files reviewed: N (list them)
- Findings: X Critical, Y High, Z Medium, W Low
- Verdict: APPROVED / NEEDS_REVIEW / REJECT
- Evidence: [file:line for each finding]
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.