What problem does it solve? Codebases accumulate unreadable functions, misleading names, inconsistent error handling, and missing tests, making every change slower and riskier. This Skill provides a disciplined framework for writing, reviewing, and refactoring code so it communicates intent clearly and welcomes change. ## 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 code smell detection with targeted refactorings. - 0-10 Quality Scoring: Rates any code against the framework and lists the specific improvements needed to reach 10/10, making reviews objective and actionable. - Quick Diagnostic Checklist: Audits a codebase with ten yes/no questions covering function length, duplication, magic numbers, test coverage, and error handling separation. - Use Case: When reviewing a pull request with a 200-line function and cryptic variable names, apply the framework to score it, identify smells like flag arguments and feature envy, and produce a concrete refactoring plan with before/after patterns. ## Quick Start Review this pull request using the clean code framework, score it out of 10, and list the specific refactorings needed to reach 10/10.