Agent skill · Testing & QA

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.

Jeffallangithub.com/JeffallanGitHub ↗
claude-codeMIT
Install
npx skills add Jeffallan/claude-skills --skill python-pro --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.1.0
Declared author: https://github.com/Jeffallan
Path: skills/python-pro/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 10,871 · +100 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Core Workflow
  3. Reference Guide
  4. Constraints
  5. MUST DO
  6. MUST NOT DO
  7. Code Examples
  8. Type-annotated function with error handling
  9. Dataclass with validation
  10. Async pattern
  11. pytest fixture and parametrize
  12. mypy strict configuration (pyproject.toml)
  13. Output Templates
  14. Knowledge Reference
Ships with 5 files
  • references/async-patterns.md
  • references/packaging.md
  • references/standard-library.md
  • references/testing.md
  • references/type-system.md
More from claude-skills
All skills →
About this skill
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.

Keep going