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