什么是 refactoring?
当测试是绿色的并且您需要重构计划时;不适用于新功能交付;安全第一,优先改进。 来源:mintuz/claude-plugins。
当测试是绿色的并且您需要重构计划时;不适用于新功能交付;安全第一,优先改进。
通过命令行快速安装 refactoring AI 技能到你的开发环境
来源:mintuz/claude-plugins。
Refactoring is the third step of TDD. After GREEN, assess if refactoring adds value.
| Critical | Fix now | Mutations, knowledge duplication, >3 levels nesting | | High | This session | Magic numbers, unclear names, >30 line functions | | Nice | Later | Minor naming, single-use helpers | | Skip | Don't change | Already clean code |
If code isn't driven by a failing test, don't write it.
当测试是绿色的并且您需要重构计划时;不适用于新功能交付;安全第一,优先改进。 来源:mintuz/claude-plugins。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/mintuz/claude-plugins --skill refactoring当测试是绿色的并且您需要重构计划时;不适用于新功能交付;安全第一,优先改进。 来源:mintuz/claude-plugins。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mintuz/claude-plugins --skill refactoring 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mintuz/claude-plugins