This skill provides a comprehensive framework for writing high-quality Python code by enforcing industry-standard patterns and idiomatic practices. It guides Claude through core principles like 'Readability Matters' and 'Explicit is better than Implicit,' while offering deep technical implementation details for modern type hinting (Python 3.9+), advanced error handling, and sophisticated concurrency models. Whether you are refactoring legacy code or architecting a new package, this skill ensures your Python projects are efficient, scalable, and follow the 'Easier to Ask Forgiveness than Permission' (EAFP) philosophy.
주요 기능
01Guidance on concurrency for I/O-bound (Async/Threads) and CPU-bound (Multiprocessing) tasks
02Robust error handling strategies with exception chaining and custom hierarchies
03Advanced resource management patterns using custom context managers
04214,597 GitHub stars
05Strict adherence to PEP 8 standards and Pythonic coding idioms
06Modern type hinting support including Protocol-based duck typing and TypeVars
사용 사례
01Designing maintainable project structures and standardized package layouts
02Optimizing data processing performance using generators and lazy evaluation
03Refactoring legacy Python modules to meet modern PEP 8 and type-safe standards