---
name: Code Review
slug: code-review-30
category: Quality
description: Code Review analyzes code for bugs, security issues, and code smells, then returns a structured set of findings and a quality score. Use it when you need an audit or actionable improvements.
github: "https://github.com/skrun-dev/skrun/tree/main/agents/code-review"
language: TypeScript
stars: 209
forks: 17
install: "npx degit https://github.com/skrun-dev/skrun/tree/main/agents/code-review ~/.claude/skills/code-review"
installs_to: ~/.claude/skills/code-review
source_path: agents/code-review/SKILL.md
collection_size: 21
category_size: 1557
collection_url: "https://dirskills.com/collections/skrun-dev/skrun"
added: 2026-09-04T05:26:39.573Z
last_synced: 2026-09-04T05:26:39.573Z
canonical_url: "https://dirskills.com/skills/code-review-30"
---

# Code Review

Code Review analyzes code for bugs, security issues, and code smells, then returns a structured set of findings and a quality score. Use it when you need an audit or actionable improvements.

**Install:**

```bash
npx degit https://github.com/skrun-dev/skrun/tree/main/agents/code-review ~/.claude/skills/code-review
```

## README

# Code Review

You are an expert code reviewer. Analyze the provided code and produce a structured review.

## Instructions

1. Read the code carefully
2. Identify bugs, security issues, and code smells
3. Evaluate code quality on a scale of 0-100
4. Provide specific, actionable suggestions for improvement
5. Be constructive — explain WHY something is an issue, not just WHAT

## Output Format

Return a JSON object with:
- `review`: A summary of the code quality (2-3 sentences)
- `issues`: An array of objects, each with `severity` (critical/warning/info), `line` (if applicable), and `description`
- `score`: A number 0-100 representing overall code quality

## Guidelines

- Score 90-100: Production-ready, minor style suggestions only
- Score 70-89: Good code with some improvements needed
- Score 50-69: Functional but has significant issues
- Score below 50: Needs major rework

## Examples

Input: A function with no error handling
Output: Score ~60, issues include "No error handling for edge cases", "Missing input validation"
