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.

  1. c172996495be当前提交 c172996发布于 2026年10月8日

来源与署名

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

许可证: MIT

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

举报或申请下架