Python Engineering Guidelines

•
727
•

Enforces idiomatic patterns, PEP 20 philosophy, and Google-style documentation to ensure Python code is clean, maintainable, and efficient.

The Python Engineering Guidelines skill provides a robust framework for writing and refactoring Python code within Claude Code. It focuses on the 'Zen of Python' philosophy, emphasizing simplicity over complex abstractions and ensuring new code integrates seamlessly with existing patterns rather than just appending to them. The skill mandates modern toolsets like the uv package manager and pathlib, enforces strict Google-style docstring formatting, and promotes a YAGNI (You Aren't Gonna Need It) approach to prevent premature optimization and unnecessary architectural overhead.

Características Principales

01Integration-first approach to ensure new logic matches existing project patterns
02Promotion of modern Python tooling including uv, pathlib, and type unions
03Strict adherence to PEP 20 (Zen of Python) for simple and flat code structures
04Anti-abstraction rules to prevent unnecessary wrapper classes and generic complexity
05Automated Google-style docstring enforcement for high-quality documentation
06727 GitHub stars

Casos de Uso

01Onboarding AI agents to specific package management and testing workflows
02Refactoring legacy Python modules into clean, idiomatic codebases
03Standardizing documentation across a project using consistent Google-style docstrings