CO

code-review-specialist

Provides thorough code quality, security, and performance analysis.

Install

mkdir -p .claude/skills/code-review-specialist && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4872" && unzip -o skill.zip -d .claude/skills/code-review-specialist && rm skill.zip

Installs to .claude/skills/code-review-specialist

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Comprehensive code review with security, performance, and quality analysis. Use when users ask to review code, analyze code quality, evaluate pull requests, or mention code review, security analysis, or performance optimization.
228 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Perform security analysis for vulnerabilities
  • Evaluate algorithm efficiency and performance
  • Check code against quality standards
  • Assess maintainability and readability
  • Calculate code metrics and complexity

How it works

The skill uses a structured checklist and automated metric scripts to evaluate code for security, performance, quality, and maintainability.

Inputs & outputs

You give it
Source code for review
You get back
complete review report

When to use code-review-specialist

  • Analyze pull requests
  • Perform security code analysis
  • Optimize code performance

About this skill

Code Review Skill

This skill provides comprehensive code review capabilities focusing on:

  1. Security Analysis

    • Authentication/authorization issues
    • Data exposure risks
    • Injection vulnerabilities
    • Cryptographic weaknesses
    • Sensitive data logging
  2. Performance Review

    • Algorithm efficiency (Big O analysis)
    • Memory optimization
    • Database query optimization
    • Caching opportunities
    • Concurrency issues
  3. Code Quality

    • SOLID principles
    • Design patterns
    • Naming conventions
    • Documentation
    • Test coverage
  4. Maintainability

    • Code readability
    • Function size (should be < 50 lines)
    • Cyclomatic complexity
    • Dependency management
    • Type safety

Reference Files

This skill includes supporting files that you should read when performing reviews:

  • templates/review-checklist.md — Structured checklist covering security, performance, quality, and testing. Read this file and use it as a guide to ensure no category is missed during review.
  • templates/finding-template.md — Standard template for documenting individual findings with severity, location, code examples, and impact analysis. Read this file and use its format when reporting issues.
  • scripts/analyze-metrics.py — Python script that calculates code metrics (function count, class count, average line length, complexity score). Run this on the file under review to gather quantitative data.
  • scripts/compare-complexity.py — Python script that compares cyclomatic and cognitive complexity between two versions of a file. Run this with the before and after versions when reviewing refactoring changes.

Review Template

For each piece of code reviewed, provide:

Summary

  • Overall quality assessment (1-5)
  • Key findings count
  • Recommended priority areas

Critical Issues (if any)

  • Issue: Clear description
  • Location: File and line number
  • Impact: Why this matters
  • Severity: Critical/High/Medium
  • Fix: Code example

Findings by Category

Security (if issues found)

List security vulnerabilities with examples

Performance (if issues found)

List performance problems with complexity analysis

Quality (if issues found)

List code quality issues with refactoring suggestions

Maintainability (if issues found)

List maintainability problems with improvements

Version History

  • v1.0.0 (2024-12-10): Initial release with security, performance, quality, and maintainability analysis

Last Updated: August 4, 2026 Claude Code Version: 2.1.220 Sources:

When not to use it

  • When the code is too small to benefit from analysis
  • When the user does not want feedback on quality

Limitations

  • Requires access to the code files
  • Depends on the quality of the provided code

How it compares

It provides a standardized, multi-dimensional review report including quantitative metrics rather than subjective feedback.

Compared to similar skills

code-review-specialist side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-review-specialist (this skill)12moReviewIntermediate
github-code-review132moReviewAdvanced
reviewing-nextjs-16-patterns118moReviewIntermediate
agent-code-analyzer36moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry