什么是 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