| # | 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。