# `Nous.Skills.PythonTyping`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/skills/python_typing.ex#L1)

Built-in skill — modern Python typing and data containers (3.10+).

Injects a system-prompt section on `mypy --strict`-compatible annotations,
choosing between Pydantic `BaseModel`, `@dataclass`, `TypedDict` and
`Protocol`, structural subtyping with `Protocol` rather than ABCs, structural
`match` statements, the `X | None` union syntax, Pydantic v2 `ConfigDict`,
naming conventions, and Google-style docstrings.

Activates on prompts containing "python type", "type hint", "pydantic",
"dataclass", "protocol class", "pattern matching python" or "mypy".
Group `:coding`; tags `:python`, `:typing`, `:pydantic`, `:modern`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
