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

refactor

星标3
分支0
更新时间2026年5月28日 23:57

Surgical code refactoring to improve maintainability without changing behavior. Surfaces architectural friction and proposes deepening opportunities — turning shallow modules into deep ones. Covers deep vs shallow module analysis, deletion test, seam identification, extracting functions, breaking down god functions, improving type safety, and eliminating code smells. Use when user says "refactor", "clean up this code", "improve architecture", "make this more testable", or wants to find refactoring opportunities in a codebase.

安装

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

SKILL.md
readonly