CtrlK
BlogDocsLog inGet started
Tessl Logo

python-typing-patterns

Python type hints and type safety patterns. Triggers on: type hints, typing, TypeVar, Generic, Protocol, mypy, pyright, type annotation, overload, TypedDict.

Install with Tessl CLI

npx tessl i github:NeverSight/skills_feed --skill python-typing-patterns
What are skills?

88

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

Data Record Normalizer Library

Collection ABCs and modern union syntax

Criteria
Without context
With context

Import from collections.abc

100%

100%

Sequence for input params

100%

100%

Mapping for dict params

100%

100%

Union X|Y syntax

100%

100%

Lowercase generics

100%

100%

Return type annotations

100%

100%

Parameter type annotations

100%

100%

No Optional import

100%

100%

No Union import

100%

100%

Python 3.10+ compatibility

100%

100%

Without context: $0.4287 · 1m 33s · 27 turns · 33 in / 5,440 out tokens

With context: $0.5757 · 1m 48s · 29 turns · 283 in / 6,810 out tokens

90%

10%

Event Handler Registry

TypedDict and Protocol structural typing

Criteria
Without context
With context

TypedDict usage

100%

100%

TypedDict import

100%

100%

Required/NotRequired usage

0%

100%

total=False usage

100%

0%

Protocol for callable with kwargs

100%

100%

Protocol import

100%

100%

Type-safe dict access

100%

100%

Union X|Y syntax

0%

100%

Lowercase generics

100%

100%

Return type annotations

100%

100%

Parameter annotations

100%

100%

Without context: $0.2079 · 49s · 15 turns · 61 in / 2,807 out tokens

With context: $0.3318 · 1m 13s · 22 turns · 26 in / 3,721 out tokens

88%

9%

Typed Validation Utilities Module

Generics, TypeGuard, Literal, Final, and mypy config

Criteria
Without context
With context

TypeVar definition

100%

100%

Bounded TypeVar

0%

20%

Generic function usage

100%

100%

TypeGuard return type

100%

100%

TypeGuard import

100%

100%

Literal type usage

100%

100%

Final for constants

100%

100%

Final import

100%

100%

mypy strict config

100%

100%

mypy python_version config

100%

100%

Union X|Y syntax

42%

42%

No deprecated typing imports

0%

100%

Without context: $0.2392 · 1m 10s · 17 turns · 24 in / 3,672 out tokens

With context: $0.5666 · 1m 44s · 30 turns · 35 in / 6,288 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.