← 返回 Skills 市场
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oc-code-review
功能描述
提供代码安全、性能、质量与可维护性四维度全面审查,评分并生成改进建议与详细报告。
安全使用建议
This skill looks like a useful code-review helper, but it currently has mismatches between what it says it will do and what it declares it needs. Before installing or running it: 1) Confirm which host tools it will call (git, gh) and whether you are comfortable allowing the agent to run those commands; 2) Do not provide GitHub/Feishu tokens unless you trust the skill — ask the author to declare required env vars and justify each; 3) Be cautious when allowing the skill to read local file paths or PRs — run it in a restricted/sandboxed environment or with limited-scope tokens first; 4) If you expect to use Feishu or web fetching, verify how data fetched will be handled and stored; 5) Prefer an updated metadata manifest that lists required binaries and credentials (or explicitly states none are needed) so the permission surface is clear. If the author can explain/fix the missing requirements, the skill appears coherent and not malicious.
功能分析
Type: OpenClaw Skill
Name: oc-code-review
Version: 1.0.0
The skill bundle is a legitimate tool for performing code reviews across security, performance, and quality dimensions. It includes utility scripts (analyze-metrics.py and compare-complexity.py) that perform basic static analysis using regex, and provides comprehensive checklists for the agent to follow. While the instructions in SKILL.md permit the use of powerful tools like 'exec' for git commands and 'web_fetch' for retrieving code, these capabilities are strictly aligned with the stated purpose of auditing codebases and pull requests.
能力评估
Purpose & Capability
The skill's description (code review: security/performance/quality/maintainability) matches the included templates and scripts. However SKILL.md expects to access Git/GitHub PRs (git, gh CLI), Feishu documents (feishu-fetch-doc skill), and web_fetch, but the registry metadata declares no required binaries or environment variables. Either required tools/credentials were omitted from metadata or the instructions assume ambient access to host tools/credentials — that mismatch is concerning.
Instruction Scope
Runtime instructions explicitly tell the agent to read local files (`read` tool), run shell commands (`exec` + git/gh), fetch from web pages, and call other skills (feishu-fetch-doc, web_fetch). Those actions grant the skill potential access to arbitrary repository contents and local files if invoked with paths. The SKILL.md does not constrain or sanitize which files/paths to read, nor does it require explicit consent or credentials handling steps — increasing the risk of unintended data access.
Install Mechanism
No install spec / no remote downloads are present; only two small analysis scripts and markdown templates are included. The included Python scripts perform local file analysis and print metrics — they are straightforward and contain no obfuscated or network-exfiltration code.
Credentials
The skill will likely need Git/GitHub credentials (gh, git) and possibly Feishu API credentials to fetch docs, but requires.env is empty and no primary credential is declared. That omission is disproportionate: requesting no credentials while instructing operations that normally require secrets (GH tokens, Feishu tokens, or SSH/git credentials) is an incoherence that should be resolved before use.
Persistence & Privilege
The skill does not request always:true and has no installation steps that modify other skills or global config. Autonomous invocation is allowed by default (normal). There is no evidence the skill persists or escalates privileges on the host.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install oc-code-review - 安装完成后,直接呼叫该 Skill 的名称或使用
/oc-code-review触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
v1.0.0 - 4维度代码审查(安全/性能/质量/可维护),支持快速/深度/安全专项3种模式
元数据
常见问题
OC Code Review 是什么?
提供代码安全、性能、质量与可维护性四维度全面审查,评分并生成改进建议与详细报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。
如何安装 OC Code Review?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install oc-code-review」即可一键安装,无需额外配置。
OC Code Review 是免费的吗?
是的,OC Code Review 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OC Code Review 支持哪些平台?
OC Code Review 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OC Code Review?
由 Narain(@penghang1223)开发并维护,当前版本 v1.0.0。
推荐 Skills