code-simplification
仓库创建 2026年2月16日最近提交 21 小时前SkillHot 收录 20 天前
▸ 精选理由
适合清理技术债与提升长期可维护性的日常重构任务。
这个 Skill 做什么
在不改变行为的前提下简化并重构代码以提升清晰度。
在不改动程序行为的前提下把代码重构得更清晰、更好维护,让逻辑更直观。适合代码能跑但难读、审查发现复杂度高或要降低技术债时用。重点是保持等价行为而非只追求少行数,让后续扩展更容易。
▸ 展开 SKILL.md 英文原文
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
8.1w
Stars
8.7k
Forks
24
仓库内 Skill
+10.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/addyosmani/agent-skills/main/skills/code-simplification/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/addyosmani/agent-skills/main/skills/code-simplification/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Code Simplification > Inspired by the [Claude Code Simplifier plugin](https://github.com/anthropics/claude-plugins-official/blob/main/plugins/code-simplifier/agents/code-simplifier.md). Adapted here as a model-agnostic, process-driven skill for any AI coding agent. ## Overview Simplify code by reducing complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, modify, and debug. Every simplification must pass a simple test: "Would a new team member understand this faster than the original?" ## When to Use - After a feature is working and tests pass, but the implementation feels heavier than it needs to be - During code revie
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有