Home / Skills / PrefectHQ/fastmcp

code-review

Review code for quality, maintainability, and correctness

skillLicense: Apache-2.0 Source: PrefectHQ/fastmcp

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit PrefectHQ/fastmcp/examples/skills/sample_skills/code-review .claude/skills/code-review

Or install it for every project:

npx degit PrefectHQ/fastmcp/examples/skills/sample_skills/code-review ~/.claude/skills/code-review

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
name: code-review
description: Review code for quality, maintainability, and correctness
version: "1.0.0"
tags: [code, review, quality]
---

# Code Review Skill

This skill guides you through conducting thorough code reviews.

## Review Checklist

When reviewing code, consider:

### Correctness
- Does the code do what it's supposed to do?
- Are edge cases handled?
- Are there any obvious bugs?

### Maintainability
- Is the code easy to understand?
- Are variable and function names descriptive?
- Is there appropriate documentation?

### Performance
- Are there any obvious performance issues?
- Are expensive operations cached when appropriate?
- Are database queries efficient?

### Security
- Is user input validated?
- Are there any injection vulnerabilities?
- Are secrets properly managed?

## Giving Feedback

- Be specific and actionable
- Explain *why* something should change
- Suggest alternatives, don't just criticize
- Acknowledge good work too