·code-smell-detector
</>

code-smell-detector

rysweet/amplihack

識別 amplihack 哲學特有的反模式。 在檢查代碼是否存在質量問題或重構時使用。 檢測:過度抽象、複雜繼承、大型函數(>50 行)、緊密耦合、缺少 __all__ 導出。 提供每種氣味的具體修復和解釋。

30安裝·3熱度·@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