Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install python-expert@claude-code-toolkit
Open on GitHub

What 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-toolkit

Step 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.

python-expert Jure Šunić python-expert — a subagent for advanced Python work: speeding up slow functions, converting sync code to async/await, and applying design patterns. ★ 1,013repo stars python-patterns affaan-m python-patterns tells the agent how to write and review Python: idioms, type hints, exception handling, context managers. CX Codex +1 7,500installs python Mindrally This skill tells your coding agent how to write Python: PEP 8, type hints, early returns, async for I/O. Useful when the agent edits or generates code in a Python repo. CX Codex +1 1,100installs Python Code Generator — Clean, Optimized & Production-Ready sivasaiyadav8143 Python Code Generator — Clean, Optimized & Production-Ready is a ChatGPT prompt for structured Python code generation. It asks the model to clarify requirements, plan the design, write code, and show a runnable example. GP ChatGPT ★ 178,201repo stars python-code-review existential-birds The python-code-review skill inspects Python source files for PEP8 compliance, type annotations, async pitfalls, and exception patterns. It helps spot issues before opening a pull request. CX Codex +1 958installs Python Code Performance & Quality Enhancer sivasaiyadav8143 Python Code Performance & Quality Enhancer — a review prompt for Python: adds docstrings, fixes PEP8, lists performance issues with Big O impact, and returns the full rewritten file. GP ChatGPT ★ 178,201repo stars python-pro https://github.com/Jeffallan python-pro — a skill for writing type-safe Python 3.11+ with complete annotations, async code, and test suites. Generates code with type hints, configures mypy in strict mode, writes pytest tests with fixtures and mocking. CX Codex +1 9,300installs

From the same set178

The whole set →

Project sponsors

Companies that keep this analytics open