# python-pro

> Claude/Codex skill by [@jeffallan](https://omgskills.com/library/jeffallan/index.md) · 12k stars · Updated 2026-10-30

Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async/await patterns, dataclasses, dependency injection, logging configuration, and structured error handling.

Tags: ai-agents, claude, claude-code, claude-marketplace, claude-skills

## Install

```sh
git clone https://github.com/Jeffallan/claude-skills /tmp/claude-skills && ln -s /tmp/claude-skills/skills/python-pro ~/.claude/skills/python-pro
```

## From README

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 proper project structure Performance optimization and profiling Core Workflow Analyze codebase — Review structure, dependencies, type coverage, test suite Design interfaces — Define protocols, dataclasses, type aliases Implement — Write Pythonic code with full type hints and error handling Test — Create comprehensive pytest suite with \>90% coverage Validate — Run mypy --strict, black, ruff If mypy fails: fix type errors reported and re-run before proceeding If tests fail: debug assertions, update fixtures, and iterate until green If ruff/black reports issues: apply auto-fixes, then re-validate...

## Links

- HTML page: https://omgskills.com/library/jeffallan/claude-skills/python-pro/
- GitHub: https://github.com/Jeffallan/claude-skills
- Author: [@jeffallan](https://omgskills.com/library/jeffallan/index.md)

## More from this repo

- [api-designer](https://omgskills.com/library/jeffallan/claude-skills/api-designer/index.md) — Used when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture.
   - [@jeffallan](https://omgskills.com/library/jeffallan/index.md) · 12k stars
- [architecture-designer](https://omgskills.com/library/jeffallan/claude-skills/architecture-designer/index.md) — Used when designing new high-level system architecture, reviewing existing designs, or making architectural decisions.
   - [@jeffallan](https://omgskills.com/library/jeffallan/index.md) · 12k stars
- [atlassian-mcp](https://omgskills.com/library/jeffallan/claude-skills/atlassian-mcp/index.md) — Integrates with Atlassian products to manage project tracking and documentation via MCP protocol.
   - [@jeffallan](https://omgskills.com/library/jeffallan/index.md) · 12k stars
