Skip to main content
在 Manus 中运行任何 Skill
一键导入

refactor-analysis

星标2
分支0
更新时间2026年5月5日 14:54

Use before writing an implementation plan for a refactor that spans 3+ files or crosses module/project boundaries — codebase-wide renames, extract/move/inline operations, API surface changes, directory restructures, or interface modifications. Triggers on phrases like "refactor X across", "rename everywhere", "extract this into", "move this to", "restructure the layout", "change the public API". Maps every transitively affected file, classifies breaking vs cosmetic changes, identifies risks (dynamic references, reflection, cross-boundary impacts), and produces a safe execution order with checkpoints. Skip for single-file changes, two-file edits with no transitive impact, or pure additions.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly