安全扫描
OpenClaw
安全
high confidenceInstruction-only skill that reviews and simplifies changed code; it requests no credentials, makes no installs, and its runtime instructions are proportionate to the stated purpose.
评估建议
This skill is coherent and low-risk: it only needs the diff or changed files you provide to produce cleanup suggestions. Before using it, avoid including secrets or private credentials in the diffs you submit (the model will see file contents). Review and approve any automated code changes the skill proposes, especially for security-sensitive code or build/deploy scripts. If you want stronger assurance, request the exact diff/edits the skill will apply before committing them.详细分析 ▾
✓ 用途与能力
Name and description match the actual contents: the skill is an instruction-only code-review/cleanup helper. It does not request binaries, env vars, or access that would be unrelated to reviewing diffs/changed files.
✓ 指令范围
SKILL.md directs the agent to inspect the relevant diff or changed files, focus on changed code, and apply concrete fixes. It does not instruct reading unrelated system files, environment variables, nor sending data to external endpoints. Guardrails explicitly limit scope to changed code.
✓ 安装机制
No install spec and no code files to execute. This is the lowest-risk model for a skill of this type.
✓ 凭证需求
No environment variables, credentials, or config paths are required. The lack of requested secrets is proportionate to the skill's stated purpose.
✓ 持久化与权限
always is false and the skill is user-invocable. It does not request permanent presence or modifications to other skills or system-wide settings.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/2
Initial extraction from local Claude Code source
● 无害
安装命令 点击复制
官方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 fromsrc/skills/bundled/simplify.ts.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制