Skip to main content
python-type-safetyby Seth HobsonDevelopmentGitHub stars: 41.8k

Python Type Safety skill: what it does and how to install it

Improves Python code with type hints, generics, protocols and strict checking using mypy or pyright.

Summary generated from the skill's documentation.

Install

$ npx skills add wshobson/agents --skill python-type-safety

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

What it does. Adds annotations to public APIs, uses modern union syntax, narrows types with guards, and builds reusable generic classes and structural interfaces. It also covers configuring strict checking with mypy or pyright and refers to further patterns for detailed guidance.

When to use it. For adding type hints, designing type-safe Python APIs or libraries, creating generic classes, defining protocols, and configuring static analysis.

History

Repo stars

41.8k+1.5k since 5 Oct 2026

Stars are counted for the whole repository, which holds 76 skills.

Show as a table
Repo stars by day
DateRepo stars
26 Oct 202641,741
25 Oct 202641,668
24 Oct 202641,623
23 Oct 202641,590
22 Oct 202641,533
21 Oct 202641,400
20 Oct 202641,212
19 Oct 202641,081
18 Oct 202640,990
17 Oct 202640,943
16 Oct 202640,891
15 Oct 202640,824
14 Oct 202640,663
13 Oct 202640,579
12 Oct 202640,457
11 Oct 202640,368
10 Oct 202640,319
9 Oct 202640,307
8 Oct 202640,296
7 Oct 202640,267
6 Oct 202640,238
5 Oct 202640,212

Installs

12.7k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills