# python-pro

A Claude skill that steers Python 3.12+ development: async patterns, typing, profiling, plus uv, ruff, pydantic and FastAPI.

- skill · `type=skill` · Claude Code · 399 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/python-pro
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/python-pro

## What it does

The skill hands the agent a Python 3.12+ expert role and a matching toolset: uv for packages, ruff for linting and formatting, mypy and pyright for type checks, pytest with plugins for tests. It works in steps — confirm runtime, dependencies and performance targets first, pick patterns next, then implement, test and profile for latency and memory.

Coverage runs from async/await with asyncio, aiohttp and trio through dataclasses, pydantic models, structural pattern matching, protocols and generics. Web work gets its own sections: FastAPI, Django, Flask, SQLAlchemy 2.0+ with async support. Data and ML, Docker and Kubernetes deployment, and advanced patterns like dependency injection and metaprogramming are in there too.

The skill states its own limits: not for non-Python stacks, not for basic syntax tutoring, and not useful when you cannot touch the runtime or dependencies. Worth checking before you install — if your environment is pinned, the 3.12+ advice stays theoretical.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/python-pro
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill python-pro -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/python-pro/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/python-pro/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/python-pro/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/python-pro/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates python-pro
```

2. **Manually: put the files in place**
- File: `.github/skills/python-pro/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/python-pro
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/python-pro/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/python-pro

## When to use it
- move a project from pip to uv
- speed up I/O-bound code with async
- wire ruff and mypy into one pipeline
- stand up a FastAPI service with pydantic validation
- find a bottleneck with a profiler

## Example prompts
- Rewrite this module in Python 3.12 with type hints and async
- Set up uv and ruff for this project and add pre-commit
- Profile this code and tell me what to optimize

## Similar
- [fastapi-python](https://affpapa.org/en/nevibecode/skills/fastapi-python.md) — skill · 13900 installs
- [python-fastapi-best-practices-cursorrules-prompt-f](https://affpapa.org/en/nevibecode/rules/python-fastapi-best-practices-cursorrules-prompt-f.md) — rule · ★ 41011
- [python](https://affpapa.org/en/nevibecode/skills/siviter-xyz-python.md) — skill · 349 installs
- [fastapi-patterns](https://affpapa.org/en/nevibecode/skills/fastapi-patterns.md) — skill · 4900 installs
- [fastapi-development](https://affpapa.org/en/nevibecode/skills/fastapi-development.md) — skill · 618 installs
- [fastapi-templates](https://affpapa.org/en/nevibecode/skills/fastapi-templates.md) — skill · 25840 installs

## Other versions with the same name
- [python-pro · jeffallan](https://affpapa.org/en/nevibecode/skills/httpsgithubcomjeffallan-python-pro.md) — 8800 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 205 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
