·code-refinement
</>

code-refinement

分析並提高即時程式碼品質:重複、演算法效率、簡潔程式碼原則、架構適配、防傾斜模式和錯誤處理穩健性。在提高程式碼品質、減少 AI 溢位、為了清晰而重構、最佳化演算法、應用乾淨程式碼原則時使用。刪除無效/未使用的程式碼時請勿使用(使用 conserve:bloat- detector)。審查錯誤(使用 pential:bug-review)。選擇架構範例(使用原型技能)。此技能可以積極改進即時程式碼,透過品質細化(即時程式碼改進)來補充膨脹檢測(死碼刪除)。

18安裝·0熱度·@athola

安裝

$npx skills add https://github.com/athola/claude-night-market --skill code-refinement

如何安裝 code-refinement

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

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

來源:athola/claude-night-market。

SKILL.md

查看原文

| # | Dimension | Module | What It Catches |

| 1 | Duplication & Redundancy | duplication-analysis | Near-identical blocks, similar functions, copy-paste | | 2 | Algorithmic Efficiency | algorithm-efficiency | O(n^2) where O(n) works, unnecessary iterations | | 3 | Clean Code Violations | clean-code-checks | Long methods, deep nesting, poor naming, magic values |

| 4 | Architectural Fit | architectural-fit | Paradigm mismatches, coupling violations, leaky abstractions | | 5 | Anti-Slop Patterns | clean-code-checks | Premature abstraction, enterprise cosplay, hollow patterns | | 6 | Error Handling | clean-code-checks | Bare excepts, swallowed errors, happy-path-only |

分析並提高即時程式碼品質:重複、演算法效率、簡潔程式碼原則、架構適配、防傾斜模式和錯誤處理穩健性。在提高程式碼品質、減少 AI 溢位、為了清晰而重構、最佳化演算法、應用乾淨程式碼原則時使用。刪除無效/未使用的程式碼時請勿使用(使用 conserve:bloat- detector)。審查錯誤(使用 pential:bug-review)。選擇架構範例(使用原型技能)。此技能可以積極改進即時程式碼,透過品質細化(即時程式碼改進)來補充膨脹檢測(死碼刪除)。 來源:athola/claude-night-market。

可引用資訊

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

安裝指令
npx skills add https://github.com/athola/claude-night-market --skill code-refinement
分類
</>開發工具
認證
收錄時間
2026-02-28
更新時間
2026-03-10

Browse more skills from athola/claude-night-market

快速解答

什麼是 code-refinement?

分析並提高即時程式碼品質:重複、演算法效率、簡潔程式碼原則、架構適配、防傾斜模式和錯誤處理穩健性。在提高程式碼品質、減少 AI 溢位、為了清晰而重構、最佳化演算法、應用乾淨程式碼原則時使用。刪除無效/未使用的程式碼時請勿使用(使用 conserve:bloat- detector)。審查錯誤(使用 pential:bug-review)。選擇架構範例(使用原型技能)。此技能可以積極改進即時程式碼,透過品質細化(即時程式碼改進)來補充膨脹檢測(死碼刪除)。 來源:athola/claude-night-market。

如何安裝 code-refinement?

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

這個 Skill 的原始碼在哪?

https://github.com/athola/claude-night-market