From python-engineering
Configures and runs ty Python type checker: CLI flags, toml/pyproject.toml setup, diagnostic interpretation, error suppression, Python version targeting, editor/CI integration.
npx claudepluginhub jamie-bitflight/claude_skills --plugin python-engineeringThis skill is limited to using the following tools:
With this skill loaded, Claude can configure ty, run type checks, interpret diagnostics, suppress specific errors, set Python version targets, resolve environment issues, and integrate ty into editors and CI pipelines.
references/cli-reference.mdreferences/configuration-schema.mdreferences/environment-and-modules.mdreferences/file-selection.mdreferences/installation.mdreferences/migration-guide.mdreferences/quick-reference.mdreferences/rules-and-diagnostics.mdreferences/troubleshooting.mdresources/workflows/environment-discovery.mdresources/workflows/python-version-resolution.mdscripts/sync_ty_releases.pyGenerates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
With this skill loaded, Claude can configure ty, run type checks, interpret diagnostics, suppress specific errors, set Python version targets, resolve environment issues, and integrate ty into editors and CI pipelines.
ty version:
!ty --version 2>/dev/null || echo "ty not found in PATH — use 'uvx ty check' or 'uv run ty check'"
TRIGGER: Activate when the user asks about ty — type checking Python code, configuring ty, suppressing type errors, understanding diagnostics, or integrating ty with editors or CI.
COVERS:
ty check flagsty.toml and pyproject.toml configuration schema (all sections)error, warn, ignore) and per-file overridesty: ignore, type: ignore, @no_type_check)DOES NOT COVER:
flowchart TD
Start([Task received]) --> Q1{Task type?}
Q1 -->|Run type check — flags and commands| CLI[Load cli-reference.md]
Q1 -->|Configure ty.toml or pyproject.toml| Config[Load configuration-schema.md]
Q1 -->|Suppress or tune rules and diagnostics| Rules[Load rules-and-diagnostics.md]
Q1 -->|Imports unresolved — env or module issues| Env[Load environment-and-modules.md]
Q1 -->|Install ty or add to editor| Install[Load installation.md]
Q1 -->|Exclude files or configure file scope| Files[Load file-selection.md]
Q1 -->|Python version errors or version targeting| PyVer[Load environment-and-modules.md<br>+ python-version-resolution workflow]
Q1 -->|Migrate from mypy or pyright| Mig[Load migration-guide.md]
Q1 -->|Something not working — errors or issues| Trouble[Load troubleshooting.md]
Q1 -->|Quick command lookup| Quick[Load quick-reference.md]
resources/workflows/python-version-resolution.mdresources/workflows/environment-discovery.mdComplete flag syntax for ty check, all subcommands (ty server, ty version, ty generate-shell-completion), output format options, exit codes, and invocation examples.
Load when the user asks how to run ty or what flags to use.
references/cli-reference.md
All configuration keys for ty.toml and pyproject.toml [tool.ty] — rules, analysis, environment, src, terminal, and overrides sections — with types, defaults, and examples.
Load when the user asks about configuration options or wants to set up a ty.toml.
references/configuration-schema.md
Rule level semantics (error, warn, ignore), CLI flags for rule severity, inline suppression comments (ty: ignore, type: ignore), the @no_type_check decorator, unused suppression detection, and diagnostic output formats.
Load when the user asks about suppressing errors or tuning rule severity.
references/rules-and-diagnostics.md
How ty discovers Python environments (virtual env, Conda, PATH), first-party and third-party module resolution, all environment variables ty reads or defines, and allowed-unresolved-imports / replace-imports-with-any settings.
Load when the user has unresolved import errors or needs to configure the Python environment.
references/environment-and-modules.md
All installation methods — uvx, uv add --dev, uv tool install, standalone installer, pipx, pip, mise, Docker, and GitHub Releases — plus shell autocompletion setup and editor integration (VS Code, Neovim, Zed, PyCharm, any LSP editor).
Load when the user asks how to install ty or add it to a project.
references/installation.md
How ty discovers Python files, configuring src.include and src.exclude patterns, the full list of default excluded directories, gitignore integration (respect-ignore-files), --force-exclude behavior, and virtual environment file handling.
Load when the user asks which files ty checks or how to exclude specific paths.
references/file-selection.md
Migration from mypy and pyright to ty. Command mapping, configuration translation, error code mapping (mypy codes to ty rule names), suppression comment conversion, behavioral differences, and automated baseline suppression with --add-ignore.
Load when the user asks about switching from mypy or pyright to ty.
references/migration-guide.md
All ty commands, flags, output formats, exit codes, suppression comment syntax, and common configuration patterns in a single lookup card. Load for quick command lookup or when the user needs a concise reference.
references/quick-reference.md
Common issues and solutions: ty not found, config not detected, unresolved imports, Python version mismatches, suppression comments not working, CI integration, editor LSP setup, and performance on large projects. Load when the user encounters errors or unexpected behavior with ty.
references/troubleshooting.md
error[unresolved-import]: Cannot resolve imported module 'X' — Add the directory containing module X to [tool.ty.environment] extra-paths in pyproject.toml; run uv run ty check <path> to verify; if errors persist, confirm pyproject.toml is the config ty is reading (a ty.toml in the project root takes precedence and pyproject.toml will be ignored).
# Run without install
uvx ty check
# Check project (in uv project)
uv run ty check
# Watch mode
ty check --watch
# Treat all warnings as errors
ty check --error all
# GitHub Actions CI output
ty check --output-format github
# Suppress a specific rule for one file
ty check --ignore unused-ignore-comment
# Target Python 3.11
ty check --python-version 3.11