{"enrichment":{"faq":[{"a":"Ruff lints Python code by running the `ruff check` command on your files or directories. Ruff detects violations across multiple rule categories and displays them with file locations and line numbers. You can lint a single file with `ruff check myfile.py` or an entire project with `ruff check .`. Ruff integrates rules from Flake8, pyupgrade, and other tools into one fast linter.","q":"How do I lint Python code with ruff?"},{"a":"Ruff can automatically fix many violations using the `ruff check --fix` command. This applies safe fixes directly to your files. For potentially unsafe fixes, use `ruff check --fix --unsafe-fixes` to enable them, or review changes first before committing. Ruff's auto-fix capability eliminates manual correction of common style and logic issues.","q":"Can ruff auto-fix violations, and how do I use that?"},{"a":"Ruff format is ruff's built-in code formatter that serves as a Black replacement. Run `ruff format` to automatically format your Python files with consistent style. Ruff format offers similar functionality to Black but integrates seamlessly with ruff's linter, eliminating the need for separate formatting tools. Both enforce opinionated style rules, but ruff does both linting and formatting in one tool.","q":"What is ruff format and how does it compare to Black?"},{"a":"Ruff consolidates Flake8, Black, isort, pyupgrade, and autoflake into a single tool, making migration straightforward. Replace your linting workflow with `ruff check --fix`, your formatting with `ruff format`, and your import sorting with ruff's built-in isort rules. Configure ruff in `pyproject.toml` under `[tool.ruff]` to match your existing rule preferences, then remove your old tool configurations.","q":"How do I migrate from Flake8, Black, or isort to ruff?"},{"a":"Ruff configuration goes in your `pyproject.toml` file under the `[tool.ruff]` section. Specify which rule codes to enable or ignore, set line length, exclude directories, and customize other linting behavior. For example, use `select = [\"E\", \"F\"]` to enable specific rule categories or `ignore = [\"E501\"]` to skip rules. Ruff reads this configuration automatically when you run `ruff check` or `ruff format`.","q":"How do I configure ruff linting rules in pyproject.toml?"},{"a":"Ruff is exceptionally fast compared to Flake8, Black, and isort because it's written in Rust and optimized for performance. It processes large codebases significantly faster than traditional Python-based tools while maintaining compatibility with their rule sets. Ruff's speed makes it practical for real-time linting in editors and as part of continuous integration pipelines without slowing development workflows.","q":"Is ruff a fast Python code quality tool compared to alternatives?"}],"shadow_tags":["code-quality","import-management","auto-fix","static-analysis","dev-tooling","style-enforcement","performance-focused","tool-consolidation"],"summary_rewrite":"Ruff is an exceptionally fast Python linter and formatter that consolidates the functionality of Flake8, Black, isort, pyupgrade, and autoflake into a single tool. It detects code violations and applies automatic fixes, with options to scope changes to specific files or review unsafe fixes before applying them."},"files":[{"bytes":3989,"path":"plugins/astral/skills/ruff/SKILL.md","sha256":"b4224a81367816fba28c3d6e69dbe9997b6d37317dbaec3f026b0c8c834c68ba","url":"https://skillfed.io/files/astral-sh/claude-code-plugins/ruff/a90612c3/SKILL.md"}],"id":"astral-sh/claude-code-plugins/ruff","links":{"html":"https://skillfed.io/astral-sh/claude-code-plugins/ruff","md":"https://skillfed.io/astral-sh/claude-code-plugins/ruff.md","repo":"https://github.com/astral-sh/claude-code-plugins"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":12,"language":null,"last_updated":"2026-02-27","license":"Apache-2.0","name":"ruff","publisher":"astral-sh","stars":289},"relations":{"similar":[{"id":"jiatastic/open-python-skills/ruff-linter"},{"id":"hyperb1iss/hyperskills/ruff"},{"id":"dawiddutoit/custom-claude/quality-run-linting-formatting"},{"id":"JosiahSiegel/claude-plugin-marketplace/python-package-management"},{"id":"wshobson/agents/python-code-style"},{"id":"patricio0312rev/skills/code-formatter-installer"},{"id":"trailofbits/skills/modern-python"},{"id":"alinaqi/maggy/existing-repo"},{"id":"rysweet/amplihack/setting-up-projects"},{"id":"TheBeardedBearSAS/claude-craft/testing-python"}]},"slug":{"owner":"astral-sh","repo":"claude-code-plugins","skill":"ruff"},"version":"a90612c3"}
