ty

Run static type checks on Python projects with the ty tool.

15|4|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/cofin/flow --skill ty-cofin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ty
Source: https://github.com/cofin/flow/tree/main/skills/ty
Command: npx skills add https://github.com/cofin/flow --skill ty-cofin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the need for fast, zero-configuration static type checking in Python projects, improving code quality and catching errors early.

Core Features & Use Cases

  • Fast Type Checking: Leverages ty for rapid analysis of Python code.
  • Zero-Config: Designed to work out-of-the-box without complex setup.
  • Use Case: Integrate ty into your CI pipeline to ensure type safety on every commit, catching potential bugs before they reach production.

Quick Start

Ensure ty is installed and then run uvx ty check to perform type checks.

Frequently Asked Questions about ty

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is zero-configuration static type checking for Python?

Zero-configuration static type checking analyzes Python code for type errors without requiring complex setup. The ty tool performs rapid analysis out-of-the-box, catching potential bugs early in development or CI pipelines.

How do I run type checks on my Python project with ty?

To run type checks with ty, first install the package using uv, then execute the command `uvx ty check` in your project directory to perform rapid static analysis and identify type errors.

Can I integrate ty type checking into my CI pipeline?

Yes, you can integrate ty into CI pipelines to ensure type safety on every commit. Running `uvx ty check` in CI catches potential bugs before production, providing continuous code quality assurance.

Do I need uv installed to use ty for Python type checking?

Yes, you need uv installed because ty is explicitly installed and executed via the uv package manager using the `uvx ty check` command to perform high-performance static type analysis.

How does ty compare to other Python static analysis tools?

ty distinguishes itself from other Python static analysis tools through its high-performance analysis and zero-configuration design, enabling rapid type checking without complex setup, built by Astral for fast development and CI environments.

Why use a fast type checker for Python code?

A fast type checker like ty rapidly identifies type errors in Python projects, enabling early bug detection during development. This high-performance analysis ensures code quality without slowing down development or CI pipelines.