·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