| name | ruff |
| description | Use this skill when the user wants to lint Python code, format Python files, auto-fix Python issues, or check Python code quality at high speed. |
ruff Plugin
Extremely fast Python linter and formatter, written in Rust.
Commands
Check
ruff check run — Lint Python files
ruff check fix — Lint and auto-fix Python files
Format
ruff format run — Format Python files
ruff format check — Check formatting without applying
Usage Examples
- "Lint this Python file"
- "Auto-fix all Python issues"
- "Format Python files"
- "Check formatting without changing files"
Installation
pip install ruff
Examples
ruff check .
ruff check --fix .
ruff format .
ruff format --check .
ruff check --config pyproject.toml .
ruff check --select I .