Refactoring Patterns

wondelai/skills/refactoring-patterns

作者 wondelaic172996495beMIT2.3K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库4周前更新

Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", "decompose conditional", or "clean up this messy code". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation fits a specific code smell. Covers smell-driven refactoring, safe transformation sequences, and testing guards. For code-quality foundations, see clean-code. For managing complexity, see software-design-philosophy.

仅公开文件列表。将技能安装到工作区后即可查看文件内容。

路径大小类型
references/composing-methods.md11.6 KBtext/markdown
references/moving-features.md12 KBtext/markdown
references/organizing-data.md12.7 KBtext/markdown
references/refactoring-workflow.md14 KBtext/markdown
references/simplifying-conditionals.md12.8 KBtext/markdown
references/smell-catalog.md13.2 KBtext/markdown
SKILL.md15.6 KBtext/markdown

来源与署名

来源:wondelai/skills位于refactoring-patterns提交c172996

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架