What problem does it solve? Codebases accumulate unclear names, oversized functions, scattered error handling, and fragile tests that slow every change. This Skill provides a disciplined framework for diagnosing code quality issues and applying targeted improvements based on Robert C. Martin's Clean Code principles. ## Core Features & Use Cases - Six-Discipline Framework: Covers meaningful naming, small single-purpose functions, comment and formatting discipline, exception-based error handling, clean unit testing (TDD, F.I.R.S.T.), and a full code-smell catalog with targeted refactorings. - Scoring and Diagnostics: Rates code 0-10 against clean code criteria and provides a quick diagnostic checklist to pinpoint specific weaknesses. - Use Case: When reviewing a pull request with a 200-line function full of flag arguments and magic numbers, use this Skill to identify each smell, score the code, and get concrete refactoring steps such as extracting named helpers, splitting flag-based branches, and naming constants. ## Quick Start Review this function for clean code issues and suggest specific refactorings to improve its readability and testability.