·ty-skills
</>

ty-skills

jiatastic/open-python-skills

使用 ty 进行 Python 类型检查专业知识 - Astral 的极快类型检查器。在以下情况下使用:(1) 向 Python 代码添加类型注释,(2) 修复 ty 报告的类型错误,(3) 从 mypy/pyright 迁移到 ty,(4) 为项目配置 ty,(5) 了解高级类型模式(泛型、协议、交集类型),(6) 在编辑器(VS Code、Cursor、Neovim、PyCharm)中设置 ty。

12安装·0热度·@jiatastic

安装

$npx skills add https://github.com/jiatastic/open-python-skills --skill ty-skills

SKILL.md

Master Python type checking with ty - the extremely fast type checker written in Rust by Astral (creators of uv and Ruff).

| possibly-unresolved-reference | error | Variable might not be defined | | invalid-argument-type | error | Argument type mismatch | | incompatible-assignment | error | Assigned value incompatible | | missing-argument | error | Required argument missing | | unsupported-operator | error | Operator not supported for types |

| invalid-return-type | error | Return type mismatch | | division-by-zero | warn | Potential division by zero | | unused-ignore-comment | warn | Suppression not needed | | redundant-cast | warn | Cast has no effect | | possibly-unbound-attribute | warn | Attribute might not exist | | index-out-of-bounds | warn | Index might be out of range |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/jiatastic/open-python-skills --skill ty-skills
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 ty-skills?

使用 ty 进行 Python 类型检查专业知识 - Astral 的极快类型检查器。在以下情况下使用:(1) 向 Python 代码添加类型注释,(2) 修复 ty 报告的类型错误,(3) 从 mypy/pyright 迁移到 ty,(4) 为项目配置 ty,(5) 了解高级类型模式(泛型、协议、交集类型),(6) 在编辑器(VS Code、Cursor、Neovim、PyCharm)中设置 ty。 来源:jiatastic/open-python-skills。

如何安装 ty-skills?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jiatastic/open-python-skills --skill ty-skills 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/jiatastic/open-python-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01