Standard-Syntax
- 2 skills
- 0 followers
- last month last updated
- ▌ Python 313 Modern Syntax · standard-syntax bundlePython 3.13 modern syntax and typing reference. Use this skill when answering questions about or applying Python 3.13+ features including: PEP 695 type parameter syntax and runtime behavior (TypeVar, __type_params__, lazy evaluation, type statement), PEP 667 locals() semantics changes, PEP 594 module removals, PEP 696 type parameter defaults, PEP 742 TypeIs vs TypeGuard, typing.ReadOnly, warnings.deprecated, typing.Never vs NoReturn, sys._is_gil_enabled(), or any Python 3.13 typing changes. Trigger aggressively —LLMs have persistent misconceptions about all of these topics.
- ▌ Python Modern Design Patterns · standard-syntaxModern 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.