This skill equips Claude with specialized knowledge of the Google Python Style Guide, enabling it to write high-quality Python code, perform style-compliant code reviews, and refactor existing scripts. It focuses on modern Python practices, including strict type annotations, context managers for resource handling, and efficient import management. By providing domain-specific guidance on naming conventions, docstring formatting, and common anti-patterns, it ensures that all Python output is consistent, readable, and production-ready.
主要功能
01Strict type annotation enforcement for function signatures
020 GitHub stars
03Automated guidance for Google-style docstring formatting
04Google Style Guide compliance for Python coding
05Standardized naming conventions for classes, functions, and variables
06Best practices for exception handling and resource management
使用场景
01Refactoring legacy Python code into modern, clean, and efficient structures
02Generating new Python modules with consistent formatting and documentation
03Reviewing existing Python files for style violations and missing type hints