← 返回
未分类 中文

Code Simplifier

Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing.
用于审查代码变更的可重用性、代码质量和效率,并在最终确定前进行清理
wimi321 wimi321 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 365
下载
💾 0
安装
1
版本
#claude-code#extracted#latest

概述

Code Simplifier

Use this skill after making changes and before wrapping up.

Workflow

  1. Inspect the relevant diff or latest modified files.
  2. Review for existing utilities that should be reused.
  3. Review for code smell: parameter sprawl, copy-paste, leaky abstractions, or unnecessary comments.
  4. Review for efficiency problems: repeated work, unnecessary reads, event churn, and hot-path bloat.
  5. 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 07:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 75 📥 182,284
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 196 📥 67,872
ai-agent

Computer Use Windows

wimi321
顶级 Windows 电脑使用技能,集成独立运行时,自主启动,无需本地 Claude安装,私有原生模块,...
★ 2 📥 1,422