review-solid-clean-code
Installation
SKILL.md
Review: SOLID Principles and Clean Code
When to Use
- Pull request review when code smells are present
- After detecting Bloater or Change Preventer smells (see
detect-code-smells) - A class or module is hard to test in isolation
- A change in one place forces changes in many others
SOLID Principles
SRP -- Single Responsibility Principle
One class = one reason to change.
Red Flags: Class name contains "Manager"/"Utils", 10+ public methods spanning unrelated domains, unrelated imports.