ruff-recursive-fix

Apply Ruff linters and fixers iteratively to Python code.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/voidrot/agents --skill ruff-recursive-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruff-recursive-fix
Source: https://github.com/voidrot/agents/tree/main/skills/python/ruff-recursive-fix
Command: npx skills add https://github.com/voidrot/agents --skill ruff-recursive-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines iterative Python code linting and fixing with Ruff, reducing manual intervention and preserving code behavior.

Core Features & Use Cases

  • Iterative Linting: Apply Ruff checks, safe fixes, and formatting iteratively to ensure minimal manual intervention.
  • Safe & Unsafe Fix Handling: Apply both safe and potentially unsafe fixes, with review for behavior sensitivity.
  • Manual Remediation: Handle remaining issues manually or through user decisions when needed.
  • Use Case: Use this Skill to systematically improve code quality across a large Python codebase, applying safe fixes and manually reviewing changes for complex or critical code.

Quick Start

Use the ruff-recursive-fix skill to run Ruff on the 'src/' directory and apply all fixes iteratively.

Frequently Asked Questions about ruff-recursive-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply Ruff fixes iteratively across a large Python codebase?

This Skill automates iterative Python code linting with Ruff to systematically improve large codebases. It applies safe fixes in loops, handles unsafe fixes with review, and allows manual remediation for complex cases.

Can I automatically apply unsafe Ruff fixes without breaking code behavior?

Yes, this Skill handles both safe and potentially unsafe Ruff fixes while preserving code behavior. It applies safe fixes iteratively and routes complex behavior-sensitive changes to manual remediation or user decisions.

What is the best way to run Ruff code cleanup on a large project?

The best way is iterative application with manual oversight. This Skill runs Ruff linters and fixers in controlled loops, applying safe fixes automatically and routing complex issues to manual remediation to preserve behavior.

Do I need Python and Ruff installed to use ruff-recursive-fix?

Yes, you need both Python and Ruff installed as dependencies to use ruff-recursive-fix. The Skill automates Ruff's linting and fixing commands directly on your Python codebase, requiring both to function.

When should I manually review Ruff changes during Python code cleanup?

You should manually review Ruff changes when handling behavior-sensitive or complex code. This Skill applies safe fixes automatically but prompts for manual remediation or user decisions when critical issues remain unresolved.