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

safe-refactor

星标0
分支0
更新时间2026年7月7日 08:49

Use when a sub-issue is a refactor/restructure/extract/rename — a tool-agnostic safety discipline: map the blast radius with grep, gate on test coverage (NONE blocks an aggressive refactor — add characterization tests first), change in small steps, verify after each ({{TYPECHECK_CMD}} + {{TEST_CMD}} + {{BUILD_VERIFY_CMDS}}), never commit a broken tree. Do not use for new features or any behavior change.

安装

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

SKILL.md
readonly