Skip to content
alyn
alibaba

Code Review Assistant skill

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".

$npx skills add alibaba/skill-up --skill code-review-assistant
View this skill on GitHubalibaba/skill-up/e2e/testdata/text-match-rules/SKILL.md
Pack stars
1,451
Pack installs
1.3k
Alyn Score
53/99
Updated
2 days ago
License
Apache-2.0
– views – installs via Alyn

Install Code Review Assistant

Pick your agent. Every command is ready to paste.

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

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads code-review-assistant when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the code-review-assistant skill”. In Codex, type $code-review-assistant.

The skill itself

SKILL.md

FolderGitHub

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

Tips for Code Review Assistant

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 22 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Code Review Assistant

What does the Code Review Assistant skill do?

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".

How do I install Code Review Assistant?

Run "npx skills add alibaba/skill-up --skill code-review-assistant" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Code Review Assistant work in Cursor and Codex?

Yes. Code Review Assistant uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Code Review Assistant free?

Code Review Assistant is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Code Review Assistant?

Code Review Assistant is published by alibaba in the alibaba/skill-up repository, together with 21 other skills.

Similar skills. From other creators.