ty-skills
✓使用 ty 進行 Python 類型檢查專業知識 - Astral 的極快類型檢查器。在以下情況下使用:(1) 向 Python 代碼添加類型註釋,(2) 修復 ty 報告的類型錯誤,(3) 從 mypy/pyright 遷移到 ty,(4) 為項目配置 ty,(5) 了解高級類型模式(泛型、協議、交集類型),(6) 在編輯器(VS Code、Cursor、Neovim、PyCharm)中設置 ty。
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