·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