什么是 util-multi-file-refactor?
通过强制使用令牌高效的 MultiEdit(节省 30-50%)、协调文件间的更改、验证导入/引用以及运行质量关卡,优化多文件重构工作流程。在跨代码库重构模式、重命名函数/类/变量、提取通用代码、移动功能或更新多个文件中的模式时使用。防止连续编辑反模式。 来源:dawiddutoit/custom-claude。
通过强制使用令牌高效的 MultiEdit(节省 30-50%)、协调文件间的更改、验证导入/引用以及运行质量关卡,优化多文件重构工作流程。在跨代码库重构模式、重命名函数/类/变量、提取通用代码、移动功能或更新多个文件中的模式时使用。防止连续编辑反模式。
通过命令行快速安装 util-multi-file-refactor AI 技能到你的开发环境
来源:dawiddutoit/custom-claude。
Systematic, token-efficient multi-file refactoring with safety checks. Enforces MultiEdit for 2+ changes per file (30-50% token savings vs sequential Edit).
Issue: Grep finds occurrences in strings/comments that shouldn't be changed
Issue: MultiEdit fails with "overlapping edits" or "string not found"
通过强制使用令牌高效的 MultiEdit(节省 30-50%)、协调文件间的更改、验证导入/引用以及运行质量关卡,优化多文件重构工作流程。在跨代码库重构模式、重命名函数/类/变量、提取通用代码、移动功能或更新多个文件中的模式时使用。防止连续编辑反模式。 来源:dawiddutoit/custom-claude。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dawiddutoit/custom-claude --skill util-multi-file-refactor通过强制使用令牌高效的 MultiEdit(节省 30-50%)、协调文件间的更改、验证导入/引用以及运行质量关卡,优化多文件重构工作流程。在跨代码库重构模式、重命名函数/类/变量、提取通用代码、移动功能或更新多个文件中的模式时使用。防止连续编辑反模式。 来源:dawiddutoit/custom-claude。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill util-multi-file-refactor 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dawiddutoit/custom-claude