← 返回 Skills 市场
huajianjiu000

Code Review Assistant

作者 huajianjiu · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
129
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-review-assistant-2
功能描述
AI-powered code review assistant that analyzes pull requests, identifies potential bugs, security issues, code quality problems, and provides actionable impr...
使用说明 (SKILL.md)

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

  1. When asked to review code, first gather context:

    • The programming language and framework
    • The files/functions changed
    • The purpose of the changes
  2. Analyze the code systematically using the checklist

  3. 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]
安全使用建议
This skill appears coherent and low-risk: it only contains review instructions and requests no secrets or installs. Before using it, confirm what code/PR data you will share with the agent (avoid including secrets or private keys in diffs), prefer running it on non-sensitive or internal test repositories until you trust the skill, and consider using a vetted/internal code-review integration if handling highly confidential code. The SKILL.md is intentionally broad about what context to gather — be explicit about limits when invoking (e.g., only provide specific files or the PR diff) if you want to restrict data exposure.
功能分析
Type: OpenClaw Skill Name: code-review-assistant-2 Version: 0.1.0 The skill bundle consists solely of documentation and instructions (SKILL.md) for a code review assistant. It provides a standard checklist for security, performance, and quality audits without any executable code, suspicious network calls, or malicious prompt-injection attempts.
能力评估
Purpose & Capability
Name, description, and SKILL.md are consistent: it is an instruction-only code review assistant that lists relevant security, quality, and performance checks. There are no unrelated environment variables, binaries, or config paths requested.
Instruction Scope
Instructions are high-level and confined to reviewing PRs (gather language/framework, files changed, purpose). That grants the agent discretion to request/consume PR diffs or file contents — expected for a review skill — but the guidance is broad rather than prescriptive about what exact data to request or how to handle sensitive content.
Install Mechanism
No install spec and no code files are present, so nothing is written to disk or fetched during install. This is the lowest-risk pattern for a skill of this type.
Credentials
The skill declares no required environment variables, credentials, or config paths. There is no disproportionate request for secrets or unrelated service keys.
Persistence & Privilege
Skill uses default privileges (not always:true). Autonomous invocation is allowed by platform default but is not combined here with broad credential access or other elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-review-assistant-2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-review-assistant-2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial skill release. - Introduces an AI-powered code review assistant for analyzing pull requests. - Identifies potential bugs, security vulnerabilities, and code quality issues. - Provides a comprehensive review checklist covering security, quality, performance, and best practices. - Offers structured review output with severity levels, positive feedback, and recommendations. - Designed to help maintain code quality standards and catch issues before production.
元数据
Slug code-review-assistant-2
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论