# ty

> Official Astral skill for fast Python static type checking with ty

- **Publisher**: Astral (Verified Publisher)
- **Upstream GitHub Repository**: https://github.com/astral-sh/agent-plugins/tree/main/plugins/astral/skills/ty
- **skills.sh Listing**: https://skills.sh/astral-sh/agent-plugins/ty
- **License**: Apache-2.0
- **GitHub Stars**: 321
- **Canonical Web Page**: https://builderthread.dev/skill/astral-sh/agent-plugins/ty
- **Parent Topic**: [python](https://builderthread.dev/skill/for/python.md)
- **Last Audited**: 2026-11-21
- **Supported Coding Agents**: Claude Code, Cursor, Codex, Windsurf

## Overview
Official Apache-2.0 skill from Astral teaching coding agents how to run ty type checks, resolve Python annotation mismatches, and tighten typing rules in CI.

Inspect the full upstream `SKILL.md` source and license on GitHub before installing: https://github.com/astral-sh/agent-plugins/tree/main/plugins/astral/skills/ty

## Install Command
```bash
npx skills add astral-sh/agent-plugins --skill ty
```

## When to Use This Skill
- Adding fast static type checking to a Python or FastAPI codebase with ty
- Resolving type narrowing and Optional/Union diagnostics cleanly
- Pairing type verification with uv and Ruff inside agent verification commands

## Focus Areas
- ty check CLI workflow
- Strict Python type hints
- Stub & narrowing diagnostics
- CI type gates

## Upstream Package Files
- `plugins/astral/skills/ty/SKILL.md`

---

## Ship With a Private Starter Repo, Living PRD & MCP Tasks

Builderthread pairs verified stack skills with a cited market brief, living PRD, private GitHub starter repo, and ordered MCP tasks for Claude Code, Cursor, and Codex.

- Supported languages: Rust, TypeScript, React Native (Expo), Python
- Starter stacks: Next.js SaaS, Hono API, FastAPI AI, Expo mobile, Tauri Rust desktop, WXT Chrome extension
- Start now: https://builderthread.dev/auth/signup
