mcpField
P
python-type-hints-converter

python-type-hints-converter

github.com/jorgealvesDevelopment2178 installsUpdated 1w ago
Repository

About python-type-hints-converter

A skill for adding or improving type annotations in legacy Python code. It supports readability, IDE assistance, and early type-error detection, with analysis performed locally.

Key features

  1. 01Add type annotations
  2. 02Improve existing annotations
  3. 03Local analysis
  4. 04Python code focus

Use cases

  1. 01Annotate legacy Python code
  2. 02Improve readability for a refactor
  3. 03Catch type errors earlier

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/jorgealves/agent_skills --skill python-type-hints-converter

After installing, type/python-type-hints-converterin Claude Code to confirm it loaded.

Bundled filesskill.yaml

Details

From the project README

Python Type Hints Converter

Purpose and Intent

Automatically add or improve type annotations in legacy Python code. Use to improve code readability, IDE support, and catch type errors early.

When to Use

  • Project Setup: When initializing a new Python project.
  • Continuous Integration: As part of automated build and test pipelines.
  • Legacy Refactoring: When updating older Python codebases to modern standards.

When NOT to Use

  • Non-Python Projects: This tool is specialized for the Python ecosystem.

Error Conditions and Edge Cases

  • Missing Requirements: If the project lacks a requirements.txt or pyproject.toml.
  • Incompatible Versions: If the project uses a Python version not supported by the tools.

Security and Data-Handling Considerations

  • All analysis is performed locally.
  • No source code or credentials are ever transmitted externally.

Comments

Markdown supported