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.
Install
npx skills add sandbaseai/workbuddy-skill --skill ruff-recursive-fixgit clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/ruff-recursive-fix ~/.claude/skills/ruff-recursive-fixPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
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. - `allow_unsafe_fixes` (default: true): whether to run Ruff unsafe fixes. - `ask_on_ambiguity` (default: true): always ask the user when multiple valid choices exist. ## Command Construction Build Ruff commands from inputs. ### 0. Resolve Ruff Runner
Details
- Skill name
ruff-recursive-fix- Repository
- sandbaseai/workbuddy-skill
- Path
skills/ruff-recursive-fix/SKILL.md- License
- MIT
- Repo updated
- 8 September 2026
FAQ
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 the Ruff Recursive Fix skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill ruff-recursive-fix. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Ruff Recursive Fix popular?
It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.
Related skills
Access Control Security Best Practices
9sandbaseai/workbuddy-skill
Design, review, implement, and verify least-privilege access controls across users, services, tenants, resources, and administrative workflows.
Accessibility Review
9sandbaseai/workbuddy-skill
Use when reviewing a web interface or interaction for semantic, keyboard, focus, screen-reader, ARIA, and contrast accessibility risks.
Acquire Codebase Knowledge
9sandbaseai/workbuddy-skill
Use when the user asks to map, document, or onboard into an existing codebase and needs evidence-backed architecture, structure, conventions, integrations, testing, and concerns documentation.
Sev1 First 15 Minutes
9sandbaseai/workbuddy-skill
Use when a confirmed high-severity production incident needs a bounded first response, clear ownership, safe stabilization, and an auditable timeline.
Requirements Grounding
9sandbaseai/workbuddy-skill
Ground proposed requirements in an actor-bound problem, explicit scope, authoritative sources, evidence, assumptions, priority, and validation confidence.
Socratic
5roby2358/skills
Socratic examination skill for guided inquiry. Use when helping someone examine beliefs, surface assumptions, or reach clearer understanding through questioning rather than direct instruction. Triggers on requests to help someone think through a problem, challenge their own reasoning, examine assumptions, or when the user explicitly asks for Socratic dialogue.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.