← 返回 Skills 市场
bestisblessed

Simplify Code

作者 bestisblessed · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
1646
总下载
2
收藏
13
当前安装
3
版本数
在 OpenClaw 中安装
/install simplify
功能描述
Refactor code for clarity, consistency, and maintainability without changing behavior. Use when the user types /simplify or asks to simplify code.
使用说明 (SKILL.md)

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:

https://x.com/bcherny/status/2027534984534544489?s=20

安全使用建议
This is an instruction-only refactoring helper and appears internally consistent. Before using: (1) expect the agent to read the files you provide and nearby code to match conventions — only give it code you are comfortable sharing; (2) review the refactored output/diff before applying or committing changes to ensure behavior is preserved; (3) if you want edits limited to a single file or specific rules, state that explicitly in your prompt. No credentials or installers are requested by this skill.
功能分析
Type: OpenClaw Skill Name: simplify Version: 1.0.2 The skill bundle consists of metadata and markdown instructions (SKILL.md) designed to guide an AI agent in refactoring code for clarity and maintainability. It contains no executable code, external dependencies, or suspicious instructions that would lead to data exfiltration or unauthorized system access.
能力评估
Purpose & Capability
Name and description match the SKILL.md: the skill is an instruction-only refactoring helper and does not require binaries, credentials, or external services that would be unrelated to code simplification.
Instruction Scope
Instructions are focused on refactoring while preserving behavior and ask the agent to match project conventions and "focus on recently modified code." That reasonably implies the agent will read the provided file(s) and surrounding code to infer style; this is expected for a refactoring skill but means the agent may read multiple files in the repository to follow conventions — review changes before committing.
Install Mechanism
There is no install spec and no code files, so nothing will be downloaded or written to disk by an installer. Lowest-risk install posture.
Credentials
The skill requests no environment variables, credentials, or config paths, which is proportionate for a code-refactoring instruction-only skill.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent system-wide privileges or attempt to modify other skills or agent configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install simplify
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /simplify 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Polish description and detail page formatting; update public title to Simplify Code
v1.0.1
Improve ClawHub formatting
v1.0.0
Initial publish
元数据
Slug simplify
版本 1.0.2
许可证
累计安装 14
当前安装数 13
历史版本数 3
常见问题

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。

💬 留言讨论