python-pro
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.
npx skills add Jeffallan/claude-skills --skill python-pro --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 1. **Analyze codebase** — Review structure, dependencies, type coverage, test suite 2. **Design interfaces** — Define protocols, dataclasses, type aliases 3. **Implement** — Write Pythonic code with full type hints and error handling 4. **Test** — Create comprehensive pytest suite with >90% coverage 5. **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 ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | Type Syste
- When to Use This Skill
- Core Workflow
- Reference Guide
- Constraints
- MUST DO
- MUST NOT DO
- Code Examples
- Type-annotated function with error handling
- Dataclass with validation
- Async pattern
- pytest fixture and parametrize
- mypy strict configuration (pyproject.toml)
- Output Templates
- Knowledge Reference
What does the python-pro skill do?
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.
How do I install it?
Run `npx skills add Jeffallan/claude-skills --skill python-pro --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From Jeffallan/claude-skills, a repository with 10,871 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
