python-modern-type-syntax

Official

Modern Python type hints

Authorflext-sh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers adopt and enforce modern Python type annotation syntax, improving code readability, maintainability, and catching type-related errors early.

Core Features & Use Cases

  • Modern Syntax Enforcement: Replaces legacy typing module constructs like Union and Optional with more concise pipe (|) syntax.
  • Type Alias Simplification: Utilizes the type statement for cleaner type aliasing.
  • Generic Syntax: Supports modern generic class and function definitions.
  • Use Case: When refactoring a Python codebase to be compatible with Python 3.10+, this Skill ensures that all type annotations adhere to the latest, most readable standards.

Quick Start

Apply modern Python type syntax rules to the codebase in the flext-core/src/ directory.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-modern-type-syntax
Download link: https://github.com/flext-sh/flext/archive/main.zip#python-modern-type-syntax

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.