What problem does it solve? Python codebases often drift into inconsistent structure, untyped functions, unpinned dependencies, and fragile tests. This Skill provides a consistent set of engineering conventions so AI-assisted Python development follows sound practices for typing, packaging, testing, async code, and error handling. ## Core Features & Use Cases - Type Safety & Structure: Enforces PEP 484/526/604 type hints, modern union syntax, and clean package layouts with pyproject.toml-based configuration. - Dependency & Testing Standards: Promotes lock files for applications, pytest with fixtures and parametrize, and boundary-focused mocking. - Async & Guardrails: Guides asyncio usage with TaskGroup, and flags classic bugs like mutable default arguments, bare except clauses, and import cycles. - Use Case: When asking an AI to scaffold a new Python service or refactor a module, this Skill ensures the output uses type hints, pathlib, structured logging, and pytest conventions automatically. ## Quick Start Apply the python-stack skill when writing or reviewing Python code so the output follows modern typing, packaging, testing, and async conventions.