What problem does it solve? Codebases accumulate unreadable naming, bloated functions, hidden duplication, and fragile error handling that slow down every future change. This Skill provides concrete, example-driven rules for reviewing code quality and refactoring it systematically. ## Core Features & Use Cases - Naming and Function Design Standards: Enforces self-documenting variable, boolean, and constant names, plus small single-purpose functions with object parameters instead of long parameter lists. - SOLID Principles with Code Examples: Demonstrates Single Responsibility, Open/Closed, and Dependency Inversion through before-and-after TypeScript examples. - Code Smell Detection and Refactoring: Maps common smells (long functions, deep nesting, magic numbers, god classes) to specific refactoring techniques like extract method and guard clauses. - Use Case: When reviewing a pull request, apply the smell-to-refactoring table to identify deep nesting and replace it with early-return guard clauses, keeping the happy path unindented. ## Quick Start Review this TypeScript module for code smells and refactor it following clean code principles.