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-safetyRun 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
| Date | Repo stars |
|---|---|
| 26 Oct 2026 | 41,741 |
| 25 Oct 2026 | 41,668 |
| 24 Oct 2026 | 41,623 |
| 23 Oct 2026 | 41,590 |
| 22 Oct 2026 | 41,533 |
| 21 Oct 2026 | 41,400 |
| 20 Oct 2026 | 41,212 |
| 19 Oct 2026 | 41,081 |
| 18 Oct 2026 | 40,990 |
| 17 Oct 2026 | 40,943 |
| 16 Oct 2026 | 40,891 |
| 15 Oct 2026 | 40,824 |
| 14 Oct 2026 | 40,663 |
| 13 Oct 2026 | 40,579 |
| 12 Oct 2026 | 40,457 |
| 11 Oct 2026 | 40,368 |
| 10 Oct 2026 | 40,319 |
| 9 Oct 2026 | 40,307 |
| 8 Oct 2026 | 40,296 |
| 7 Oct 2026 | 40,267 |
| 6 Oct 2026 | 40,238 |
| 5 Oct 2026 | 40,212 |
Installs
12.7k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Setup Pre-CommitSets up Husky pre-commit hooks with lint-staged, type checking and tests in the current repo.
- Modern PythonConfigures Python projects with uv, ruff and ty, including migration from pip, Poetry, mypy and black.
- Skill CreatorCreates new skills, improves existing ones and measures how well they perform with evals and benchmarks.