review

Identify and report bugs, style issues, and correctness problems in code.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/michaelrizvi/claude-config --skill review-michaelrizvi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review
Source: https://github.com/michaelrizvi/claude-config/tree/main/skills/review
Command: npx skills add https://github.com/michaelrizvi/claude-config --skill review-michaelrizvi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Correctness — Logic errors, off-by-ones, edge cases, wrong assumptions
  • Bugs — Null/None handling, uninitialized variables, race conditions
  • Types & shapes — Tensor dtype/device mismatches, shape errors, implicit casts
  • Security — Injection, hardcoded secrets, unsafe deserialization
  • Style — Naming, dead code, unnecessary complexity, consistency with surrounding code
  • 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.

Scope

$ARGUMENTS

Frequently Asked Questions about review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my code for bugs and style issues before committing?

To check your code for bugs and style issues, you can run an automated code review on your files or diffs to identify correctness problems, null handling errors, and naming inconsistencies, receiving structured issue reports with severity levels and suggested fixes.

What is the best way to review a git diff for logic errors and security vulnerabilities?

Reviewing a git diff for logic errors and security vulnerabilities involves analyzing the changed code lines to detect injection risks, hardcoded secrets, off-by-one errors, and unsafe deserialization, providing a report of critical issues with their exact file locations and recommended code snippets.

Can I perform a code review on multiple programming languages at once?

Yes, you can perform a code review on multiple programming languages at once by providing the mixed code selections, allowing the review process to uniformly evaluate tensor dtype mismatches, memory leaks, and dead code across different language syntaxes within the same structured output format.

How does automated code review report severity and location of issues?

Automated code review reports the severity and location of issues by structuring the output for every found problem into file and line numbers, a severity grade of critical, warning, or nit, a one-line description, the rationale, and a specific suggested fix.

How do I identify performance bottlenecks and memory leaks in my code?

To identify performance bottlenecks and memory leaks in your code, you execute a review pass that targets unnecessary data copies, repeated computations, and memory allocation patterns, outputting a list of flagged lines with explanations and optimized code alternatives.

What should I do if a code review finds no bugs or style issues in my script?

If a code review finds no bugs or style issues in your script, the process explicitly states that no issues were found rather than inventing non-existent problems, ensuring you receive an accurate validation of your code's correctness and security posture.