‹ 首页

refactoring-patterns

@wondelai · 收录于 3 周前 · 上游提交 6 天前

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.

适合你,如果经常需要重构代码、消除技术债务

/ 通过 npx 安装 校验哈希
npx oh-my-skill add wondelai/skills/refactoring-patterns
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- wondelai/skills/refactoring-patterns
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify wondelai/skills/refactoring-patterns
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1707GitHub stars
~3.3K最小装载
~19.6K含声明引用
~19.6K文本包总量
镜像托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。