← 返回 Skills 市场
yaseenkadlemakki

code-review-skill

作者 yaseenkadlemakki · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
45
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-review-skill
功能描述
Perform a thorough code review of staged changes ensuring error handling, production readiness, code quality, and add comprehensive unit tests with specific...
使用说明 (SKILL.md)

{\rtf1\ansi\ansicpg1252\cocoartf2822 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;\f1\fnil\fcharset0 Menlo-Bold;} {\colortbl;\red255\green255\blue255;\red193\green193\blue193;\red24\green24\blue24;\red85\green129\blue224; \red70\green137\blue204;} {*\expandedcolortbl;;\cssrgb\c80000\c80000\c80000;\cssrgb\c12157\c12157\c12157;\cssrgb\c40392\c58824\c90196; \cssrgb\c33725\c61176\c83922;} \margl1440\margr1440\vieww11520\viewh8400\viewkind0 \deftab720 \pard\pardeftab720\partightenfactor0

\f0\fs24 \cf2 \cb3 \expnd0\expndtw0\kerning0 \outl0\strokewidth0 \strokec2 Perform a comprehensive code review current staged changes as a senior developer would, focusing on production readiness. Specifically:\cb1

\pard\pardeftab720\partightenfactor0 \cf4 \cb3 \strokec4 1.\cf2 \strokec2
\f1\b \cf5 \strokec5 Error Handling & Panic Prevention \f0\b0 \cf2 \strokec2 :\cb1
\pard\pardeftab720\partightenfactor0 \cf2 \cb3 \cf4 \strokec4 -\cf2 \strokec2 Review all error paths and ensure none can cause panics\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Check for potential nil pointer dereferences\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Verify that all file operations handle errors gracefully\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Look for any unchecked type assertions or array/slice access that could panic\cb1

\pard\pardeftab720\partightenfactor0 \cf4 \cb3 \strokec4 2.\cf2 \strokec2
\f1\b \cf5 \strokec5 Production Readiness \f0\b0 \cf2 \strokec2 :\cb1
\pard\pardeftab720\partightenfactor0 \cf2 \cb3 \cf4 \strokec4 -\cf2 \strokec2 Verify logging levels are appropriate (debug vs info vs warn vs error)\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Check if error messages provide sufficient context for debugging\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Ensure the code handles edge cases\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Consider if there are any race conditions or concurrency issues\cb1

\pard\pardeftab720\partightenfactor0 \cf4 \cb3 \strokec4 3.\cf2 \strokec2
\f1\b \cf5 \strokec5 Code Quality \f0\b0 \cf2 \strokec2 :\cb1
\pard\pardeftab720\partightenfactor0 \cf2 \cb3 \cf4 \strokec4 -\cf2 \strokec2 Look for any code duplication or opportunities for refactoring\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Verify consistent error handling patterns with the rest of the codebase\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Check if variable names are clear and follow Go conventions\cb1
\cb3 \cf4 \strokec4 -\cf2 \strokec2 Ensure comments are accurate and helpful\cb1

\pard\pardeftab720\partightenfactor0 \cf4 \cb3 \strokec4 4.\cf2 \strokec2
\f1\b \cf5 \strokec5 Unit Test \f0\b0 \cf2 \strokec2 :\cb1
\pard\pardeftab720\partightenfactor0 \cf2 \cb3 \cf4 \strokec4 -\cf2 \strokec2 Add a comprehensive unit test for the changes made\cb1

\cb3 Provide specific code fixes for any issues found, and include the complete unit and component test implementation.\cb1
}

安全使用建议
This skill appears internally consistent for doing a code review and generating unit tests. Before installing or running it, confirm (1) you are comfortable giving the agent access to the repository workspace and staged changes (it will need that to review and to create tests), (2) the target codebase language is Go (the instructions are Go-centric), and (3) you review any proposed code/test edits before committing. Because it’s instruction-only and requests no credentials or installs, the primary risk is unintended changes to your repo — inspect outputs and diffs before applying them.
功能分析
Type: OpenClaw Skill Name: code-review-skill Version: 1.0.0 The skill bundle is a standard code review tool designed to analyze staged changes for production readiness, error handling, and code quality. While the 'skill.md' file is incorrectly formatted as an RTF (Rich Text Format) document, its content is entirely focused on legitimate software engineering tasks such as checking for nil pointers, race conditions, and generating unit tests. There are no indicators of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name and description promise a code review + unit test generation and the SKILL.md contains concrete, relevant review items (error handling, logging, tests). The skill is instruction-only and does not ask for unrelated credentials or binaries. Note: the instructions are Go-focused (nil pointer, slices, Go naming) even though the metadata does not explicitly state a language; this is plausible but worth verifying before use.
Instruction Scope
The runtime instructions are limited to reviewing 'current staged changes' and producing fixes and tests. They do not instruct the agent to read unrelated system files, access external endpoints, or exfiltrate secrets. They do implicitly require access to the repository workspace/staged changes (expected for a code-review skill).
Install Mechanism
No install spec is provided (instruction-only), so nothing will be downloaded or written to disk by an installer — lowest-risk posture for install mechanisms.
Credentials
The skill declares no required environment variables, credentials, or config paths and the instructions do not request access to them. There is no disproportionate credential request.
Persistence & Privilege
always is false and autonomous invocation is allowed (platform default). The skill does not request permanent presence or modification of other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-review-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-review-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
first push
元数据
Slug code-review-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

code-review-skill 是什么?

Perform a thorough code review of staged changes ensuring error handling, production readiness, code quality, and add comprehensive unit tests with specific... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。

如何安装 code-review-skill?

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

code-review-skill 是免费的吗?

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

code-review-skill 支持哪些平台?

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

谁开发了 code-review-skill?

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

💬 留言讨论