Agent skill

Code Review Assistant

by alibaba in alibaba/skill-up

Triggered when the user submits code or requests a code review.

Apache-2.0Auto-check passedDevelopment

Install Code Review Assistant

skills CLI
$ npx skills add alibaba/skill-up --skill code-review-assistant -a claude-code

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

GitHub CLI
$ gh skill install alibaba/skill-up code-review-assistant --agent claude-code

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

Manual copy
$ git clone --depth 1 https://github.com/alibaba/skill-up.git skills-src && mkdir -p .claude/skills && cp -r skills-src/e2e/testdata/text-match-rules .claude/skills/code-review-assistant && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

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

Facts

Skill name
code-review-assistant
GitHub stars
1.1k
Token cost
~505 tokens
SKILL.md length
147 words
Files
10
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Triggered when the user submits code or requests a code review.

  • Works in 3 steps: Issue summary: one or two sentences… → Detailed findings: for each issue,… → Overall assessment: overall quality…
  • Requests a code review
  • SKILL.md covers Review Scope, Output Format and Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review Assistant is an agent skill from alibaba/skill-up. Triggered when the user submits code or requests a code review. Automatically analyzes code quality, identifies potential bugs, security vulnerabilities, and performance issues, and provides improvement suggestions. Trigger phrases include "take a look at this code", "review this", "is there a problem with this function".

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files (for example `README.md`, `evals/cases/find-null-bug.yaml` and `evals/cases/miss-boundary-check.yaml`).

It sits in Development, covering Code review and Code quality. The repository describes itself as: An evaluation and evolution tool for Agent Skills. The licence is Apache-2.0.

When your agent uses it

  • Requests a code review
  • Phrases include take a look at this code
  • Is there a problem with this function

Example prompts

  • “take a look at this code”
  • “review this”
  • “is there a problem with this function”
  • “/code-review-assistant”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Issue summary: one or two sentences summarizing the main issues found
  2. Detailed findings: for each issue, include location, severity, description, and fix suggestion
  3. Overall assessment: overall quality score and improvement direction

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 Assistant loads about 505 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 147 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from alibaba/skill-up at commit 7f1ff9b, republished under its Apache-2.0 licence (© alibaba). 147 words, ~505 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-assistant/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
code-review-assistant
description
Triggered when the user submits code or requests a code review. Automatically analyzes code quality, identifies potential bugs, security vulnerabilities, and performance issues, and provides improvement suggestions. Trigger phrases include "take a look at this code", "review this", "is there a problem with this function".

Code Review Assistant

You are an experienced senior engineer specializing in code review. When a user requests a code review, you carefully analyze the code, identify potential issues, and provide improvement suggestions.

Review Scope

You check the following:

  • Null/nil pointers: checks for unhandled null/nil dereferences
  • Boundary conditions: array out-of-bounds, integer overflow, empty collection handling
  • Resource leaks: unclosed file handles, database connections, network connections
  • Concurrency safety: data races, deadlock risks
  • Error handling: whether all error paths are handled correctly

Output Format

The review report should include:

  1. Issue summary: one or two sentences summarizing the main issues found
  2. Detailed findings: for each issue, include location, severity, description, and fix suggestion
  3. Overall assessment: overall quality score and improvement direction
Example output
## Review Summary

Found 1 critical bug: null pointer dereference risk at line 42.

## Detailed Findings

### Bug #1: null pointer dereference (critical)

- **Location**: `src/handler.go:42`
- **Description**: `user.Profile.Name` is accessed directly when `user.Profile` may be nil
- **Fix suggestion**: add nil check `if user.Profile != nil { ... }`

## Overall Assessment

Code structure is clear but lacks critical null checks. Recommend adding defensive programming practices.

Notes

  • Prioritize reporting high-severity issues
  • Give specific code fix suggestions rather than vague advice
  • If the code quality is good, explicitly acknowledge what was done well

© alibaba, Apache-2.0. 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 9 other files in e2e/testdata/text-match-rules of alibaba/skill-up.

  • SKILL.md
  • README.md
  • evals/cases/find-null-bug.yaml
  • evals/cases/miss-boundary-check.yaml
  • evals/eval.yaml
  • evals/evals.json
  • fixtures/expected/find-null-bug-grading.json
  • fixtures/expected/miss-boundary-check-grading.json
  • fixtures/judge-inputs/find-null-bug.json
  • fixtures/judge-inputs/miss-boundary-check.json

