← 返回列表
全部 Skill›开发 Development›safe-refactor

safe-refactor

作者 @JuliusBrussee · 语言 en
Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.
开发 Development包管理与发布通用待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
122,624
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Safe refactor

Define behavior-preservation boundary and establish verification before structural edits.

  • Keep feature changes outside refactor.
  • Move one ownership boundary at a time.
  • Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
  • Keep intermediate states buildable and testable.
  • Avoid dependency or configuration growth without correctness need.

Run same proof after change. Stop when behavior matches and requested structure is achieved.

评论
JJuliusBrussee
JuliusBrussee
JuliusBrussee/caveman
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@JuliusBrussee
所属大类开发 Development / 包管理与发布
国内可用性通用
最近源活动—
风险提示无
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。