What problem does it solve?
Python development teams often struggle with inconsistent patterns, scattered best practices, and setup friction when starting or maintaining projects. This skill provides a comprehensive, opinionated guide to writing modern, production-ready Python code that aligns with current best practices (Python 3.10+), tooling, and project organization.
Core Features & Use Cases
- Comprehensive guidelines covering typing, dataclasses, testing (pytest), packaging, logging, async/await patterns, error handling, pathlib usage, and project layout.
- Use cases include bootstrapping a new Python project, adding type hints and validation, creating dataclasses, writing tests, configuring pyproject.toml, and setting up virtual environments and tooling.
- Real-world scenarios: upgrading an existing codebase to modern typing, adding robust tests, and establishing consistent development workflows across teams.
Quick Start
Create a new Python project following these guidelines and set up a clean, modern development environment.