What problem does it solve? Python codebases often accumulate design debt: classes with multiple responsibilities, tangled dependencies, raw SQL mixed with domain logic, and speculative abstractions. This Skill enforces Clean Code Developer (CCD) principles automatically whenever Python code is written, refactored, or reviewed, so the output follows proven architecture rules without the user needing to ask. ## Core Features & Use Cases - Full CCD principle coverage: Enforces all four CCD grades — Orange (SRP, SoC, SLA), Yellow (ISP, DIP, LSP, information hiding, least astonishment), Green (OCP, Tell Don't Ask, Law of Demeter), and Blue (YAGNI, design-first, component orientation) — each with concrete Python before/after examples. - Python-specific idioms: Maps each principle to the right Python tool, such as typing.Protocol for minimal interfaces, constructor injection for dependencies, dict dispatch for the Open/Closed Principle, and all for module contracts. - Self-review checklist: Provides a 13-point checklist to verify non-trivial code before presenting it, covering SRP, DIP, ISP, LSP, LoD, YAGNI, and more. - Use Case: When asked to add a payment feature supporting Stripe, PayPal, and bank transfer, the Skill produces a PaymentProvider Protocol with strategy dict dispatch instead of an if/elif chain, keeping the code open for extension. ## Quick Start Ask the assistant to write or refactor any Python class, service, or module, and it will automatically apply clean code principles such as dependency injection and single responsibility.