安全扫描
OpenClaw
安全
high confidence纯指令型技能,仅审查和简化变更后的代码;不请求凭据,不执行安装,其运行时指令与声明的目的相称。
评估建议
此技能逻辑清晰且风险极低:仅需要您提供的差异或变更文件来生成清理建议。使用前,请避免在提交的差异中包含密钥或私人凭据(模型将读取文件内容)。请审查并批准技能提出的任何自动化代码更改,特别是对于安全敏感的代码或构建/部署脚本。如需更强保证,请在提交前请求技能将应用的确切差异或编辑。详细分析 ▾
✓ 用途与能力
名称和描述与实际内容相符:这是一个纯指令型的代码审查/清理辅助工具。它不请求二进制文件、环境变量或与审查差异/变更文件无关的访问权限。
✓ 指令范围
SKILL.md 指示代理检查相关的差异或变更文件,专注于变更的代码,并应用具体的修复。它不指示读取无关的系统文件、环境变量,也不向外部端点发送数据。护栏明确将范围限制为变更的代码。
✓ 安装机制
没有安装规范,也没有要执行的代码文件。这是此类技能中风险最低的模型。
✓ 凭证需求
不需要环境变量、凭据或配置路径。缺少请求的密钥与技能声明的目的相称。
✓ 持久化与权限
always 为 false,且该技能可由用户调用。它不请求永久存在或修改其他技能或系统级设置。
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/2
从本地 Claude Code 源代码首次提取
● 无害
安装命令 点击复制
官方npx clawhub@latest install code-simplify
镜像加速npx clawhub@latest install code-simplify --registry https://cn.clawhub-mirror.com
技能文档
Use this skill after making changes and before wrapping up.
Workflow
- Inspect the relevant diff or latest modified files.
- Review for existing utilities that should be reused.
- Review for code smell: parameter sprawl, copy-paste, leaky abstractions, or unnecessary comments.
- Review for efficiency problems: repeated work, unnecessary reads, event churn, and hot-path bloat.
- Fix confirmed issues and summarize what changed.
Guardrails
- Prefer concrete fixes over broad stylistic churn.
- Keep attention on changed code, not the whole codebase.
- If no issue exists, say so explicitly.
Example Requests
- Review my diff for duplicate logic and unnecessary complexity.
- Clean up this changed code before I ship it.
Inputs
- Relevant diff or changed files
- Optional focus area
Outputs
- Concrete cleanup changes
- Short summary of improvements
Success Criteria
- Duplication or awkward abstractions were reduced.
- Performance regressions were checked.
- No unnecessary churn was introduced.
Non-Goals
- Massive style-only rewrites
- Review of untouched code with no link to the change
Source Provenance
Derived from src/skills/bundled/simplify.ts.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制