Skip to main content
skill CX Codex

code-review-specialist — Claude Code skill: setup and review

Audits pull requests and scripts for security bugs, performance bottlenecks, and maintainability. Generates a 1 to 5 rating with concrete code fixes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add luongnv89/claude-howto --skill code-review-specialist -a claude-code
Open on GitHub

What code-review-specialist does

This skill structures code reviews into four core domains. In security, it tracks authentication flaws, data leaks, injection risks, and sensitive logging. The performance section checks Big O complexity, memory usage, database queries, and concurrency issues. Architecture gets scored against SOLID principles, naming conventions, and test coverage.

The maintainability rules set a strict threshold: functions must stay under 50 lines. Any oversized function or high cyclomatic complexity triggers a rework suggestion.

Each report opens with an overall quality score from 1 to 5 and a count of detected flaws. For critical items, the output pinpoints the exact file and line number, explains the severity level, and provides fixed code snippets.

What it helps with

  • spot injection vulnerabilities and sensitive data leaks
  • analyze Big O algorithmic efficiency and database query bottlenecks
  • break down functions longer than 50 lines
  • generate pull request reviews with 1 to 5 quality scores

Example prompts for the agent

  • Review this pull request focusing on security vulnerabilities and performance.
  • Analyze the code quality in api.py and output critical issues with code fixes.
  • Check functions in auth.ts for cyclomatic complexity and function length.

How to install code-review-specialist

1Skills CLI (Vercel)

npx skills add luongnv89/claude-howto --skill code-review-specialist -a claude-code

2Manually: put the files in place

~/.claude/skills/code-review-specialist/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/code-review-specialist/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about code-review-specialist

How do I install code-review-specialist in Claude Code?

Run npx skills add luongnv89/claude-howto --skill code-review-specialist -a claude-code. The file will be placed in ~/.claude/skills/code-review-specialist/SKILL.md.

What areas does this skill inspect during a code review?

It audits four categories: security vulnerabilities, runtime performance, code quality, and maintainability. Findings include severity levels, exact line numbers, and recommended code fixes.

What size limits does the skill enforce for functions?

The maintainability criteria explicitly require function length to stay under 50 lines. It also evaluates cyclomatic complexity and type safety.

Source text

SKILL.md · MIT
---
name: code-review-specialist
description: Комплексне код-рев'ю з аналізом безпеки, продуктивності та якості. Використовуйте, коли користувачі просять переглянути код, проаналізувати якість коду, оцінити pull request, або згадують код-рев'ю, аналіз безпеки чи оптимізацію продуктивності.
---

# Навичка код-рев'ю

Ця навичка забезпечує комплексні можливості код-рев'ю з фокусом на:

1. **Аналіз безпеки**
   - Проблеми автентифікації/авторизації
   - Ризики розкриття даних
   - Вразливості інʼєкцій
   - Криптографічні слабкості
   - Логування чутливих даних

2. **Аналіз продуктивності**
   - Ефективність алгоритмів (аналіз Big O)
   - Оптимізація памʼяті
   - Оптимізація запитів до БД
   - Можливості кешування
   - Проблеми конкурентності

3. **Якість коду**
   - Принципи SOLID
   - Патерни проєктування
   - Конвенції іменування
   - Документація
   - Покриття тестами

4. **Супровідність**
   - Читабельність коду
   - Розмір функцій (має бути < 50 рядків)
   - Цикломатична складність
   - Управління залежностями
   - Безпека типів

## Шаблон рев'ю

Для кожного фрагмента перевіреного коду надати:

### Резюме
- Загальна оцінка якості (1-5)
- Кількість виявлених проблем
- Рекомендовані пріоритетні зони

### Критичні проблеми (якщо є)
- **Проблема**: Чіткий опис
- **Розташування**: Файл і номер рядка
- **Вплив**: Чому це важливо
- **Серйозність**: Критична/Висока/Середня
- **Виправлення**: Приклад коду

### Знахідки за категоріями

#### Безпека (якщо знайдено проблеми)
Перелік вразливостей безпеки з прикладами

#### Продуктивність (якщо знайдено проблеми)
Перелік проблем продуктивності з аналізом складності

#### Якість (якщо знайдено проблеми)
Перелік проблем якості коду з пропозиціями рефакторингу

#### Супровідність (якщо знайдено проблеми)
Перелік проблем супровідності з покращеннями

## Історія версій

- v1.0.0 (2024-12-10): Початковий випуск з аналізом безпеки, продуктивності, якості та супровідності

© luongnv89 · MIT · luongnv89/claude-howto

Similar skills

All skills for Code review and refactoring →

From the same set10

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor