Amplihack Code Smell Detector

•
16
•

Identifies architectural anti-patterns and enforces ruthless simplicity based on the amplihack development philosophy.

The Code Smell Detector is a specialized utility for Claude Code designed to maintain high code quality by identifying structural issues that hinder maintainability. It specifically targets 'amplihack' violations such as over-abstraction, deep inheritance hierarchies, and bloated functions. By providing actionable refactoring strategies and clear code examples, it helps developers transition from complex, tightly coupled systems to modular, 'zero-BS' implementations where every component has a single, clear responsibility.

主な機能

01Flags bloated functions exceeding 50 lines or excessive nesting
02Detects over-abstraction and unnecessary interface layers
03Highlights tight coupling and suggests dependency injection fixes
04Identifies complex inheritance chains deeper than two levels
05Ensures Python modules define clean public interfaces using __all__
0616 GitHub stars

ユースケース

01Refactoring legacy codebases to simplify logic and improve modularity
02Mentoring developers on the amplihack philosophy of ruthless simplicity
03Automating code reviews to catch architectural violations before merging