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
- 01Add type annotations
- 02Improve existing annotations
- 03Local analysis
- 04Python code focus
Use cases
- 01Annotate legacy Python code
- 02Improve readability for a refactor
- 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-converterAfter installing, type/python-type-hints-converterin Claude Code to confirm it loaded.
Bundled filesskill.yaml
Details
From the project READMEPython 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