## What problem does it solve?
It solves the challenge of inconsistent Python code quality by guiding developers to adopt modern typing patterns, dataclasses, enums, protocols, and pattern matching, reducing runtime errors and improving readability and maintainability.
## Core Features & Use Cases
- Type hints, union types with |, TypeAlias, and avoiding Any for strong static analysis.
- Dataclasses for structured data models and immutability using frozen=True where appropriate.
- Protocol-based design and duck-typing to define flexible interfaces and improve testability.
- Enum-based constants for safer, explicit values and clearer intent.
- Pattern matching and type guards for clearer, safer conditional logic.
### Quick Start
Use this skill to refactor a module by introducing a typed dataclass for a User with a nested Address, replacing loose dictionaries with strict types, and adding a Protocol to describe serialization.