# ruff

> Official Astral skill for Ruff linting, formatting, and pyproject.toml rules

- **Publisher**: Astral (Verified Publisher)
- **Upstream GitHub Repository**: https://github.com/astral-sh/agent-plugins/tree/main/plugins/astral/skills/ruff
- **skills.sh Listing**: https://skills.sh/astral-sh/agent-plugins/ruff
- **License**: Apache-2.0
- **GitHub Stars**: 321
- **Canonical Web Page**: https://builderthread.dev/skill/astral-sh/agent-plugins/ruff
- **Parent Topic**: [python](https://builderthread.dev/skill/for/python.md)
- **Last Audited**: 2026-11-21
- **Supported Coding Agents**: Claude Code, Cursor, Codex, Windsurf

## Overview
Official Apache-2.0 skill from Astral guiding coding agents to configure Ruff rule sets, run ruff check and ruff format gates, and fix Python lint issues cleanly.

Inspect the full upstream `SKILL.md` source and license on GitHub before installing: https://github.com/astral-sh/agent-plugins/tree/main/plugins/astral/skills/ruff

## Install Command
```bash
npx skills add astral-sh/agent-plugins --skill ruff
```

## When to Use This Skill
- Setting up unified Python linting and formatting with Ruff
- Enforcing clean imports, bugbear checks, and formatting before commits
- Replacing slow legacy flake8 + black + isort setups

## Focus Areas
- ruff check & ruff format
- pyproject.toml rule config
- Safe vs unsafe autofixes
- CI lint gates

## Upstream Package Files
- `plugins/astral/skills/ruff/SKILL.md`

---

## Ship With a Private Starter Repo, Living PRD & MCP Tasks

Builderthread pairs verified stack skills with a cited market brief, living PRD, private GitHub starter repo, and ordered MCP tasks for Claude Code, Cursor, and Codex.

- Supported languages: Rust, TypeScript, React Native (Expo), Python
- Starter stacks: Next.js SaaS, Hono API, FastAPI AI, Expo mobile, Tauri Rust desktop, WXT Chrome extension
- Start now: https://builderthread.dev/auth/signup
