ruff

Lint and format Python code with a single Ruff configuration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kittne/codex-skills-by-codex --skill ruff-kittne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruff
Source: https://github.com/kittne/codex-skills-by-codex/tree/main/ruff
Command: npx skills add https://github.com/kittne/codex-skills-by-codex --skill ruff-kittne

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ruff unifies linting, formatting, and editor/CI integration for Python projects, delivering fast, deterministic quality checks and a single source of truth for code standards.

Core Features & Use Cases

  • Linting and safe autofixes to catch errors and enforce consistent style across codebases.
  • Formatting with a single tool that avoids conflicts with other formatters while preserving project conventions.
  • Editor and CI integration with caching and monorepo-friendly config to scale quality workflows.

Quick Start

Run Ruff on your project to apply safe autofixes and unify formatting with a single configuration source.

Frequently Asked Questions about ruff

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

FAQPage Schema
How do I lint and format Python code automatically in a monorepo?

To lint and format Python code in a monorepo, you need a tool that applies safe autofixes and unifies formatting using a single canonical configuration. This approach scales quality workflows across multiple project directories with caching.

What is the best way to standardize Python code style in CI pipelines?

Standardizing Python code style in CI pipelines is best achieved by running a single linter and formatter with editor and CI integration. This delivers fast, deterministic quality checks and serves as a single source of truth for code standards.

Do I need a specific configuration file to lint and format my Python project?

Yes, you need a single canonical configuration file, typically located in pyproject.toml or .ruff.toml. This configuration supports extend inheritance to maintain consistent linting and formatting rules across your Python project.

Can I use one tool to replace multiple Python linters and formatters?

Yes, you can replace multiple Python linters and formatters with a single tool that unifies linting, formatting, and editor integration. This avoids conflicts with other formatters while preserving your project conventions and applying safe autofixes.

How does Python code formatting work with pre-commit workflows?

Python code formatting integrates with pre-commit workflows by running fast, deterministic checks that apply safe autofixes before code is committed. This ensures consistent style and catches errors early using a single configuration source.

Does Python linting support Jupyter notebooks?

Yes, Python linting and formatting supports Jupyter notebooks alongside standard Python projects. You can apply safe autofixes and unify formatting across scripts, libraries, and notebooks using a single canonical configuration.