/python-toolkit:configurefrom python-toolkit
This 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.
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.
Read when SKILL.md points to them.
Configure python development tools — ruff (lint/format), pyright (type-check), and pixi (project manager). Scaffold configuration files with sensible defaults when none exist; show the current state and ask before overwriting when they do.
Parse the user's request for a tool selector (ruff, pyright, pixi, or all). If no selector is provided, detect existing configs and present a menu so the user can choose.
Detection phase — check for existing config files in the current directory:
ruff.toml or [tool.ruff] section in pyproject.tomlpyrightconfig.json or [tool.pyright] section in pyproject.tomlpixi.tomlpyproject.toml (note which tool sections exist)Report what is present and what is missing.
If no selector was provided, present the detection results to the user and ask which tool to configure. Offer all to scaffold everything.
If pyproject.toml exists, prefer adding a [tool.ruff] section there. Otherwise create a standalone ruff.toml.
Use these sensible defaults:
# ruff.toml (or [tool.ruff] in pyproject.toml)
line-length = 88
target-version = "py312"
[lint]
select = ["E", "F", "I", "UP", "B"]
If a ruff config already exists, show the current settings and ask before overwriting.
Create pyrightconfig.json with sensible defaults:
{
"typeCheckingMode": "standard",
"pythonVersion": "3.12",
"reportMissingImports": true,
"reportMissingTypeStubs": false
}
If pixi.toml is present, add "venvPath": "." and "venv": ".pixi/envs/default" to the pyright config.
If .venv/ is present, add "venvPath": "." and "venv": ".venv" to the pyright config.
If a pyright config already exists, show current settings and ask before overwriting.
If pixi.toml does not exist, scaffold a minimal one (substitute the actual directory name for <directory-name>):
[project]
name = "<directory-name>"
version = "0.1.0"
channels = ["conda-forge"]
platforms = ["linux-64", "win-64", "osx-arm64"]
[dependencies]
python = ">=3.12"
If pixi.toml already exists, show the current config and offer to add common features (dev dependencies, tasks, etc.).
Run all three configurations in sequence (ruff → pyright → pixi), respecting existing configs (prompt before any overwrite).
Summarize what was created and what was modified.
This skill currently inlines its procedure (direct file detection + scaffolding). 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: "configure")
The shared diagnostic-review skill already ships at skills/diagnostic-review/SKILL.md and documents the pass: configure selector (auto-detects the project tier, diffs proposed updates against .toolkit.local.md, and prompts per-section). The per-pass invocation wiring lands in a separate chore — until then, this skill body matches the legacy /configure command behavior.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ramda-dev/lang-toolkits --plugin python-toolkit7 skills in this plugin
/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)./Other plugins' skills for the same job