python-expert · rohitg00 — Claude Code plugin: type hints and Python refactoring
python-expert — a plugin that guides Claude Code to write Python with proper type hints and refactor code to follow Python idioms. Useful if you want suggestions that include type annotations and follow Python conventions out of the box.
Apache-2.0 ★ 2,858 updated 2026-05-12
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install python-expert@claude-code-toolkitWhat python-expert does
python-expert extends Claude Code specifically for Python development. The plugin ensures code includes type hints and helps rewrite existing code to follow Python best practices and PEP 8 style. It works inside Claude Code as an interpreter for type annotation and refactoring requirements.
The plugin shines if you review code or work in a project where type hints are mandatory. Claude Code will start proposing type annotations, renaming variables for clarity, and restructuring functions so they read like proper Python rather than a quick sketch in Python syntax.
What it helps with
- add type hints to existing functions
- refactor code to follow Python idioms
- ensure code matches PEP 8 style
- rename variables to follow Python naming conventions
Example prompts for the agent
- Add type hints to all functions in this module
- Refactor this code to look like proper Python
- Which variable names violate Python conventions here?
How to install python-expert
Plugin marketplace
/plugin marketplace add rohitg00/awesome-claude-code-toolkit/plugin install python-expert@claude-code-toolkitStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about python-expert
How do I install python-expert in Claude Code?
Run /plugin marketplace add rohitg00/awesome-claude-code-toolkit, then /plugin install python-expert@claude-code-toolkit.
What does python-expert do?
The plugin directs Claude Code to write Python with type hints and refactor code to follow language idioms—so it reads like proper Python instead of a rough sketch.
Does python-expert work if my project doesn't use type hints yet?
Yes, the plugin works with any Python code. You'll get the most value if your project already practices type hints or you're ready to add them.
Source text
python-expert · Apache-2.0
Python-specific development with type hints and idiomatic refactoring
© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit
Similar plugins
All plugins for Code review and refactoring →python-expert by other authors comes first.