← 返回 Skills 市场
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-simplify
功能描述
Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing.
使用说明 (SKILL.md)
Code Simplifier
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.
安全使用建议
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.
功能分析
Type: OpenClaw Skill
Name: code-simplify
Version: 1.0.0
The code-simplify skill bundle is a standard utility designed for code review and refactoring. The instructions in SKILL.md and agents/openai.yaml are strictly aligned with its stated purpose of identifying code smells, duplication, and inefficiencies in modified files, with no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
No install spec and no code files to execute. This is the lowest-risk model for a skill of this type.
Credentials
No environment variables, credentials, or config paths are required. The lack of requested secrets is proportionate to the skill's stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or modifications to other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install code-simplify - 安装完成后,直接呼叫该 Skill 的名称或使用
/code-simplify触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial extraction from local Claude Code source
元数据
常见问题
Code Simplifier 是什么?
Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Code Simplifier?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-simplify」即可一键安装,无需额外配置。
Code Simplifier 是免费的吗?
是的,Code Simplifier 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Code Simplifier 支持哪些平台?
Code Simplifier 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Code Simplifier?
由 wimi321(@wimi321)开发并维护,当前版本 v1.0.0。
推荐 Skills