flake8-to-ruff
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
/migration-patterns:flake8-to-ruff
Migrate from flake8 and/or isort to ruff — consolidating linting and import sorting into a single, fast Rust-based tool. Replaces pre-commit hooks, migrates rule configuration, and removes old dependencies.
When to Use This Skill
| Use this skill when... | Keep flake8/isort when... |
|---|---|
.pre-commit-config.yaml contains pycqa/flake8 or PyCQA/isort |
You rely on a flake8 plugin with no ruff equivalent |
[tool.flake8] or [tool.isort] config exists |
Team uses flake8 API in custom scripts |
| Looking to consolidate linting tooling | CI requires specific flake8 exit codes |
| Using ruff format and wanting a unified tool |