Guide Python type annotations using the typing module: Protocol, TypeVar, ParamSpec, Generic, Literal, TypeAlias, overload, and dataclass field typing. Use when the user writes Python type hints, asks about typing, creates generic classes, defines protocols, or works with mypy/pyright. Trigger when you see untyped Python code that should be typed.
El comando exacto puede variar según el repositorio. Consulta el README en GitHub.
Para el autor de la skill
Pega en el README de tu repo
Muestra que tu skill está catalogada en Skillteca, genera backlink y tráfico rastreable.
[](https://www.skillteca.com.br/skills/type-hints-guide?utm_source=badge&utm_medium=readme&utm_campaign=badge)
Recibe nuevas skills de DevOps e Infra todos los lunes
Un email corto con solo las skills nuevas de DevOps e Infra. 4 minutos de lectura, sin spam, te das de baja con un clic.
Confirmas tu email en el primer envío. Sin spam. Te das de baja con un clic.
Python Type Hints Guide
Write precise, expressive type annotations that catch bugs at static analysis time.
Modern Python typing (3.10+) is powerful enough to express complex relationships
without runtime overhead.
When to Use
User writes or refactors Python functions without type hints
User asks about typing, generics, or protocols
User encounters mypy or pyright errors
User builds libraries or APIs that need clear contracts
User works with complex data structures or callbacks
[Description truncada. Veja o README completo no GitHub.]