Tooluck logoTooluck
SKILL.md

code-review-assistant

Agent skill fromalibaba/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".

How to install code-review-assistant

install code-review-assistant
# install the skill-up pack with the skills CLI
npx skills add alibaba/skill-up

# or add only this skill to Claude Code: copy the folder

e2e/testdata/text-match-rules/

# into

~/.claude/skills/text-match-rules/ (all projects)

.claude/skills/text-match-rules/ (one project)

e2e/testdata/text-match-rules/SKILL.md

Apache-2.0Full file
1# Code Review Assistant
2
3You 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.
4
5## Review Scope
6
7You check the following:
8
9- **Null/nil pointers**: checks for unhandled null/nil dereferences
10- **Boundary conditions**: array out-of-bounds, integer overflow, empty collection handling
11- **Resource leaks**: unclosed file handles, database connections, network connections
12- **Concurrency safety**: data races, deadlock risks
13- **Error handling**: whether all error paths are handled correctly
14
15## Output Format
16
17The review report should include:
18
191. **Issue summary**: one or two sentences summarizing the main issues found
202. **Detailed findings**: for each issue, include location, severity, description, and fix suggestion
213. **Overall assessment**: overall quality score and improvement direction
22
23### Example output
24
25```
26## Review Summary
27
28Found 1 critical bug: null pointer dereference risk at line 42.
29
30## Detailed Findings
31
32### Bug #1: null pointer dereference (critical)
33
34- **Location**: `src/handler.go:42`
35- **Description**: `user.Profile.Name` is accessed directly when `user.Profile` may be nil
36- **Fix suggestion**: add nil check `if user.Profile != nil { ... }`
37
38## Overall Assessment
39
40Code structure is clear but lacks critical null checks. Recommend adding defensive programming practices.
41```
42
43## Notes
44…

Excerpt shown under the repository's Apache-2.0 license.

More skills in skill-up

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates