Simplify Code
/install simplify
Simplify Code
Refactor code to make it easier to read, simpler to maintain, and more consistent with the surrounding codebase without changing what it does.
Invoke this skill with /simplify.
Purpose
Use this skill when a user wants cleaner code, a more direct implementation, or a readability pass that preserves exact functionality.
Working Principles
Preserve functionality. Never change behavior, outputs, side effects, or public interfaces unless the user explicitly asks for that.
Apply project standards. Match the existing conventions, patterns, naming style, and architectural expectations of the codebase.
Reduce unnecessary complexity. Flatten avoidable nesting, remove redundant abstractions, and prefer the most direct implementation that remains clear.
Keep variables intentional. Avoid introducing extra state unless it materially improves readability or is reused enough to justify it.
Improve naming and structure. Prefer clear variable and function names, and group related logic so the code reads in a straightforward way.
Default Scope
Focus on recently modified code unless the user points to a different file, module, or diff.
Reference
Inspired by the new Claude Code /simplify command:
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install simplify - 安装完成后,直接呼叫该 Skill 的名称或使用
/simplify触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Simplify Code 是什么?
Refactor code for clarity, consistency, and maintainability without changing behavior. Use when the user types /simplify or asks to simplify code. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1646 次。
如何安装 Simplify Code?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install simplify」即可一键安装,无需额外配置。
Simplify Code 是免费的吗?
是的,Simplify Code 完全免费(开源免费),可自由下载、安装和使用。
Simplify Code 支持哪些平台?
Simplify Code 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Simplify Code?
由 bestisblessed(@bestisblessed)开发并维护,当前版本 v1.0.2。