Agent skill

Python Typing Patterns

by aiskillstore in aiskillstore/marketplace

Python type hints and type safety patterns. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedDevelopment

Install Python Typing Patterns

skills CLI
$ npx skills add aiskillstore/marketplace --skill python-typing-patterns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace python-typing-patterns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/0xdarkmatter/python-typing-patterns .claude/skills/python-typing-patterns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-typing-patterns
GitHub stars
430
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
144 words
Files
10 (incl. scripts, references, assets)
Skills in repo
1,108
Repo updated
First seen
Licence
None found

At a glance

Python type hints and type safety patterns. An agent skill from aiskillstore/marketplace.

  • Type annotation
  • SKILL.md covers Basic Annotations, Collections, Optional and Union and TypedDict, plus 11 more sections
  • Runs Shell scripts from its folder; calls mypy
  • Tasks that involve Type safety

What it does

Python Typing Patterns is an agent skill from aiskillstore/marketplace. Python type hints and type safety patterns. Triggers on: type hints, typing, TypeVar, Generic, Protocol, mypy, pyright, type annotation, overload, TypedDict.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `references/generics-advanced.md`, `references/mypy-config.md` and `references/overloads.md`). Compatibility notes: Python 3.10+ (uses union syntax X | Y). Some patterns require 3.11+ (Self, TypeVarTuple).

It sits in Development, covering Type safety. It works with Python. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Type annotation
  • Tasks that involve Type safety

Example prompts

  • “/python-typing-patterns”

Requirements

  • Python 3
  • A Bash shell
  • Compatibility (from SKILL.md): Python 3.10+ (uses union syntax X | Y). Some patterns require 3.11+ (Self, TypeVarTuple).
  • Pre-approved tools (allowed-tools): Read, Write

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • mypy

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Python 3.10+ (uses union syntax X | Y). Some patterns require 3.11+ (Self, TypeVarTuple).

    From compatibility in the SKILL.md frontmatter.

Context cost

Python Typing Patterns loads about 1.3k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 144 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 144 words (~1,282 tokens).

“Modern type hints for safe, documented Python code.”

— opening of SKILL.md by aiskillstore
name
python-typing-patterns
allowed-tools
Read, Write
compatibility
Python 3.10+ (uses union syntax X | Y). Some patterns require 3.11+ (Self, TypeVarTuple).
related-skills
python-pytest-patterns

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references, assets) in skills/0xdarkmatter/python-typing-patterns of aiskillstore/marketplace.

  • SKILL.md
  • assets/pyproject-typing.toml
  • references/generics-advanced.md
  • references/mypy-config.md
  • references/overloads.md
  • references/protocols-patterns.md
  • references/runtime-validation.md
  • references/type-narrowing.md
  • scripts/check-types.sh
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aiskillstore/marketplace, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Python Typing Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Typing Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Typing Patterns this skillaiskillstore/marketplace4301 repos~1.3kAutomated safety check: PassNone
Minimizing Ty Ecosystem Changesastral-sh/ruff50k—~4.6kAutomated safety check: PassMIT
Kedro Babysitkedro-org/kedro11k—~4kAutomated safety check: PassCustom licence
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Rust Ffiariebovenberg/whenever2.4k—~2.5kAutomated safety check: PassMIT
Diataxis Docs Writercalf-ai/calfkit-sdk1491 repos~3kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…

    50k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Kedro Babysit

    kedro-org/kedro

    Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…

    11k GitHub stars~4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Rust Ffi

    ariebovenberg/whenever

    Instructions for using whenever's internal Rust FFI abstractions

    2.4k GitHub stars~2.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Diataxis Docs Writer

    calf-ai/calfkit-sdk

    Write or improve software documentation using the Diátaxis framework — four documentation types (tutorials, how-to guides, reference, explanation), each serving a different user need.

    149 GitHub starsUsed in 1 repo~3k tokens
    DevelopmentAuto-check passed
  • Update Dependencies

    alorence/django-modern-rpc

    Routine update of all project dependencies — uv itself, uv.lock (all groups), tool versions pinned in GitHub workflows and .pre-commit-config.yaml (uv, ruff, mypy...), and SHA-pinned GitHub Actions.

    111 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Works with

Categories

Questions about Python Typing Patterns

What does Python Typing Patterns do?

Python type hints and type safety patterns. An agent skill from aiskillstore/marketplace. Python Typing Patterns is an agent skill from aiskillstore/marketplace. Python type hints and type safety patterns.

When should I use Python Typing Patterns?

Python Typing Patterns fits situations like: type annotation; tasks that involve Type safety.

How do I install Python Typing Patterns in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill python-typing-patterns -a claude-code`. Or copy the skill folder (skills/0xdarkmatter/python-typing-patterns in aiskillstore/marketplace) into .claude/skills/python-typing-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Python Typing Patterns in Codex?

Run `npx skills add aiskillstore/marketplace --skill python-typing-patterns -a codex`. Or copy the skill folder (skills/0xdarkmatter/python-typing-patterns in aiskillstore/marketplace) into .agents/skills/python-typing-patterns in your project. Codex loads it when a task matches its description.

Can I use Python Typing Patterns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill python-typing-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-typing-patterns, .gemini/skills/python-typing-patterns, .github/skills/python-typing-patterns and .opencode/skills/python-typing-patterns in your project.

What does Python Typing Patterns need to run?

Going by SKILL.md and its folder, Python Typing Patterns needs a shell for the scripts in its folder and the command-line tools its instructions call (mypy). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Read, Write. Compatibility (from SKILL.md): Python 3.10+ (uses union syntax X | Y). Some patterns require 3.11+ (Self, TypeVarTuple)..

Does Python Typing Patterns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Python Typing Patterns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Python Typing Patterns use?

No licence was found for Python Typing Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Python Typing Patterns use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.4k tokens, read only when the agent opens those files.

What are the alternatives to Python Typing Patterns?

Skills that share tags, products or a category with Python Typing Patterns: Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars), Kedro Babysit (kedro-org/kedro, 11k stars), Dignified Python Standards (docling-project/docling, 69k stars) and Rust Ffi (ariebovenberg/whenever, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Typing Patterns?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.