Agent skill

Code Review Skill

by awesome-skills in awesome-skills/code-review-skill

Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

MITAuto-check: notesDevelopment

Install Code Review Skill

skills CLI
$ npx skills add awesome-skills/code-review-skill --skill code-review-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install awesome-skills/code-review-skill code-review-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-skill
GitHub stars
2.1k
Token cost
~2.8k tokens
SKILL.md length
1,000 words
Files
52 (incl. scripts, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

  • Works in 7 steps: The Review Mindset → Effective Feedback → Review Scope → …
  • : reviewing pull requests
  • SKILL.md covers When to Use This Skill, Core Principles, Review Process and Review Techniques, plus 3 more sections
  • Calls git and python

What it does

Code Review Skill is an agent skill from awesome-skills/code-review-skill. Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart, Flutter, NestJS, C/C++, Zig, CSS/Less/Sass, Qt, and more. Covers architecture review, performance review, security audit, code quality anti-patterns, and common bugs across all ecosystems. Use when: reviewing pull requests, conducting PR reviews, code review, reviewing code changes, establishing review standards…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 54 other files, including scripts and assets (for example `.hive/PROTOCOL.md`, `.hive/memory.md` and `.hive/tasks.md`).

It sits in Development, covering Backend development, Code review and Software architecture. It works with Java, Python, Angular and Django. The repository describes itself as: A comprehensive code review skill for Claude Code, covering React 19, Vue 3, Rust, TypeScript, TanStack Query v5, and more. The licence is MIT.

When your agent uses it

  • : reviewing pull requests
  • Conducting PR reviews
  • Reviewing code changes
  • Establishing review standards

Example prompts

  • “Use the code-review-skill skill to provide comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java…”
  • “/code-review-skill”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash, WebFetch

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. The Review Mindset
  2. Effective Feedback
  3. Review Scope
  4. Context Gathering (2-3 minutes)
  5. High-Level Review (5-10 minutes)
  6. Line-by-Line Review (10-20 minutes)
  7. Summary & Decision (2-3 minutes)

What it can do on your machine

Read from SKILL.md and the folder at commit 4850184. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Skill loads about 2.8k tokens when it runs. Until then it costs about 168 tokens; SKILL.md has 1,000 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~168
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash, WebFetch

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from awesome-skills/code-review-skill at commit 4850184, republished under its MIT licence (© awesome-skills). 1,000 words, ~2,828 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-skill/SKILL.md (or your agent's skills folder). This skill also uses 51 other files; get the full folder from GitHub.
name
code-review-skill
description
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C#/.NET, Kotlin, Swift, Dart, Flutter, NestJS, C/C++, Zig, CSS/Less/Sass, Qt, and more. Covers architecture review, performance review, security audit, code quality anti-patterns, and common bugs across all ecosystems. Use when: reviewing pull requests, conducting PR reviews, code review, reviewing code changes, establishing review standards, mentoring developers, architecture reviews, security audits, performance reviews, checking code quality, finding bugs, giving feedback on code.
allowed-tools
Read, Grep, Glob, Bash, WebFetch

Code Review Skill

Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.

When to Use This Skill

  • Reviewing pull requests and code changes
  • Establishing code review standards for teams
  • Mentoring junior developers through reviews
  • Conducting architecture reviews
  • Creating review checklists and guidelines
  • Improving team collaboration
  • Reducing code review cycle time
  • Maintaining code quality standards

Core Principles

1. The Review Mindset

Goals of Code Review:

  • Catch bugs and edge cases
  • Ensure code maintainability
  • Share knowledge across team
  • Enforce coding standards
  • Improve design and architecture
  • Build team culture

Not the Goals:

  • Show off knowledge
  • Nitpick formatting (use linters)
  • Block progress unnecessarily
  • Rewrite to your preference
2. Effective Feedback

Good Feedback is:

  • Specific and actionable
  • Educational, not judgmental
  • Focused on the code, not the person
  • Balanced (praise good work too)
  • Prioritized (critical vs nice-to-have)
markdown
❌ Bad: "This is wrong."
✅ Good: "This could cause a race condition when multiple users
         access simultaneously. Consider using a mutex here."

❌ Bad: "Why didn't you use X pattern?"
✅ Good: "Have you considered the Repository pattern? It would
         make this easier to test. Here's an example: [link]"

❌ Bad: "Rename this variable."
✅ Good: "[nit] Consider `userCount` instead of `uc` for
         clarity. Not blocking if you prefer to keep it."
3. Review Scope

What to Review:

  • Logic correctness and edge cases
  • Security vulnerabilities
  • Performance implications
  • Test coverage and quality
  • Error handling
  • Documentation and comments
  • API design and naming
  • Architectural fit

What Not to Review Manually:

  • Code formatting (use Prettier, Black, etc.)
  • Import organization
  • Linting violations
  • Simple typos

Review Process

Phase 1: Context Gathering (2-3 minutes)

Before diving into code, understand:

  1. Read PR description and linked issue
  2. Check PR size (>400 lines? Ask to split)
  3. Review CI/CD status (tests passing?)
  4. Understand the business requirement
  5. Note any relevant architectural decisions

For large diffs, pipe the diff through scripts/pr-analyzer.py (git diff main...HEAD | python scripts/pr-analyzer.py) to triage complexity and get a suggested review approach before reading.

Phase 2: High-Level Review (5-10 minutes)
  1. Architecture & Design - Does the solution fit the problem?
  2. Performance Assessment - Are there performance concerns?
    • For performance-critical code, consult Performance Review Guide
    • Check: Algorithm complexity, N+1 queries, memory usage
  3. File Organization - Are new files in the right places?
  4. Testing Strategy - Are there tests covering edge cases?
Phase 3: Line-by-Line Review (10-20 minutes)

For each file, check:

  • Logic & Correctness - Edge cases, off-by-one, null checks, race conditions
  • Security - Input validation, injection risks, XSS, sensitive data
  • Performance - N+1 queries, unnecessary loops, memory leaks
  • Maintainability - Clear names, single responsibility, comments
  • Reuse - Before accepting new code, search for existing utilities/helpers that could replace it. Check adjacent files and shared modules for similar patterns. See Universal Quality Guide for anti-patterns like parameter sprawl, leaky abstractions, nested conditionals, stringly-typed code, TOCTOU, and no-op updates.
Phase 4: Summary & Decision (2-3 minutes)
  1. Summarize key concerns
  2. Highlight what you liked
  3. Make clear decision:
    • ✅ Approve
    • 💬 Comment (minor suggestions)
    • 🔄 Request Changes (must address)
  4. Offer to pair if complex

Review Techniques

Technique 1: The Checklist Method

Use checklists for consistent reviews. See Security Review Guide for comprehensive security checklist.

Technique 2: The Question Approach

Instead of stating problems, ask questions:

markdown
❌ "This will fail if the list is empty."
✅ "What happens if `items` is an empty array?"

❌ "You need error handling here."
✅ "How should this behave if the API call fails?"
Technique 3: Suggest, Don't Command

Use collaborative language:

markdown
❌ "You must change this to use async/await"
✅ "Suggestion: async/await might make this more readable. What do you think?"

❌ "Extract this into a function"
✅ "This logic appears in 3 places. Would it make sense to extract it?"
Technique 4: Differentiate Severity

Use labels to indicate priority:

  • 🔴 [blocking] - Must fix before merge
  • 🟡 [important] - Should fix, discuss if disagree
  • 🟢 [nit] - Nice to have, not blocking
  • 💡 [suggestion] - Alternative approach to consider
  • 📚 [learning] - Educational comment, no action needed
  • 🎉 [praise] - Good work, keep it up!

Severity levels: 🔴 / 🟡 / 🟢 are the three severity tiers used as the standard across all guides in this skill — 🔴 blocks the merge, 🟡 should be addressed, 🟢 is optional. The remaining markers (💡 / 📚 / 🎉) are non-blocking annotations.

Show full SKILL.md (451 more words)Show less

Language-Specific Guides

根据审查的代码语言,查阅对应的详细指南:

Language/FrameworkReference FileKey Topics
ReactReact GuideHooks, useEffect, React 19 Actions, RSC, Suspense, TanStack Query v5
Vue 3Vue GuideComposition API, 响应性系统, Props/Emits, Watchers, Composables
Angular 17+Angular GuideSignals, Standalone, RxJS, Zoneless, 模板优化, 测试, 路由守卫, HttpInterceptor
RustRust Guide所有权/借用, Unsafe 审查, 异步代码, 取消安全性, 错误处理
TypeScriptTypeScript Guide类型安全, async/await, 不可变性, 测试, 模块解析, TS 5.x
PythonPython Guide可变默认参数, 异常处理, 类属性
Django / DRFDjango Guide安全审查, N+1 查询, Serializer 反模式, ViewSet, 异步视图
FastAPIFastAPI GuideDepends, Pydantic v2 validation, async correctness, sessions/N+1, auth vs authorization, test-driven verification
JavaJava GuideJava 17/21 新特性, Spring Boot 3, 虚拟线程, Stream/Optional
Java 8 / LegacyJava 8 GuideJava 8, Spring Boot 2, javax.*, Stream/Optional, java.time, CompletableFuture
PHPPHP GuidePHP 8.x type system, PDO, security review, Composer, PHPUnit/PHPStan
Ruby / RailsRuby GuideRuby semantics, Rails 8, Active Record, Active Job, security, testing
C# / .NETC# GuideC# 12 特性, 异步编程, EF Core 性能, ASP.NET Core, LINQ
GoGo Guide错误处理, goroutine/channel, context, 接口设计
Kotlin / AndroidKotlin Guide协程, Flow, Jetpack Compose, 空安全, 内存泄漏, 架构模式
Swift / SwiftUISwift GuideOptionals, Swift Concurrency, Sendable/actors, SwiftUI property wrappers, value vs reference types, API design
Dart / FlutterDart GuideWidget rebuilds, const constructors, null safety, isolates, async in build, Riverpod/Bloc, platform channels, keys, disposal
NestJSNestJS Guide依赖注入, 分层架构, DTO 验证, Guard/Interceptor, 循环依赖
Svelte / SvelteKitSvelte GuideRunes, Load 函数, Form Actions, Store 迁移, SSR/CSR 边界
CC Guide指针/缓冲区, 内存安全, UB, 安全编码, 可移植性, 测试
C++C++ GuideRAII, 智能指针, C++20/23, constexpr, 测试
ZigZig GuideAllocators, error unions, defer/errdefer, comptime, C interop
CSS/Less/SassCSS Guide变量规范, !important, 性能优化, 响应式, 兼容性
QtQt Guide对象模型, 信号/槽, Model/View, QML, Qt6 迁移, 测试

Cross-Cutting Guides

Language-agnostic patterns applicable to all code reviews:

TopicReference FileKey Topics
Architecture ReviewArchitecture Review GuideSOLID, anti-patterns, coupling/cohesion, dependency direction
Performance ReviewPerformance Review GuideWeb Vitals, N+1, algorithm complexity, memory leaks, caching
Security ReviewSecurity Review GuideSQLi, XSS, CSRF, SSRF, IDOR, 命令注入, 跨语言示例
Universal QualityUniversal Quality GuideReuse audit, parameter sprawl, leaky abstractions, nested conditionals, stringly-typed code, TOCTOU, no-op updates, redundant state
Common BugsCommon Bugs ChecklistLanguage-specific bug patterns, common pitfalls
SQL Injection PreventionSQL Injection GuideParameterized queries, ORM safety, 6 languages, dynamic identifiers, detection
XSS PreventionXSS Prevention GuideOutput encoding, CSP, 5 frameworks, input validation vs encoding, detection
N+1 QueriesN+1 Queries GuideEager loading, batch fetching, DataLoader, 5 languages, detection
Error HandlingError Handling GuideFail fast, error hierarchy, 7 languages, anti-patterns, logging
Async & ConcurrencyConcurrency GuideGoroutines, async/await, actors, structured concurrency, 7 languages
Review Best PracticesCode Review Best PracticesCommunication, reviewer mindset, giving feedback, severity labels

Additional Resources

© awesome-skills, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 51 other files (scripts, assets) in the repository root of awesome-skills/code-review-skill.

  • SKILL.md
  • .gitignore
  • .hive/PROTOCOL.md
  • .hive/memory.md
  • .hive/tasks.md
  • .nojekyll
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • assets/pr-review-template.md
  • assets/review-checklist.md
  • index.en.html
  • index.html
  • reference/angular.md
  • reference/architecture-review-guide.md
  • reference/c.md
  • reference/code-quality-universal.md
  • reference/code-review-best-practices.md
  • … and 34 more

Open the folder on GitHubat commit 4850184

Compare with similar skills

Code Review Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Skill this skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Code Review SkillRain-kl/OpenFlare288—~2.3kAutomated safety check: NotesMIT
Code Review Excellenceandrew-yangy/gru-ai155—~1.7kAutomated safety check: NotesMIT
Code Revieweralirezarezvani/claude-skills28k1 repos~1.6kAutomated safety check: PassMIT
Senior Fullstackborghei/Claude-Skills886—~1.7kAutomated safety check: PassMIT
Code Reviewerrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Code Review Skill

    Rain-kl/OpenFlare

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, PHP, Python, Django, Go, C/.NET, Kotlin, Swift, NestJS, C/C++, and more.

    288 GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Code Review Excellence

    andrew-yangy/gru-ai

    Provides comprehensive code review guidance for React 19, Vue 3, Rust, TypeScript, Java, Python, and C/C++.

    155 GitHub stars~1.7k tokensUpdated 7 mo ago
    DevelopmentAuto-check: notes
  • Code Reviewer

    alirezarezvani/claude-skills

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.

    28k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Senior Fullstack

    borghei/Claude-Skills

    Fullstack development toolkit with project scaffolding for Next.js/FastAPI/MERN/Django stacks and code quality analysis.

    886 GitHub stars~1.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Code Reviewer

    revfactory/harness-100

    Full pipeline for automated code review. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Spec To Repo

    alirezarezvani/claude-skills

    A skill your agent uses when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I…

    28k GitHub stars~2.7k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes

Categories

Questions about Code Review Skill

What does Code Review Skill do?

Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…. Code Review Skill is an agent skill from awesome-skills/code-review-skill.NET, Kotlin, Swift, Dart, Flutter, NestJS, C/C++, Zig, CSS/Less/Sass, Qt, and more.

When should I use Code Review Skill?

Code Review Skill fits situations like: : reviewing pull requests; conducting PR reviews; reviewing code changes; establishing review standards.

How do I install Code Review Skill in Claude Code?

Run `npx skills add awesome-skills/code-review-skill --skill code-review-skill -a claude-code`. Or copy the skill folder (the awesome-skills/code-review-skill repository) into .claude/skills/code-review-skill in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Skill in Codex?

Run `npx skills add awesome-skills/code-review-skill --skill code-review-skill -a codex`. Or copy the skill folder (the awesome-skills/code-review-skill repository) into .agents/skills/code-review-skill in your project. Codex loads it when a task matches its description.

Can I use Code Review Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add awesome-skills/code-review-skill --skill code-review-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-skill, .gemini/skills/code-review-skill, .github/skills/code-review-skill and .opencode/skills/code-review-skill in your project.

What does Code Review Skill need to run?

Going by SKILL.md and its folder, Code Review Skill needs the command-line tools its instructions call (git and python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash, WebFetch.

Does Code Review Skill access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Code Review Skill safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Code Review Skill use?

Code Review Skill is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Skill use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review Skill?

Skills that share tags, products or a category with Code Review Skill: Code Review Skill (Rain-kl/OpenFlare, 288 stars), Code Review Excellence (andrew-yangy/gru-ai, 155 stars), Code Reviewer (alirezarezvani/claude-skills, 28k stars) and Senior Fullstack (borghei/Claude-Skills, 886 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Skill?

awesome-skills (a GitHub organization) maintains it in awesome-skills/code-review-skill, which has 2,073 GitHub stars. The repository was last updated on September 8, 2026.

Source: awesome-skills/code-review-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.