Agent skill · Code Review & Quality

ruff-recursive-fix

Run Ruff checks with optional scope and rule overrides, apply safe and unsafe autofixes iteratively, review each change, and resolve remaining findings with targeted edits or user decisions.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill ruff-recursive-fix --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ruff-recursive-fix/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Ruff Recursive Fix ## Overview Use this skill to enforce code quality with Ruff in a controlled, iterative workflow. It supports: - Optional scope limitation to a specific folder. - Default project settings from `pyproject.toml`. - Flexible Ruff invocation (`uv`, direct `ruff`, `python -m ruff`, or equivalent). - Optional per-run rule overrides (`--select`, `--ignore`, `--extend-select`, `--extend-ignore`). - Automatic safe then unsafe autofixes. - Diff review after each fix pass. - Recursive repetition until findings are resolved or require a decision. - Judicious use of inline `# noqa` only when suppression is justified. ## Inputs Collect these inputs before running: - `target_path` (optional): folder or file to check. Empty means whole repository. - `ruff_runner` (optional): explicit Ruff command prefix (for example `uv run`, `ruff`, `python -m ruff`, `pipx run ruff`). - `rules_select` (optional): comma-separated rule codes to enforce. - `rules_ignore` (optional): comma-separated rule codes to ignore. - `extend_select` (optional): extra rules to add without replacing configured defaults. - `extend_ignore` (optional): extra ignored rules without replacing configured defaults. -

What's inside
Steps it walks through
  1. Overview
  2. Inputs
  3. Command Construction
  4. 0. Resolve Ruff Runner
  5. Workflow
  6. 1. Baseline Analysis
  7. 2. Safe Autofix Pass
  8. 3. Unsafe Autofix Pass
  9. 4. Manual Remediation Pass
  10. 5. Ambiguity Policy
  11. 6. Suppression Decision (# noqa)
  12. 7. Recursive Loop and Stop Criteria
  13. Quality Gates
  14. Output Contract
Commands it runs
Full project with defaults from pyproject.toml
ruff check
One folder with defaults
python -m ruff check src/models
Override to skip docs and TODO-like rules for this run
uv run ruff check src --extend-ignore D,TD
Check only selected rules in a folder
ruff check src/data --select F,E9,I
More from awesome-copilot
All skills →
About this skill
What does the ruff-recursive-fix skill do?

Run Ruff checks with optional scope and rule overrides, apply safe and unsafe autofixes iteratively, review each change, and resolve remaining findings with targeted edits or user decisions.

How do I install it?

Run `npx skills add github/awesome-copilot --skill ruff-recursive-fix --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going