A comprehensive guide to Python's type system that goes beyond basic annotations. Covers generics, protocols, and type narrowing with practical patterns you'll actually use. The generic repository examples and protocol definitions are solid starting points for building type-safe APIs. Works well with mypy strict mode and pyright for catching errors before runtime. The Result class and structural typing patterns are especially useful for larger codebases where type safety becomes critical for maintenance.
npx skills add https://github.com/wshobson/agents --skill python-type-safety