python-style
Installation
SKILL.md
Python Style Best Practices Skill
This skill automatically activates when writing Python code to ensure consistency with PEP standards, type hints, and modern Python idioms.
Core Standards
- PEP 8: Naming conventions, imports, line length
- Type Hints: Modern syntax (
list[str]notList[str],X | NonenotOptional[X]) - Docstrings: Google style with Args, Returns, Raises sections
- Imports: stdlib → third-party → local, alphabetically sorted
Naming Conventions
# Classes: PascalCase
class UserAccount:
pass