python-type-hints-converter

Community

Automates type hints for legacy Python code.

Authorjorgealves
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill reduces the manual effort of adding or inferring Python type annotations in legacy code, improving readability, maintainability, and type-safety.

Core Features & Use Cases

  • Automatic annotation inference: analyzes Python source to infer and insert type hints for functions, methods, and classes.
  • Incremental modernization: updates only affected files to minimize changes while improving type safety.
  • CI-friendly integration: can be incorporated into automated pipelines to ensure code remains well-typed over time.
  • Use Case: Refactor an old codebase to enable IDE autocompletion and early error detection without rewriting logic.

Quick Start

Run on a Python project: python-type-hints-converter --professional_path ./your_project

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-type-hints-converter
Download link: https://github.com/jorgealves/agent_skills/archive/main.zip#python-type-hints-converter

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.