Open the folder on GitHubat commit 7f1ff9b

Compare with similar skills

Code Review Assistant 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 Assistant compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Assistant this skillalibaba/skill-up1.1k—~505Automated safety check: PassApache-2.0
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Skill Doli Code ReviewDolibarr/dolibarr7.7k1 repos~1.1kAutomated safety check: PassMIT
Dignified Python Standardsdocling-project/docling68k—~1.5kAutomated safety check: PassApache-2.0
Clean Code GuardamElnagdy/guard-skills1.3k2 repos~4.3kAutomated safety check: PassMIT
Archify Reviewtt-a1i/archify79k—~415Automated safety check: PassMIT

Similar skills

  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    68k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Clean Code Guard

    amElnagdy/guard-skills

    Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.

    1.3k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Archify Review

    tt-a1i/archify

    Review Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and…

    79k GitHub stars~415 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Code Review Skill

    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…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes

More from alibaba/skill-up

  • Data Transformer

    alibaba/skill-up

    Triggered when the user needs to convert data formats, such as CSV to JSON, JSON to YAML, or XML to JSON.

    1.1k GitHub stars~332 tokensUpdated 2 days ago
    Auto-check passed
  • File Organizer

    alibaba/skill-up

    Triggered when the user needs to organize project files, analyze directory structure, or generate a project report.

    1.1k GitHub stars~374 tokensUpdated 2 days ago
    Auto-check passed
  • Quick Calculator

    alibaba/skill-up

    Quickly produces accurate calculation results when a user needs arithmetic, unit conversion, or mathematical formula solving.

    1.1k GitHub stars~252 tokensUpdated 2 days ago
    Auto-check passed
  • Code Quality Analyzer

    alibaba/skill-up

    Triggered when the user submits code or requests a comprehensive code quality analysis.

    1.1k GitHub stars~306 tokensUpdated 2 days ago
    Auto-check passed
  • Mood Booster

    alibaba/skill-up

    Triggered when the user expresses boredom, low mood, frustration, irritation, or a need to relax.

    1.1k GitHub stars~372 tokensUpdated 2 days ago
    Auto-check passed
  • Sdd Riper

    alibaba/skill-up

    SDD-RIPER workflow executor with phase gating. An agent skill from alibaba/skill-up.

    1.1k GitHub stars~117 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Code Review Assistant

What does Code Review Assistant do?

Triggered when the user submits code or requests a code review. Code Review Assistant is an agent skill from alibaba/skill-up. Triggered when the user submits code or requests a code review.

When should I use Code Review Assistant?

Code Review Assistant fits situations like: requests a code review; phrases include take a look at this code; is there a problem with this function.

How do I install Code Review Assistant in Claude Code?

Run `npx skills add alibaba/skill-up --skill code-review-assistant -a claude-code`. Or copy the skill folder (e2e/testdata/text-match-rules in alibaba/skill-up) into .claude/skills/code-review-assistant in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Assistant in Codex?

Run `npx skills add alibaba/skill-up --skill code-review-assistant -a codex`. Or copy the skill folder (e2e/testdata/text-match-rules in alibaba/skill-up) into .agents/skills/code-review-assistant in your project. Codex loads it when a task matches its description.

Can I use Code Review Assistant 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 alibaba/skill-up --skill code-review-assistant -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-assistant, .gemini/skills/code-review-assistant, .github/skills/code-review-assistant and .opencode/skills/code-review-assistant in your project.

What does Code Review Assistant need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review Assistant is instructions for the agent only.

Does Code Review Assistant access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review Assistant safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review Assistant use?

Code Review Assistant is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Assistant use?

About 505 tokens (SKILL.md is roughly 2k 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 Assistant?

Skills that share tags, products or a category with Code Review Assistant: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Skill Doli Code Review (Dolibarr/dolibarr, 7.7k stars), Dignified Python Standards (docling-project/docling, 68k stars) and Clean Code Guard (amElnagdy/guard-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Assistant?

alibaba (a GitHub organization) maintains it in alibaba/skill-up, which has 1,140 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 5, 2026.

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