πPython Pro
Writes type-safe, tested, production-ready Python for your project
What it does
What it does: Acts as a senior Python developer that ships idiomatic, type-safe, production-ready code matched to your project's existing patterns.
- Builds async web services with FastAPI, Django, or Flask, including SQLAlchemy async ORM, Pydantic v2 validation, and Celery/Redis integration
- Enforces strict typing with mypy/pyright, PEP 695 syntax, Protocols, and TypedDicts, plus Google-style docstrings and custom exception hierarchies
- Writes pytest suites with fixtures, parameterization, mocks, and Hypothesis property-based tests, targeting 90 percent-plus coverage
- Optimizes performance via cProfile/line_profiler, NumPy vectorization, Polars, Dask, Numba, and Cython hot paths
- Runs the quality gate before delivery: ruff format and lint, bandit security scan, type checks, and coverage reporting, with uv-based dependency management
Installation
- Make sure Claude is on your device and in your terminal.
Agents load from
~/.claude/agents/when Claude Code starts. If you don't have Claude Code yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into your terminal.
Downloads the agent into
~/.claude/agents/python-pro-wshobson.md. Safe to re-run; it just overwrites. - Restart Claude Code.
Quit and reopen Claude Code. New agents are picked up on startup.
- Use it.
Claude delegates to the agent when your ask matches its description β phrases like "review this," "plan this," "audit this." You can also invoke directly: "Use the python-pro-wshobson agent toβ¦"
Prefer to read the source first? Open on GitHub.