← 返回 Skills 市场
wpank

Clean Code

作者 wpank · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
5260
总下载
6
收藏
33
当前安装
1
版本数
在 OpenClaw 中安装
/install clean-code-review
功能描述
Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.
安全使用建议
This appears safe to install as a clean-code/refactoring guide. Use version control and review diffs when applying it, because its normal behavior may include editing dependent files to keep refactors consistent.
功能分析
Type: OpenClaw Skill Name: clean-code-review Version: 1.0.0 The skill bundle provides extensive documentation and instructions for an AI agent to apply clean code principles, refactoring patterns, and anti-patterns. All instructions within SKILL.md and the platform-specific templates (e.g., claude-knowledge.md) are focused on code quality, safe modification practices, and dependency analysis. While these instructions imply the AI agent will have capabilities like file system access and the ability to run lint/type checks, these are necessary for its stated purpose as a code-review and refactoring assistant. There is no evidence of intentional harmful behavior, data exfiltration, unauthorized access, or other malicious activities. The external GitHub URL in README.md is an installation instruction, not a runtime command for the agent, and does not indicate malice within the skill bundle itself.
能力评估
Purpose & Capability
The artifacts provide markdown guidance for naming, refactoring, anti-patterns, dependency checks, linting, and type-checking; these capabilities are coherent with code review and refactoring assistance.
Instruction Scope
The skill is broadly useful for writing, reviewing, and refactoring code and tells agents to update dependent files, which may expand edits across a project, but that behavior is disclosed and purpose-aligned.
Install Mechanism
Installation is user-run through npx or manual copy commands, including a GitHub source command in the README; there is no automatic execution hook, but users should trust the source before running installer commands.
Credentials
No credentials, session stores, private indexing, telemetry, network runtime, or privileged environment access are requested; file review and lint/type checks are proportionate for this skill.
Persistence & Privilege
The bundle contains markdown files only and shows no persistence mechanism, background worker, privilege escalation, account access, or autonomous long-running behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clean-code-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clean-code-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Major update: Comprehensive clean code standards, patterns, and anti-patterns guide. - Added core clean code principles (SRP, DRY, KISS, YAGNI, Boy Scout). - Detailed naming conventions with anti-patterns and practical examples. - Expanded function rules: guidelines on size, arguments, side effects, and guard clauses. - Introduced code structure patterns: composition, colocation, and extraction. - Provided anti-patterns table with actionable fixes. - Included a pre-edit safety checklist to prevent unintended breakage. - Full rewrite and significant expansion from prior versions.
元数据
Slug clean-code-review
版本 1.0.0
许可证
累计安装 198
当前安装数 33
历史版本数 1
常见问题

Clean Code 是什么?

Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5260 次。

如何安装 Clean Code?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clean-code-review」即可一键安装,无需额外配置。

Clean Code 是免费的吗?

是的,Clean Code 完全免费(开源免费),可自由下载、安装和使用。

Clean Code 支持哪些平台?

Clean Code 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clean Code?

由 wpank(@wpank)开发并维护,当前版本 v1.0.0。

💬 留言讨论