github avatar

Ruff Recursive Fix

This one automates the tedious cycle of running Ruff checks, applying fixes, reviewing diffs, and dealing with what's left over. It handles safe fixes first, then unsafe ones if you allow it, formats after each pass, and loops until everything is clean or needs your decision. The workflow is deliberate about when to add noqa suppressions, only doing so when you've got a real conflict with framework conventions or required behavior. It supports scoping to specific folders, overriding rules per run, and works with whatever Ruff setup you have, whether that's uv, direct install, or python -m. Honest take: the structured approach to reviewing unsafe fixes and forcing a decision on ambiguities prevents the usual autopilot mistakes.

skills.sh installs
1.5K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill ruff-recursive-fix --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Python, Rust
First seen
Apr 16, 2026

More from github/awesome-copilot

All 318
1github avataremail-draftergithub/awesome-copilotDraft and review professional emails that match your personal writing style. Analyzes your sent emails for tone, greeting, structure, and sign-off patterns via 1.4Kskills.sh installs
2github avatararize-annotationgithub/awesome-copilotCreates and manages annotation configs (categorical, continuous, freeform label schemas) and annotation queues (human review workflows) on Arize. Applies human 1.1Kskills.sh installs
3github avatarphoenix-cligithub/awesome-copilotDebug LLM applications using the Phoenix CLI. Fetch traces, analyze errors, structure trace review with open coding and axial coding, inspect datasets, review e1Kskills.sh installs
4microsoft avatarskill-authoringmicrosoft/github-copilot-for-azureGuidelines for writing Agent Skills that comply with the agentskills.io specification. WHEN: \"create a skill\", \"new skill\", \"write a skill\", \"skill templ1Kskills.sh installs
5microsoft avatarfile-test-bugmicrosoft/github-copilot-for-azureFile a GitHub issue for local integration test failures. TRIGGERS: file test bug, report test failure, create bug for test, integration test failed, test failur978skills.sh installs
6github avatarcode-tourgithub/awesome-copilotUse this skill to create CodeTour .tour files — persona-targeted, step-by-step walkthroughs that link to real files and line numbers. Trigger for: "create a tou739skills.sh installs