/python:format [file paths...] | [natural-language description of files to include]from python
Use when the user asks to "format python", "run ruff format", "format these files", or wants ruff's formatter run over Python files this session never touched. Formats Python files with ruff, including pre-existing ones.
Ships in python. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Format Python files with ruff format. Arguments given: $ARGUMENTS
This skill is the explicit opt-in for formatting pre-existing files — files this session didn't create or edit. The plugin's hook only ever formats a Python file immediately after Claude edits or writes it; use this skill whenever the user wants existing files formatted too.
Use the first of these that works: the project's .venv/bin/ruff, then
ruff on PATH, then uvx ruff. If none is available, say so and stop.
ruff format .), letting
ruff's own exclude and .gitignore discovery decide what to skip.git status/git diff and directory listings as needed) and resolve it to a concrete set
of paths before continuing.If the natural-language match is ambiguous (nothing clearly matches, or there are several plausible interpretations), do NOT guess. List the candidate files with a one-line reason each and ask for confirmation before formatting anything.
ruff format --force-exclude <target>. Do not pass --config.
Let ruff discover the nearest pyproject.toml / ruff.toml on its
own, including per-package configs in a monorepo.ruff format prints counts,
and git diff --stat over the target shows which files.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin pythonOther plugins' skills for the same job
6 skills in this plugin
/lintUse when the user asks to "lint python", "run ruff", "fix ruff errors", or wants ruff run over Python files this session never touched. Lints, auto-fixes and formats Python files with ruff, including pre-existing ones./pyright-configurationUse when configuring pyright — writing pyrightconfig.json or [tool.pyright], choosing typeCheckingMode, pointing pyright at a virtualenv, overriding individual report* rules, or suppressing a type error inline./pyright-lsp-usageUse when navigating Python code — finding where a symbol is defined, every caller of a function before changing its signature, the inferred type of an expression, or an outline of a large module. Covers which LSP tool operations pyright actually supports.