什麼是 fix-types?
互動式修復 Python 程式碼中的任何類型檢查問題 來源:saaspegasus/django-skills。
互動式修復 Python 程式碼中的任何類型檢查問題
透過命令列快速安裝 fix-types AI 技能到你的開發環境
來源:saaspegasus/django-skills。
When mypy can't infer the correct type, prefer using cast() over # type: ignore:
Why: cast() explicitly documents what type you expect, making the code more readable and maintainable. It also doesn't silence other potential errors on the same line.
When adding null checks to satisfy mypy, prefer raising proper exceptions over using assert:
互動式修復 Python 程式碼中的任何類型檢查問題 來源:saaspegasus/django-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/saaspegasus/django-skills --skill fix-types互動式修復 Python 程式碼中的任何類型檢查問題 來源:saaspegasus/django-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/saaspegasus/django-skills --skill fix-types 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/saaspegasus/django-skills