Python с типизацией и async для продакшна
engineering
Python pro is a Claude Code skill that generates production-ready Python 3.11+ code with full type annotations, async patterns, and structured error handling. Reach for it when you're starting a typed Python project from scratch, when mypy keeps failing and strict-mode configuration feels overwhelming, when you need a solid pytest suite with fixtures and parametrized cases, or when async/await I/O logic is getting tangled and hard to reason about. The skill drives a full workflow: designing interfaces with Protocol and dataclasses, implementing with mandatory type hints on every signature, building pytest suites targeting above 90% coverage, and validating the result with mypy --strict, black, and ruff. It covers pyproject.toml setup, pathlib, asyncio task groups, functools, contextlib, Pydantic, and Poetry packaging. No deployment needed — it's a behavioral instruction for Claude Code that shapes how it writes Python. Direction is writing and reviewing Python code, not infrastructure automation (use devops-engineer for that) or REST API scaffolding (use fastapi-expert). Works best with Python 3.11+ projects; not the right fit for legacy Python 2 codebases or quick throwaway scripts where type safety isn't a priority.
- #python
- #type-safety
- #async-programming
- #pytest
- #mypy
- #best-practices