Agent Skills: Code Review

Performs structured code reviews focusing on bugs, security, performance, and best practices. Use when reviewing code, pull requests, diffs, or when the user asks for feedback on implementations.

UncategorizedID: Cambridge-AI-Build-Club/MCP-Workshop/code-review

Install this agent skill to your local

pnpm dlx add-skill https://github.com/Cambridge-AI-Build-Club/MCP-Workshop/tree/HEAD/3-skills/code-review

Skill Files

Browse the full folder contents for code-review.

Download Skill

Loading file tree…

3-skills/code-review/SKILL.md

Skill Metadata

Name
code-review
Description
Performs structured code reviews focusing on bugs, security, performance, and best practices. Use when reviewing code, pull requests, diffs, or when the user asks for feedback on implementations.

Code Review

Quick Start

When reviewing code, follow this structured approach:

Review Checklist:
- [ ] Correctness: Does it work as intended?
- [ ] Security: Any vulnerabilities or data exposure?
- [ ] Performance: Obvious inefficiencies?
- [ ] Readability: Clear naming, structure, comments?
- [ ] Edge cases: Null, empty, boundary conditions?

Review Process

Step 1: Understand Context

  • What problem does this code solve?
  • What are the requirements/constraints?

Step 2: Scan for Critical Issues

  • Security vulnerabilities (injection, auth, data exposure)
  • Logic errors and bugs
  • Resource leaks or performance bombs

Step 3: Evaluate Quality

  • Code organization and structure
  • Naming conventions
  • Error handling patterns
  • Test coverage (if applicable)

Step 4: Provide Feedback

  • Lead with positives
  • Categorize issues: Critical / Important / Suggestion
  • Include specific line references
  • Offer concrete alternatives

Output Format

Structure feedback as:

## Summary
[1-2 sentence overview]

## Critical Issues
[Must fix before merge]

## Recommendations  
[Should address]

## Suggestions
[Nice to have improvements]

## What's Working Well
[Positive observations]

Language-Specific Guidance

For detailed patterns by language, see:

Review Scope Guidelines

| Review Type | Focus Areas | Depth | |-------------|-------------|-------| | Quick review | Bugs, security | Surface | | Standard review | + Performance, readability | Thorough | | Deep review | + Architecture, patterns | Comprehensive |

Default to standard review unless specified otherwise.

Code Review Skill | Agent Skills