What problem does it solve?
Inconsistent Python style, missing or incorrect type annotations, weak error handling, and unclear docstrings cause review friction, runtime bugs, and long-term maintenance costs; this Skill provides a single, opinionated reference derived from the Google Python Style Guide to reduce those problems and improve code readability and safety.
Core Features & Use Cases
- Idiomatic patterns: guidance on common Python idioms, iteration, comprehensions, and avoiding anti-patterns.
- Type annotations & generics: rules for annotating public APIs, preferring modern union syntax, and using abstract container types in signatures.
- Formatting & tooling: recommendations for linters and type checkers, import ordering, formatter choice, and CI enforcement.
- Docstrings & naming: standards for triple-double-quote docstrings, parameter/return sections, and consistent naming conventions.
- Use Cases: writing new modules, performing code reviews, preparing public APIs, and establishing repository-wide style checks.
Quick Start
Ask the assistant to review a Python file for Google-style issues, add missing public API type annotations, recommend docstring improvements, and suggest import and formatting fixes.