Skip to content
Skillpedia
General coding46k · #6322

code-review-specialist

What it does

It guides your agent to review code for security risks, slow patterns, and quality problems, and to report each finding clearly. It is for developers who want a thorough second look at their code or a pull request.

When to use it

  • ✓When you want code or a pull request reviewed for security issues.
  • ✓When you want to find slow code or performance problems before a release.
  • ✓When you want a check on code quality, such as naming, structure, and test coverage.

Skill link

https://github.com/luongnv89/claude-howto/blob/main/03-skills/code-review-specialist/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/luongnv89/claude-howto/blob/main/03-skills/code-review-specialist/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you review this login module for security issues and tell me how to fix the worst ones?”

5 new skills a week. 1 minute to read.

How it works

The agent reads a review checklist and a findings template, then examines the code by category. It writes up each finding with its severity, location, and impact, and can run a metrics script on the code.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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:

FAQ

What areas does it check?

Security, performance, code quality, and maintainability, including test coverage.

How are findings reported?

Each finding follows a standard template with severity, location, code examples, and impact.

Does it need a special tool?

It uses a Python metrics script bundled with the skill, so Python needs to be available.

Details

Original description by the author

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.

repo: luongnv89/claude-howto

Popularity

GitHub stars
46k
Ranking position
#6322
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills