quality-ruff

Configure Ruff linting and formatting in pyproject.toml for Python projects.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sunLeee/optimization --skill quality-ruff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-ruff
Source: https://github.com/sunLeee/optimization/tree/main/.claude/skills/quality/check/quality-ruff
Command: npx skills add https://github.com/sunLeee/optimization --skill quality-ruff

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ruff linting/formatting environment is configured and managed to replace Flake8, isort, and Black while delivering fast, consistent code quality across Python projects.

Core Features & Use Cases

  • Configure Ruff in pyproject.toml with a standardized rule set and project-specific overrides.
  • Provide per-file ignores and isort integration for consistent imports.
  • Offer migration guidance from Flake8, isort, and Black, plus editor integration steps for VS Code and IDEs.

Quick Start

Initialize Ruff settings for your project and run lint or format to enforce standards.

Frequently Asked Questions about quality-ruff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Ruff in pyproject.toml to replace Flake8 and Black?

Configure Ruff in pyproject.toml by centralizing standardized rule sets, per-file ignores, and isort integration to replace Flake8, isort, and Black. This provides fast, consistent Python code quality and formatting across your entire project.

What's the best way to migrate from Flake8 and isort to Ruff for Python linting?

Migrate from Flake8 and isort to Ruff for Python linting by applying comprehensive configuration blocks and tooling guidance. This standardizes your development workflow with a fast, reliable replacement that consolidates multiple tools into one.

Can I set per-file ignores and import sorting in Ruff?

Yes, you can set per-file ignores and import sorting in Ruff. The configuration offers per-file ignores and isort integration within your pyproject.toml setup to ensure consistent imports and handle project-specific overrides effectively.

How do I integrate Ruff linting and formatting with VS Code and other IDEs?

Integrate Ruff linting and formatting with VS Code and other IDEs by following specific editor integration steps. This setup ensures smooth adoption of the fast linting and formatting standards directly within your development environment.

Why use Ruff instead of Black and Flake8 for Python code quality?

Use Ruff instead of Black and Flake8 to centralize Python linting and formatting into a single, fast tool. It delivers reliable code quality across projects while reducing the overhead of managing multiple separate tools.