·code-smell-detector
</>

code-smell-detector

rysweet/amplihack

识别 amplihack 哲学特有的反模式。 在检查代码的质量问题或重构时使用。 检测:过度抽象、复杂继承、大型函数(>50 行)、紧密耦合、缺少 __all__ 导出。 提供每种气味的具体修复和解释。

31安装·2热度·@rysweet

安装

$npx skills add https://github.com/rysweet/amplihack --skill code-smell-detector

SKILL.md

This skill identifies anti-patterns that violate amplihack's development philosophy and provides constructive, specific fixes. It ensures code maintains ruthless simplicity, modular design, and zero-BS implementations.

What It Is: Unnecessary layers of abstraction, generic base classes, or interfaces that don't provide clear value.

Why It's Bad: Violates "ruthless simplicity" - adds complexity without proportional benefit. Makes code harder to understand and maintain.

识别 amplihack 哲学特有的反模式。 在检查代码的质量问题或重构时使用。 检测:过度抽象、复杂继承、大型函数(>50 行)、紧密耦合、缺少 __all__ 导出。 提供每种气味的具体修复和解释。 来源:rysweet/amplihack。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/rysweet/amplihack --skill code-smell-detector
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 code-smell-detector?

识别 amplihack 哲学特有的反模式。 在检查代码的质量问题或重构时使用。 检测:过度抽象、复杂继承、大型函数(>50 行)、紧密耦合、缺少 __all__ 导出。 提供每种气味的具体修复和解释。 来源:rysweet/amplihack。

如何安装 code-smell-detector?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/rysweet/amplihack --skill code-smell-detector 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/rysweet/amplihack