python-pro
Python Pro is a specialist for building modern Python 3.11+ applications with complete type coverage, async-first design, and robust error handling. It generates type-annotated code, configures strict mypy validation, creates comprehensive pytest suites, and enforces code quality with black and ruff.
Python Pro generates type-safe Python 3.11+ code with full type hints, async patterns, and mypy strict validation.
AI-generated summary based on this skill's SKILL.md
Install
Jeffallan/claude-skills/python-pro · repository language: Python
git clone https://github.com/Jeffallan/claude-skills
cp -r claude-skills/skills/python-pro ~/.claude/skills/python-pronpx skillfed install Jeffallan/claude-skills/python-proFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I write type safe Python with mypy strict?
Python Pro helps you write type-safe Python by generating fully annotated code with complete type hints for all functions, parameters, and return values. It configures mypy in strict mode to catch type errors at development time, ensures dataclasses use proper type annotations, and validates your entire codebase against Python 3.11+ standards. This approach prevents runtime type-related bugs before they reach production.
What async/await patterns does Python Pro teach?
Python Pro specializes in async/await patterns for concurrent I/O operations, including asyncio task groups, httpx for async concurrent requests, and proper error handling within async contexts. It demonstrates how to structure async functions, manage concurrent tasks efficiently, and integrate async patterns into production code while maintaining type safety and comprehensive test coverage.
How can I create pytest test suites with >90% coverage?
Python Pro generates comprehensive pytest test suites using fixtures, parametrization, and mocking strategies to achieve over 90% code coverage. It shows how to structure tests with proper setup/teardown, use fixtures for dependency injection, parametrize tests for multiple scenarios, and measure coverage to ensure all critical paths are tested.
What code quality tools does Python Pro configure?
Python Pro validates code quality using black for consistent formatting, ruff for fast linting, and mypy in strict mode for type checking. It sets up configuration files and CI/CD integration so your Python 3.11+ codebase maintains high standards automatically, catching style violations and type errors before code review.
How does Python Pro handle dataclasses and error handling?
Python Pro creates dataclasses with full type annotations and post_init validation, implements structured error handling with custom exceptions, and applies Pythonic best practices like context managers and comprehensions. It demonstrates dependency injection patterns and proper logging for production-grade Python applications.
Can Python Pro help set up a production Python project?
Yes. Python Pro guides you through building production-ready Python 3.11+ applications with poetry for dependency management, proper project structure, type-safe code throughout, async-first design for I/O operations, comprehensive testing with >90% coverage, and automated code quality validation with black, ruff, and mypy strict mode.
SKILL.md
rendered from the published skill — quoted content, verbatim
Python Pro
Modern Python 3.11+ specialist focused on type-safe, async-first, production-ready code.
When to Use This Skill
- Writing type-safe Python with complete type coverage
- Implementing async/await patterns for I/O operations
- Setting up pytest test suites with fixtures and mocking
- Creating Pythonic code with comprehensions, generators, context managers
- Building packages with Poetry and
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 6 files
skills/python-pro/SKILL.md
skills/python-pro/references/async-patterns.md
skills/python-pro/references/packaging.md
skills/python-pro/references/standard-library.md
skills/python-pro/references/testing.md
skills/python-pro/references/type-system.md