Agent Skills: ruff
ruff — Astral's single, extremely fast (Rust) binary that is BOTH a Python linter (`ruff check`, ~970 rules replacing Flake8, isort, pyupgrade, bandit, pydocstyle, parts of Pylint) and a Black-compatible formatter (`ruff format`). Use when linting or formatting Python, configuring `[tool.ruff]` in `pyproject.toml` or a `ruff.toml`/`.ruff.toml`, choosing rules with `select`/`extend-select`/`ignore`, looking up a rule code like F401/E501/B008/UP006, applying autofixes (`--fix`, `--unsafe-fixes`, `--diff`), suppressing violations (`# noqa`, `# ruff: ignore[...]`, `--add-noqa`), enabling preview rules, adopting ruff in an existing codebase, or wiring it into pre-commit/CI. Triggers on mentions of ruff, `ruff check`, `ruff format`, `ruff.toml`, `[tool.ruff.lint]`, \"ruff rule\", `# noqa`, or migrating off flake8/black/isort. This is the **ruff linter/formatter by Astral** — NOT uv (packaging) or ty (type checker), separate Astral tools with their own skills, and NOT flake8/black/isort themselves.
Install this agent skill to your local
Skill Files
The files that make up ruff.
Loading file tree…
More agent skills
- prototypeBuild a throwaway prototype to answer a focused logic, state-model, or UI question before committing to production design. Use when the user asks to prototype, sanity-check a model, mock up UI, explore design options, or try a few designs.
- deployment-pipeline-designDesign multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.
- maven-plugin-configurationUse when configuring Maven plugins, setting up common plugins like compiler, surefire, jar, or creating custom plugin executions.
- core-fix-skill-docsInternal maintenance support for checking and fixing generated Rust skill documentation references. Use only when explicitly invoked by /fix-skill-docs.
- rtl-aware-developmentOpenCode Desktop should be RTL-aware. Use when implementing or reviewing RTL/LTR behavior in the web app, desktop app, CSS, menus, scrolling, resizing, icons, mixed-direction text, or Electron title bars.
- tailwindcss-developmentAlways invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS.