/python-toolkit:typecheckfrom python-toolkit
This skill should be used when the user asks to "type-check this project", "run ty", "run pyright", "find type errors", "check for missing imports", "show me the type incompatibilities", or otherwise requests type analysis of python source. Prefers `ty` (toolkit default per v3.0.0.0) and falls back to `pyright`; groups errors by category and explains specific findings on demand.
Ships in python-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run type checking with pyright against the project (or a specific path), summarize the diagnostics, and explain specific errors with suggested fixes when the user asks.
Determine the target path from the user's request. If no path is provided, default to the current working directory.
Run pyright against the target. If the user specified a path:
pyright <path> 2>&1
Otherwise:
pyright 2>&1
Summarize results across the run:
Group errors by category and report counts per group. Typical categories:
OptionalIf the user asks about a specific error, read the relevant source file and explain the issue with a suggested fix grounded in the surrounding code.
If pyright is not installed, advise the user to install it via pip install pyright or npm install -g pyright.
This skill currently inlines its procedure (a direct pyright invocation). The forward-looking design per the v3 toolkit spec and the Path B decision is for this skill to invoke the shared diagnostic-review pipeline via:
Skill(skill: "python-toolkit:diagnostic-review", pass: "typecheck")
The shared diagnostic-review skill already ships at skills/diagnostic-review/SKILL.md and documents the pass: typecheck selector. That implementation prefers ty (Astral's type checker, the python-toolkit's default LSP since 3.0.0.0) and falls through to pyright only when ty is unavailable. Until the per-pass invocation wiring lands in a separate chore, this skill body matches the legacy /typecheck command behavior — a direct pyright call.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ramda-dev/lang-toolkits --plugin python-toolkit7 skills in this plugin
/configureThis skill should be used when the user asks to "configure the python project", "set up ruff", "configure pyright", "scaffold a pixi project", "add a ruff config", or otherwise requests scaffolding or modification of ruff/pyright/pixi configuration files. Detects existing configs and creates or updates them with sensible defaults, prompting before overwriting./diagnostic-reviewThis skill should be used when the user asks to "review diagnostics", "check code quality", "show lint violations", "explain this error", or when ruff/ty diagnostic output appears in a tool result without an explicit user request. Provides structured diagnostic triage with severity bucketing, AST-scoped fix suggestions, and noise-suppression integration for the python-toolkit's ruff and ty passes./infoThis skill should be used when the user asks to "show project info", "what python tools are installed", "detect the project type", "summarize the toolchain", "show pixi info", or otherwise requests an overview of the current python project and its tool availability. Reports project type, Python version, config files, and tool versions (probes both ty and pyright)./python-toolkitUse when you see ruff violations, '[*] fixable with --fix', ty/pyright diagnostics, or Python import errors in terminal output. Also use when the user asks about lint rules, type errors, code stats, or project configuration./ruleThis skill should be used when the user asks to "explain a ruff rule", "what does F401 mean", "show me rule E501", "explain this lint code", or otherwise requests the definition or rationale for a specific ruff rule code. Wraps `ruff rule <code>` with optional discovery via `ruff check --statistics .` when no code is given./statsThis skill should be used when the user asks to "summarize lint violations", "show ruff stats", "rank ruff violations by rule", "what lints are firing", or "give me a violation count" for a python project. Produces a ranked summary of ruff violations grouped by rule code and flags which are auto-fixable.