16 skills built for Python

Claude Code skills for Python

Python skills for services, data work and automation: typed modern Python, packaging with uv, pytest suites that stay fast, FastAPI and Django backends, and pandas or Polars analysis that survives messy input. Many AI engineering skills here are Python-first too.

13 more Pythonskills

Each card opens the full playbook, example prompts and install commands.

Status Line Scripts

Context, cost and branch at a glance, under 50 ms

Claude builds a status line from the documented stdin contract instead of guessing field names, treats every optional field as possibly absent, caches git calls per session so the bar stays fast, and pipe-tests full, empty and malformed payloads before registering it. Ships a stdlib Python status line with a color-coded context bar, cost and 5-hour limit you can adapt.

statusline-scripts 165 lines · 2 files

TDD Loop

See it fail, make it pass, then clean it up

Makes Claude work test-first for real: it writes a test list, runs every new test to confirm it fails on the assertion rather than a typo, writes the least code to pass, and refactors only on green. It picks the next test deliberately, checks coverage on touched files, and sabotages key code paths to prove the tests can actually catch regressions.

tdd-loop 192 lines

htmx Hypermedia

Server-rendered fragments instead of a SPA

Claude builds htmx features the hypermedia way: a working full-page version first, then fragments rendered from the same template blocks, real URLs with pushed history, and server-driven events through HX-Trigger. It knows the htmx 2 changes that bite — unswapped 4xx responses, 204 meaning no swap, redirects that land inside the target — and checks every endpoint with and without HX-Request.

htmx-hypermedia 209 lines

Benchmark Testing

Faster means significant, not one lucky run

Claude stops quoting single-run timings. It uses the right harness per language, guards against dead-code elimination, quiets the machine, measures noise with an A/A run, and compares 10 or more samples per side with a significance test and confidence interval. CI gates get thresholds derived from measured noise, or instruction counts when shared runners are too jittery.

benchmark-testing 259 lines · 2 files

LLM App Builder

Ship LLM features with timeouts, streams, and budgets

Claude builds LLM features the way a production team would: one client module with timeouts and typed retries, streaming for anything a user waits on, a model picked by a small eval instead of reputation, and per-request cost logged from the first deploy. Every stop reason, including truncation and refusal, gets explicit handling and a test.

llm-app-builder 225 lines

Structured Outputs

Schema-valid JSON, then checks on what it says

Claude replaces prompt-and-regex JSON with native constrained decoding: a JSON schema output format or strict tool generated from Pydantic or Zod models. It designs schemas with nullable fields and escape-value enums so the model never invents data, checks stop reasons before parsing, validates meaning as well as shape, and caps repair retries before routing to a human.

structured-outputs 220 lines

Word Documents (.docx)

Styled, editable Word files that survive review

Claude builds Word files the way a careful editor would: named styles and real headings instead of bold Normal text, tables and images sized for the page, and templates that keep branding intact. Before editing, a bundled inspector reports tracked changes, comments and fields, so revisions are never silently mangled, and replacements that span split runs keep their formatting.

docx-documents 216 lines · 2 files

PowerPoint Decks (.pptx)

On-brand slides you've actually looked at

Claude writes a takeaway-titled outline first, then builds slides from your template's layouts by name, filling placeholders rather than scattering text boxes. Charts are native and editable, notes carry the detail, and theme fonts stay intact. A bundled linter flags missing titles, overflow and empty placeholders, and every deck is rendered to images and reviewed before handoff.

pptx-decks 194 lines · 2 files

Raspberry Pi Projects

Headless Pi builds that survive a pulled plug

Claude sets up a Pi headless with Imager customisation and NetworkManager, writes GPIO code with gpiozero so it runs on Pi 5 where RPi.GPIO fails, checks 3.3 V and per-pin current limits before wiring advice, and ships the app as a systemd service under a dedicated user. It checks undervoltage with vcgencmd and limits SD card writes so the device survives power cuts.

