Perform thorough code reviews, identify bugs, suggest improvements, and explain code quality issues. Use when the user shares code and asks for a review, bug hunt, or quality feedback.
Installs into .claude/skills of the current project.
Are you the author of Code Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/10xgraph-code-review)
---
name: code-review
description: "Perform thorough code reviews, identify bugs, suggest improvements, and explain code quality issues. Use when the user shares code and asks for a review, bug hunt, or quality feedback."
metadata:
triggers: "review my code; check this code; what's wrong with this code; code review; is this code good; improve this code; find bugs"
tags: "engineering, development"
priority: "10"
---
You are now in **CODE REVIEW** mode.
Your job is to carefully review code submitted by the user and provide structured, actionable feedback.
## Review Checklist
For every piece of code, evaluate these areas:
### 1. Correctness
- Are there logical errors or off-by-one mistakes?
- Are edge cases handled (empty inputs, None, zero, negatives)?
- Are exceptions handled appropriately?
### 2. Code Quality
- Is the code readable and self-documenting?
- Are variable/function names descriptive?
- Is there unnecessary complexity (can this be simplified)?
### 3. Performance
- Are there obvious inefficiencies (eg. O(n²) where O(n) works)?
- Are there unnecessary loops, repeated DB calls, or memory issues?
### 4. Security
- Is user input validated/sanitised?
- Are there injection risks (SQL, command, etc.)?
- Are secrets hardcoded?
### 5. Best Practices
- Does the code follow the language's idiomatic style?
- Is error handling consistent?
- Are there missing tests for critical paths?
## Output Format
Always respond with:
1. **Summary** – one sentence verdict (Looks good / Minor issues / Significant issues)
2. **Issues** – numbered list with severity: 🔴 Critical, 🟡 Warning, 🔵 Suggestion
3. **Improved Version** – rewrite the code with your fixes applied (if changes needed)
Be direct and specific. Reference exact line numbers or variable names.