·refactoring
>_

refactoring

技術債修復和程式碼重組工作流程。改進時使用 程式碼結構、降低複雜度、提取抽像或付出代價 累積的技術債。

10安裝·0熱度·@ar4mirez

安裝

$npx skills add https://github.com/ar4mirez/samuel --skill refactoring

如何安裝 refactoring

透過命令列快速安裝 refactoring AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/ar4mirez/samuel --skill refactoring
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:ar4mirez/samuel。

SKILL.md

查看原文

Structured approach to technical debt remediation. Improve code structure while maintaining behavior through incremental, safe changes.

| Guardrail Violations | Functions >50 lines, files >300 lines | | Complexity Threshold | Cyclomatic complexity >10 | | Code Duplication | Same logic in 3+ places | | Quarterly Review | Regular technical debt assessment | | Pre-Feature | Before adding features to messy code | | Post-Incident | After bugs caused by confusing code |

| Long Method | >50 lines, multiple responsibilities | High | | Large Class | >300 lines, low cohesion | High | | Feature Envy | Method uses other class more than own | Medium | | Data Clumps | Same group of variables together | Medium | | Primitive Obsession | Overuse of primitives vs objects | Medium | | Switch Statements | Large switch blocks | Low |

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/ar4mirez/samuel --skill refactoring
分類
>_效率工具
認證
收錄時間
2026-02-22
更新時間
2026-03-11

Browse more skills from ar4mirez/samuel

快速解答

什麼是 refactoring?

技術債修復和程式碼重組工作流程。改進時使用 程式碼結構、降低複雜度、提取抽像或付出代價 累積的技術債。 來源:ar4mirez/samuel。

如何安裝 refactoring?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ar4mirez/samuel --skill refactoring 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/ar4mirez/samuel

詳情

分類
>_效率工具
來源
skills.sh
收錄時間
2026-02-22