refactoring
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRefactoring Skill
重构 Skill
Use this skill when a task involves behavior-preserving code improvement, code smells, small refactoring steps, test-backed cleanup, or separating refactoring from feature changes.
Before making design or code decisions, read and apply refactoring.mini.md. Use refactoring.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.
当任务涉及保持行为的代码改进、代码坏味道、小步重构、由测试保障的清理,或将重构与功能变更分离时,使用此 skill。
在做出设计或代码决策之前,先阅读并应用 refactoring.mini.md。仅当简明规则不足以支持当前的重构权衡时,才将 refactoring.md 作为更深入的参考资料。