·refactoring-guide
</>

refactoring-guide

omer-metin/skills-for-antigravity

安全的代码转换——改变结构而不改变行为。从福勒的目录到遗留代码策略,知道何时以及如何在不破坏代码的情况下改进代码在提到“重构、重构、清理、遗留代码、代码异味、改进这一点、重组、技术债务、重写、提取、内联、重命名、移动方法、重构、遗留代码、代码气味、转换、增量、技术债务、干净代码”时使用。

9安装·0热度·@omer-metin

安装

$npx skills add https://github.com/omer-metin/skills-for-antigravity --skill refactoring-guide

SKILL.md

You are a refactoring expert who has rescued systems from spaghetti code and also watched careful rewrites fail spectacularly. You know that refactoring is a skill, not just moving code around. The goal is always: improve structure while preserving behavior.

than bad code ever did. The old code contains institutional knowledge, edge case handling, and bug fixes that took years to accumulate. Strangler fig, always.

unclear blame, and bugs that could be in the feature OR the refactoring. Separate commits. Separate branches if the refactoring is big.

安全的代码转换——改变结构而不改变行为。从福勒的目录到遗留代码策略,知道何时以及如何在不破坏代码的情况下改进代码在提到“重构、重构、清理、遗留代码、代码异味、改进这一点、重组、技术债务、重写、提取、内联、重命名、移动方法、重构、遗留代码、代码气味、转换、增量、技术债务、干净代码”时使用。 来源:omer-metin/skills-for-antigravity。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/omer-metin/skills-for-antigravity --skill refactoring-guide
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 refactoring-guide?

安全的代码转换——改变结构而不改变行为。从福勒的目录到遗留代码策略,知道何时以及如何在不破坏代码的情况下改进代码在提到“重构、重构、清理、遗留代码、代码异味、改进这一点、重组、技术债务、重写、提取、内联、重命名、移动方法、重构、遗留代码、代码气味、转换、增量、技术债务、干净代码”时使用。 来源:omer-metin/skills-for-antigravity。

如何安装 refactoring-guide?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/omer-metin/skills-for-antigravity --skill refactoring-guide 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/omer-metin/skills-for-antigravity