Skip to content
SkillModel-led1,270 tokens in use

python-pro

Writes type-safe, async-first Python 3.11+ with mypy strict, dataclasses, pytest suites and black and ruff validation.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/python-pro
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing python-pro costs

83tokens idle
1,270tokens in use
12,745tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

writes filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure23/25
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 140

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

Python Pro guides Claude through Python 3.11+ development in five steps: review the codebase, design protocols and dataclasses, implement with full type hints, write a pytest suite above 90 percent coverage, then validate with mypy strict, black and ruff.

The skill has examples for a typed function with documented errors, a validated dataclass, concurrent fetching with asyncio and httpx, pytest fixtures with parametrize and a strict mypy configuration.

What You Get

  • A five-step workflow with explicit fix-and-rerun instructions for mypy, tests and ruff or black
  • Examples for typed functions, a dataclass with validation, an asyncio gather pattern, pytest fixtures with parametrize and a mypy strict config
  • Reference files for the type system, async patterns, the standard library, testing and packaging
  • Rules such as X | None over Optional, pathlib over os.path, no mutable defaults and no bare except
  • An output template with a typed module, a test file and confirmation that mypy strict passes

Common Use Cases

  • Adding full type coverage to an untyped module
  • Writing concurrent I/O code with asyncio
  • Building a pytest suite with fixtures and parametrized cases
  • Packaging a library with Poetry and pyproject.toml
  • Profiling and tuning a slow Python function

What Makes It Unique

The skill puts tooling in the loop: mypy strict, pytest, black and ruff are named steps with instructions for what to do when each fails. Its constraints reflect current Python, such as union syntax with the pipe character, pathlib and dataclasses, and a coverage target above 90 percent.

Under The Hood

The skill is instructions and reference markdown that Claude loads by topic; it ships no scripts. Following it, Claude writes Python source and test files in your project and runs mypy, pytest, black and ruff from the command line. The async example fetches URLs over HTTP, so code written from it can make network requests when run.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers