astral-sh/ruff ? reverse-engineered prompt

Reverse engineered prompt

Build me a really fast command line tool for Python projects, written in Rust, that can both lint code and format it. I want it to scan a whole folder or a single file, catch common style and correctness issues, and also rewrite code into a consistent format so people can use one tool instead of juggling several Python code quality tools.

It should have simple commands like check and format, read settings from pyproject.toml, support automatically fixing safe issues like unused imports, and cache results so running it again is extremely fast. Please make it work well for larger repos with nested config files, feel good to use locally and in CI, and be easy for Python users to install and run. If there are already widely used Python linting and formatting expectations, aim for close compatibility so teams can switch without too much pain. Look up current docs and conventions online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab