What problem does it solve?
Code smells are subtle design issues that hinder readability, maintainability, and evolution of a codebase; this Skill maps common smells to targeted refactorings to guide improvement.
Core Features & Use Cases
- Defines a catalog of common smells (Long Method, Large Class, Long Parameter List, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Magic Literals, Switch Statements, Shotgun Surgery, Divergent Change, Lazy Class, Dead Code, Speculative Generality, Comments) and their recommended refactorings (e.g., Extract Method, Extract Class/Module, Rename, Move Method).
- Provides concrete examples and decision rules to help PR reviews, design discussions, and incremental refactors.
- Serves as a reference during code reviews to quickly identify where to apply structural improvements.
Quick Start
Review a PR against the listed smells and apply the corresponding refactorings using the examples as a practical guide.