code-reviewer
What it does
This skill makes the agent review code changes for quality, security and performance issues. It is for developers who want a second set of eyes on a pull request or a piece of code.
When to use it
- βWhen you have a pull request and want it checked before merging.
- βWhen you paste a function or file and want to know what could go wrong.
- βWhen you want to check a commit or diff for security problems.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/code-reviewer/SKILL.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βReview this pull request for security issues and bugs before I merge it.β
5 new skills a week. 1 minute to read.
How it works
The agent loads general rules plus the rules for the language used in the code. It scans for issues such as injection risks, missing checks and weak error handling, and it can score the risk and complexity of the change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Code Reviewer
Automated code review tools for analyzing pull requests, detecting code quality issues, and generating review reports.
How This Skill Is Organized
code-reviewer/
SKILL.md β you are here (tools + dispatch table)
rules/
universal.md β security, async, resources, exceptions, performance β all languages
languages/
python.md β Python-specific rules + idioms
typescript.md β TypeScript / JavaScript-specific rules + idioms
go.md β Go-specific rules + idioms
swift.md β Swift-specific rules + idioms
kotlin.md β Kotlin-specific rules + idioms
csharp.md β C# / .NET-specific rules + idioms
java.md β Java-specific rules + idioms
c.md β C -specific rules + idioms
cpp.md β C++ -specific rules + idioms
rust.md β Rust -specific rules + idioms
ruby.md β Ruby -specific rules + idioms
php.md β PHP-specific rules + idioms
dart.md β Dart / Flutter-specific rules + idioms
Loading order for every review
- This file (
SKILL.md) β tools and thresholds rules/universal.mdβ always, for every language- The matching
languages/*.mdβ one file based on the extension table below
That is always exactly 2 additional files, regardless of scope.
| Extension(s) | Load |
|---|---|
.py |
languages/python.md |
.ts, .tsx, .js, .jsx, .mjs |
languages/typescript.md |
.go |
languages/go.md |
.swift |
languages/swift.md |
.kt, .kts |
languages/kotlin.md |
.cs, .csx, .razor, .cshtml |
languages/csharp.md |
.java |
languages/java.md |
.c, .h |
languages/c.md |
.cpp, .cc, .cxx, .hpp, .hh, .hxx |
languages/cpp.md |
.rs |
languages/rust.md |
.rb, .rake, .gemspec, .ru |
languages/ruby.md |
.php, .phtml |
languages/php.md |
.dart |
languages/dart.md |
Tools
PR Analyzer
Analyzes git diff between branches to assess review complexity and identify risks.
# Analyze current branch against main
python scripts/pr_analyzer.py /path/to/repo
# Compare specific branches
python scripts/pr_analyzer.py . --base main --head feature-branch
# JSON output for integration
python scripts/pr_analyzer.py /path/to/repo --json
What it detects (universal β see also language file for language-specific signals):
- Hardcoded secrets (passwords, API keys, tokens, connection strings)
- SQL / query injection patterns
- Debug statements left in production code
- Lint / analyzer suppression annotations
- TODO/FIXME comments
Language-specific detections are defined in each languages/*.md file.
Output includes:
- Complexity score (1-10)
- Risk categorization (critical, high, medium, low)
- File prioritization for review order
- Commit message validation
Code Quality Checker
Analyzes source code for structural issues, code smells, and SOLID violations.
# Analyze a directory
python scripts/code_quality_checker.py /path/to/code
# Analyze specific language
# Valid values: python, typescript, javascript, go, swift, kotlin, csharp, java, c, cpp, rust, ruby, php, dart
python scripts/code_quality_checker.py . --language java
# JSON output
python scripts/code_quality_checker.py /path/to/code --json
Universal thresholds:
| Issue | Threshold |
|---|---|
| Long function | >50 lines |
| Large file | >500 lines |
| God class | >20 methods |
| Too many params | >5 |
| Deep nesting | >4 levels |
| High complexity | >10 branches |
Language-specific checks are defined in each languages/*.md file.
Review Report Generator
Combines PR analysis and code quality findings into structured review reports.
# Generate report for current repo
python scripts/review_report_generator.py /path/to/repo
# Markdown output
python scripts/review_report_generator.py . --format markdown --output review.md
# Use pre-computed analyses
python scripts/review_report_generator.py . \
--pr-analysis pr_results.json \
--quality-analysis quality_results.json
Verdicts:
| Score | Verdict |
|---|---|
| 90+ with no high issues | Approve |
| 75+ with β€2 high issues | Approve wit |
FAQ
Which languages does it support?
Many common ones, including Python, TypeScript, JavaScript, Go, Java, C#, Rust, Ruby, PHP, Swift, Kotlin, Dart and C++.
Does it check for security problems too?
Yes. It looks for issues such as SQL injection and missing authorization checks.
Can it review code I did not write?
Yes. It works on any diff, commit, pull request or pasted code.
Details
Original description by the author
Use for any code review: a pull request, a diff, a commit, or a pasted function, handler or file in TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#/.NET, Java, C, C++, Rust, Ruby, PHP or Dart/Flutter. Applies per-language rule packs (security such as SQL injection and missing auth, async and resource handling, error handling, performance) and scripts that score a PR's risk and complexity, then gives a merge verdict with blocking and non-blocking findings. Use whenever the user asks to review, check or look over code, says 'code review', 'review this PR', 'review this diff' or 'is this sa
Popularity
- GitHub stars
- 29k
- Ranking position
- #9493
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.