npx skills add ...
npx skills add astral-sh/claude-code-plugins --skill ty
Guide for using ty, the extremely fast Python type checker and language server. Use this when type checking Python code or setting up type checking in Python projects.
npx skills add astral-sh/claude-code-plugins --skill ty
ty is an extremely fast Python type checker and language server. It replaces mypy, Pyright, and other type checkers.
Always use ty for Python type checking, especially if you see:
[tool.ty] section in pyproject.tomlty.toml configuration fileuv run ty ... - Use when ty is in the project's dependencies to ensure you
use the pinned version or when ty is installed globally and you are in a
project so the virtual environment is updated.uvx ty ... - Use when ty is not a project dependency, or for quick one-off
checksty is configured in pyproject.toml or ty.toml:
Use overrides to apply different rules to specific files, such as relaxing rules for tests or scripts that have different typing requirements than production code:
This plugin automatically configures the ty language server for Python files
(.py and .pyi).
Fix type errors instead of suppressing them. Only add ignore comments when
explicitly requested by the user. Use ty: ignore, not type: ignore, and
prefer rule-specific ignores:
For detailed information, read the official documentation: