← 返回 Skills 市场
tlreal

code-review

作者 tlreal · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
841
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install code-review1
功能描述
在代码提交前或任务完成后使用,进行代码审查
使用说明 (SKILL.md)

\r \r

Code Review - 代码审查\r

\r

概述\r

\r 系统性地审查代码变更,确保质量、可维护性和正确性。\r \r

审查维度\r

\r

1. 正确性\r

\r

  • 逻辑是否正确?\r
  • 边界情况是否处理?\r
  • 错误处理是否完整?\r \r

2. 可读性\r

\r

  • 命名是否清晰?\r
  • 代码结构是否清晰?\r
  • 注释是否有帮助(不是噪音)?\r \r

3. 可维护性\r

\r

  • 是否遵循 DRY 原则?\r
  • 是否容易修改和扩展?\r
  • 依赖是否合理?\r \r

4. 测试\r

\r

  • 测试覆盖是否充分?\r
  • 测试是否有意义?\r
  • 测试是否可读?\r \r

问题分级\r

\r | 级别 | 含义 | 处理 |\r |------|------|------|\r | Critical | 必须修复才能合并 | 阻塞 |\r | Important | 应该修复 | 建议修复 |\r | Minor | 可以改进 | 可选 |\r | Nitpick | 个人偏好 | 仅供参考 |\r \r

审查输出格式\r

\r

## 代码审查报告\r
\r
### 概览\r
- 变更: [简述变更内容]\r
- 审查者: AI\r
- 日期: YYYY-MM-DD\r
\r
### 问题\r
\r
#### Critical\r
- [ ] **文件:行号** - 问题描述\r
\r
#### Important  \r
- [ ] **文件:行号** - 问题描述\r
\r
#### Minor\r
- [ ] **文件:行号** - 问题描述\r
\r
### 优点\r
- [列出代码的优点]\r
\r
### 结论\r
[通过/需要修改后通过/不通过]\r
```\r
\r
## 嵌入式领域扩展\r
\r
**额外检查项:**\r
- 内存分配是否安全?\r
- 是否有资源泄漏风险?\r
- 中断上下文是否正确使用?\r
- 时序要求是否满足?\r
- 功耗影响是否考虑?\r
安全使用建议
This skill is internally consistent and low-risk: it only provides review guidelines and a report template and asks for nothing from your system. Before using: (1) avoid pasting sensitive secrets or proprietary code into the chat — provide minimal, non-sensitive snippets or a sanitized diff; (2) if you don't want the agent to invoke this skill autonomously, keep it user-invocable only or change agent policies; (3) if you plan to feed repository links, ensure the agent has only the access you intend (do not expose credentials). Overall it appears safe to install, but treat any shared source code as sensitive data and review organizational policies first.
功能分析
Type: OpenClaw Skill Name: code-review1 Version: 1.0.0 The skill bundle provides a standard framework for performing code reviews, outlining dimensions such as correctness, readability, and maintainability. The instructions in SKILL.md are well-structured and aligned with the stated purpose, including specific considerations for embedded systems, with no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description (
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-review1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-review1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Major change: Simplified and fully localized the code review skill, removing the previous detailed, English-language checklists and process documentation. - README.md file has been removed. - SKILL.md now uses a concise, Chinese-language structure with essential review dimensions, severity levels, basic output format, and embedded systems extensions. - The new version is easier to understand and apply for Chinese-speaking users, focusing on core review principles.
元数据
Slug code-review1
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

code-review 是什么?

在代码提交前或任务完成后使用,进行代码审查. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 841 次。

如何安装 code-review?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-review1」即可一键安装,无需额外配置。

code-review 是免费的吗?

是的,code-review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

code-review 支持哪些平台?

code-review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 code-review?

由 tlreal(@tlreal)开发并维护,当前版本 v1.0.0。

💬 留言讨论