Python Modern Design Patterns

Modern Python design patterns, typing idioms, and language mechanics. Use whenever the user asks about or is working with: Protocol classes and @runtime_checkable, asynccontextmanager exception handling, weakref/WeakMethod behavior, composition roots, ABC vs Protocol selection, or the Builder pattern vs dataclass. Also triggers for any question involving structural subtyping, garbage collection timing, or context manager suppression semantics.

Standard-Syntax Updated

File contents

Standard-Syntax/cc-skill-optimizer/tree/main/skills/python-modern-design-patterns commit f5233ca301

Frequently asked questions

npx skillmds@latest add standard-syntax/python-modern-design-patterns