docs / ruff
llms.txt17 starsChanged 10 months agoApache-2.0View on GitHub
An extremely fast Python linter and code formatter, written in Rust. Ruff is an extremely fast Python linter and code formatter, written in Rust. It can be used to replace Flake8 (plus dozens of plugins), Black, isort, pydocstyle, pyupgrade, autoflake, and more, all while executing tens or hundreds of times faster than any individual tool. Ruff includes both a linter (ruff check) and a formatter (ruff format). When fetching documentation, use explicit index.md paths for directories, e.g., https://docs.astral.sh/ruff/editors/index.md. This returns…
In this repository2 other files it gives its agents.
- site/ty/llms.txtllms.txt
- site/uv/llms.txtllms.txt
The file
We split this llms.txt into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
When fetching documentation, use explicit index.md paths for directories, e.g., https://docs.astral.sh/ruff/editors/index.md.
≈ “Common” is an estimate: at least 1 in 5 of the 3,592 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Ruff > An extremely fast Python linter and code formatter, written in Rust. Ruff is an extremely fast Python linter and code formatter, written in Rust. It can be used to replace Flake8 (plus dozens of plugins), Black, isort, pydocstyle, pyupgrade, autoflake, and more, all while executing tens or hundreds of times faster than any individual tool. Ruff includes both a linter (`ruff check`) and a formatter (`ruff format`). When fetching documentation, use explicit `index.md` paths for directories, e.g., `https://docs.astral.sh/ruff/editors/index.md`. This returns clean markdown instead of rendered HTML with JS/CSS. ## Concepts - [Preview](https://docs.astral.sh/ruff/preview/index.md) - [Versioning](https://docs.astral.sh/ruff/versioning/index.md) ## Configuration - [Configuring Ruff](https://docs.astral.sh/ruff/configuration/index.md) ## Editors - [Editor Integration](https://docs.astral.sh/ruff/editors/index.md) - [Features](https://docs.astral.sh/ruff/editors/features/index.md) - [Migrating from ruff-lsp](https://docs.astral.sh/ruff/editors/migration/index.md) - [Settings](https://docs.astral.sh/ruff/editors/settings/index.md) - [Setup](https://docs.astral.sh/ruff/editors/setup/index.md) ## Formatter - [The Ruff Formatter](https://docs.astral.sh/ruff/formatter/index.md) - [Known Deviations from Black](https://docs.astral.sh/ruff/formatter/black/index.md) ## Getting started - [Installing Ruff](https://docs.astral.sh/ruff/installation/index.md) - [Tutorial](https://docs.astral.sh/ruff/tutorial/index.md) ## Integrations - [Integrations](https://docs.astral.sh/ruff/integrations/index.md) ## Linter - [The Ruff Linter](https://docs.astral.sh/ruff/linter/index.md) ## Reference - [FAQ](https://docs.astral.sh/ruff/faq/index.md)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

