/python-toolkit:python-toolkitfrom python-toolkit
Use 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.
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.
Dispatch skill for Python development. Routes observable situations to the appropriate retained skill or bare CLI invocation.
Before routing, detect the project environment:
pixi.toml in the current or parent directory → pixi modepyproject.toml, requirements.txt, .venv/ → pip/venv moderuff --version, ty --version, pixi --version| Observable situation | Action | Notes |
|---|---|---|
ruff output with [*] fixable with --fix | ruff check --fix <path> | Run first, review remaining; use --unsafe-fixes with caution |
| ty/pyright errors or type warnings in output | Invoke typecheck skill | Full report with context and error grouping |
| Both lint and type errors present | ruff check --fix then typecheck skill | Fix lint first, types second |
| Ambiguous or multi-source diagnostic output | Invoke diagnostic-review skill | Triages ruff + ty output together; auto-activates on mixed noise |
Unknown ruff rule code (e.g. I001, PLR6201) | Invoke rule skill | Explains the rule with fix guidance |
| Many lint violations, need overview | Invoke stats skill | Ranked summary of violations by rule category |
| Code style inconsistencies after editing | ruff format <path> | Direct ruff invocation; no wrapper needed |
| Import blocks unsorted or messy | ruff check --fix <path> | I001 is auto-fixable |
Project management commands were culled in 4.0.0.0. Use bare CLI directly for these operations.
| Situation | Action |
|---|---|
| User asks to add a package | pixi add <package> / pip install <package> |
| User asks to remove a package | pixi remove <package> / pip uninstall <package> |
| Dependencies out of sync | pixi install / pip install -r requirements.txt |
| No pyproject.toml or pixi.toml in directory | pixi init / uv init to bootstrap the project |
| User asks to run a task or script | pixi run <task> / python <script.py> |
| User asks about project or tool status | Invoke info skill |
| User asks to configure linting, types, or task runner | Invoke configure skill |
| User asks to build the Python package | pixi run build / python -m build |
| User asks to run tests, or test suite is failing | pixi run test / pytest <path> |
| User asks to list, add, or remove pixi tasks | pixi task add <name> / pixi task list |
| User asks to list, create, or remove environments | pixi environment list / pixi project environment add |
| pixi.lock is outdated or user asks to refresh it | pixi update |
| User needs a shell with the environment active | pixi shell |
When you encounter an unfamiliar ruff rule, ty error, or tool flag:
ruff is not installed: advise pip install ruff or pixi global install ruffty is not installed: advise pip install ty or pixi global install typixi is not installed and user wants pixi features: advise installation from https://pixi.shpixi init or uv init to create oneWhat SKILL.md sets; muted values are Claude Code's defaults
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./Other plugins' skills for the same job