code-review-skill
/install code-review-skill
{\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
}
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install code-review-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/code-review-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。