python-type-hints-guide
✓Python 类型提示的综合参考指南、使用 mypy 进行静态类型检查、现代类型注释模式(PEP 484、585、604、612、613)以及 Python 3.9+ 的类型提示最佳实践。在代码审查期间使用,以确保正确使用类型注释、评估 mypy 配置并识别类型提示反模式。
SKILL.md
This skill provides comprehensive guidance on Python type hints and static type checking for Python 3.9+ codebases. It serves as a reference during code reviews to ensure proper type annotation usage, evaluate type hint quality, and promote best practices for gradual typing adoption.
This skill should be referenced by the uncle-duke-python agent when:
Type hints (introduced in PEP 484) enable static type checking in Python while maintaining the language's dynamic nature. Modern Python (3.9+) has significantly improved type hint syntax with built-in generic types and the union operator. Proper type hints improve:
Python 类型提示的综合参考指南、使用 mypy 进行静态类型检查、现代类型注释模式(PEP 484、585、604、612、613)以及 Python 3.9+ 的类型提示最佳实践。在代码审查期间使用,以确保正确使用类型注释、评估 mypy 配置并识别类型提示反模式。 来源:clostaunau/holiday-card。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/clostaunau/holiday-card --skill python-type-hints-guide- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 python-type-hints-guide?
Python 类型提示的综合参考指南、使用 mypy 进行静态类型检查、现代类型注释模式(PEP 484、585、604、612、613)以及 Python 3.9+ 的类型提示最佳实践。在代码审查期间使用,以确保正确使用类型注释、评估 mypy 配置并识别类型提示反模式。 来源:clostaunau/holiday-card。
如何安装 python-type-hints-guide?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/clostaunau/holiday-card --skill python-type-hints-guide 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/clostaunau/holiday-card
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01