/python-toolkit:rulefrom python-toolkit
This 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.
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.
Explain a ruff lint rule by code. When the user provides a rule identifier (e.g. F401, E501, B006, UP007), surface the rule name, explanation, and examples. When no code is provided, run a statistics pass first to discover which rules are firing in the project, then offer to explain any of them.
Determine the rule code(s) from the user's request.
F401, E501, B006, UP007), proceed to step 2.For each provided rule code, run:
ruff rule <code>
Display the full output for each: rule name, explanation, and examples. When multiple codes are supplied, present them sequentially in the order the user listed them.
Discovery mode (no code provided). Run a statistics pass on the current directory to surface what is actually firing:
ruff check --statistics .
Summarize the violation counts and offer to explain any of the reported rules. Wait for the user to pick before invoking ruff rule <code>.
This skill currently inlines its procedure (a direct ruff rule 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: "rule CODE")
The shared diagnostic-review skill already ships at skills/diagnostic-review/SKILL.md and documents the pass: rule CODE selector. The per-pass invocation wiring lands in a separate chore — until then, this skill body matches the legacy /rule 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
/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