Skip to content
Development
Command

/type-hints

Add comprehensive type hints to Python code for better IDE support and type safety.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/type-hints

Context preview

What this command does when you run it.

Add comprehensive type hints to Python code for better IDE support and type safety.

Command definition

type-hints.md
name: type-hints
description: Add comprehensive type hints to Python code for better IDE support and type safety.

Add comprehensive type hints to Python code for better IDE support and type safety.

Steps

1. Analyze the target Python file for untyped code: 2. Determine types by analyzing usage: 3. Add function signatures: 4. Add complex types: 5. Add class-level type hints: 6. Verify with mypy or pyright: 7. Update docstrings to match type annotations.

Format

File: <path>
Functions Typed: <count>
Classes Typed: <count>
Type Checker: <mypy|pyright> - <pass|N errors>

Rules

  • Use modern syntax (str | None) for Python 3.10+ projects.
  • Use typing imports for older Python versions.
  • Avoid Any unless truly necessary; be specific.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin