review

star 11

Review code for bugs, style issues, and correctness. Use when the user asks for a code review, review, or CR.

michaelrizvi By michaelrizvi schedule Updated 3/4/2026

name: review description: Review code for bugs, style issues, and correctness. Use when the user asks for a code review, review, or CR.

Code Review

Review the provided code (file, diff, or selection) systematically.

Review Checklist

  1. Correctness — Logic errors, off-by-ones, edge cases, wrong assumptions
  2. Bugs — Null/None handling, uninitialized variables, race conditions
  3. Types & shapes — Tensor dtype/device mismatches, shape errors, implicit casts
  4. Security — Injection, hardcoded secrets, unsafe deserialization
  5. Style — Naming, dead code, unnecessary complexity, consistency with surrounding code
  6. Performance — Unnecessary copies, repeated computation, memory leaks

Output Format

For each issue found:

  • File and line: where the issue is
  • Severity: critical / warning / nit
  • What: one-line description
  • Why: brief explanation
  • Fix: suggested change (code snippet if helpful)

If no issues are found, say so — don't invent problems.

Make no mistakes.

Scope

$ARGUMENTS

Install via CLI
npx skills add https://github.com/michaelrizvi/claude-config --skill review
Repository Details
star Stars 11
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator
michaelrizvi
michaelrizvi Explore all skills →