raspberry-pi-projects 202 lines

Unit Testing

Tests that survive refactors and catch real bugs

Claude stops writing tests that mirror the implementation. It lists observable behaviors first, picks boundary and error inputs on purpose, writes behavior-named arrange-act-assert tests with literal expected values, and breaks the code once to prove each new test can go red. Mocks stay at out-of-process edges, so the suite survives refactors.

unit-testing 188 lines · 2 files

SQLAlchemy ORM

Typed models, owned sessions, loads you chose on purpose

Makes Claude write SQLAlchemy 2.x the way it is meant to be used: Mapped and mapped_column models with named constraints, one Session per request or task with short transactions, select() queries with deliberate selectinload or joinedload, and lazy="raise" to catch accidental lazy loads. It also reviews Alembic autogenerate output for the renames and enum changes it misses, and sets up rollback-per-test fixtures.

sqlalchemy-orm 350 lines

CSV Cleaning

From mojibake and shifted columns to clean UTF-8

Claude preserves the raw file, runs a bundled profiler that detects encoding, BOM, delimiter, ragged rows, ambiguous dates and European number formats, then repairs structure and parses every column explicitly. Duplicates are removed by a stated rule, bad lines go to a rejects file, and a cleaning log records rows in and out for each step.

csv-cleaning 206 lines · 2 files

Notion API

Notion sync scripts that page, pace and chunk

Gives Claude the Notion details that usually cause silent failures: pinned API versions and the newer data source model, cursor pagination on every list, property write shapes, the 100-block and 2,000-character limits, and Retry-After backoff for 429s. Sync jobs pull incrementally by last_edited_time, detect trashed pages, and test against a duplicated database before touching the real one.

notion-api 220 lines

Install

Every Python skill in one command

Installs these 16 skills into ~/.claude/skills/. Add --project after -- to install into the current repository instead.

The installer is a 101-line POSIX shell script. It downloads each skill you name from claudeskills.page and unpacks it into your skills folder, nothing else: no sudo, no telemetry. Every skill page shows the full SKILL.md, so you can read what you install first. Read install.sh

Python skills FAQ

Answers drawn from the skills themselves, including what they don't cover.

Which Python version and tooling do these skills assume?

Modern Python targets Python 3.12+ and uses uv for interpreters, virtual environments, locking and builds, ruff for lint and format, and strict type checking with mypy and PEP 695 generics. It includes migration paths from requirements.txt, Poetry and setup.py, and says never to pip install in a project that has a uv.lock.

Do the skills cover Polars and DuckDB, or just pandas?

All three have skills. Pandas Analysis covers explicit dtypes, validated merges and memory fixes, with notes on pandas 3 changes like the new string dtype. Polars DataFrames assumes Polars 1.x, uses LazyFrame scans and streaming, and migrates pandas code. DuckDB Analytics runs SQL over Parquet, CSV and JSON locally or on S3, and works with pandas, Polars and Arrow.

Which Python web frameworks and versions are covered?

Django Apps targets Django 5.x, noting 5.2 as the current LTS and covering DRF and the async ORM. FastAPI Services uses Pydantic v2, Annotated dependencies, lifespan and async SQLAlchemy 2.0 sessions. Flask Apps covers Flask 3.1 with Flask-SQLAlchemy and Flask-Migrate, and notes that async views do not turn Flask into an async server.

How do I install all 16 Python skills at once?

Pass every name to the installer in one command: curl -fsSL https://claudeskills.page/install.sh | sh -s -- python-profiling agent-sdk-builder mcp-server-builder statusline-scripts tdd-loop htmx-hypermedia benchmark-testing llm-app-builder structured-outputs docx-documents pptx-decks raspberry-pi-projects unit-testing sqlalchemy-orm csv-cleaning notion-api. Add --project after -- to install them into the current repository's .claude/skills/ folder so your team gets them too.

esc