Code Review Assistant
/install code-review-assistant-2
Code Review Assistant
Description
An AI-powered code review assistant that analyzes pull requests, identifies potential bugs, security vulnerabilities, code quality issues, and provides actionable improvement suggestions. This skill helps maintain code quality standards and catch issues before they reach production.
When to Use
- Reviewing pull requests for potential issues
- Auditing code changes for security vulnerabilities
- Ensuring code follows best practices and style guides
- Identifying performance bottlenecks
- Checking for test coverage gaps
- Validating code complexity
Review Checklist
Security Issues
- SQL injection vulnerabilities
- XSS (Cross-Site Scripting) risks
- Authentication/authorization flaws
- Sensitive data exposure
- Insecure dependencies
Code Quality
- Code duplication
- Function/class complexity
- Naming conventions
- Comment quality
- Error handling
- Resource management
Performance
- N+1 query problems
- Unnecessary re-renders
- Memory leaks
- Inefficient algorithms
- Missing caching opportunities
Best Practices
- Test coverage
- Documentation completeness
- API consistency
- Error handling patterns
- Type safety
How to Use
-
When asked to review code, first gather context:
- The programming language and framework
- The files/functions changed
- The purpose of the changes
-
Analyze the code systematically using the checklist
-
Provide structured feedback with severity levels
Output Format
## Code Review Summary
### Overview
[Brief description of what the PR does]
### Issues Found
#### Critical (🔴)
- [Issue with location and fix suggestion]
#### High (🟠)
- [Issue with location and fix suggestion]
#### Medium (🟡)
- [Issue with location and fix suggestion]
#### Low (🟢)
- [Minor suggestions]
### Positive Aspects
- [What was done well]
### Recommendations
- [Additional suggestions]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install code-review-assistant-2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/code-review-assistant-2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Code Review Assistant 是什么?
AI-powered code review assistant that analyzes pull requests, identifies potential bugs, security issues, code quality problems, and provides actionable impr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 129 次。
如何安装 Code Review Assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-review-assistant-2」即可一键安装,无需额外配置。
Code Review Assistant 是免费的吗?
是的,Code Review Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Code Review Assistant 支持哪些平台?
Code Review Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Code Review Assistant?
由 huajianjiu(@huajianjiu000)开发并维护,当前版本 v0.1.0。