refactoring-guru

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Refactoring.Guru Skill

Refactoring.Guru Skill

Use this skill when a task involves diagnosing smells, choosing targeted refactoring treatments, preserving behavior, applying a refactoring catalog, or avoiding uncontrolled redesign.
Before making design or code decisions, read and apply refactoring-guru.mini.md. Use refactoring-guru.md only as a deeper reference when the mini rules are not enough for the current refactoring tradeoff.
当任务涉及诊断坏味道、选择有针对性的重构方案、保持原有行为、应用重构目录,或避免失控的重设计时,使用此 skill。
在做出设计或代码决策之前,请阅读并应用 refactoring-guru.mini.md。仅当迷你规则不足以处理当前的重构权衡时,才将 refactoring-guru.md 作为更深入的参考资料。