发现和使用优秀的技能扩展
Python编码指南和最佳实践。在编写、审查或重构Python代码时使用。强制遵循PEP 8风格,通过py_compile进行语法验证,执行单元测试,仅使用现代Python版本(不使用已停止支持的版本),在可用时使用uv进行依赖管理,以及采用符合Python风格的惯用模式。
Python coding guidelines and best practices. Use when writing, reviewing, or refactoring Python code. Enforces PEP 8 style, syntax validation via py_compile, unit test execution, modern Python versions only (no EOL), uv for dependency management when available, and idiomatic Pythonic patterns.