Skip to main content

refactoring-pass

Applies Martin Fowler's Refactoring discipline when changing existing code: preserve observable behavior, work in small reversible steps, establish a safety net before risky changes, and remove real structural friction without turning cleanup into a rewrite. Use whenever the user asks to refactor, clean up, restructure, extract a method, split a class, reduce duplication, or prepare code for an upcoming feature — or before/after implementing a feature, when the existing structure makes the change awkward. Trigger on phrases like "refactor this", "clean this up", "this is hard to change", "break this apart", "reduce duplication", or "make this more maintainable". Distilled from Fowler's book via the agent-rules-books project (MIT licensed); references/full-reference.md carries the complete rule set, including the refactoring-move and code-smell catalog, for deep audits.

跳到安装

来源信息

仓库
infinyte/custom_claude_skills
最近来源活动
2026年7月24日 06:32
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。