lint-fix

Automate Python linting and safe fixes with Ruff across codebases.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sunLeee/optimization --skill lint-fix-sunleee
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lint-fix
Source: https://github.com/sunLeee/optimization/tree/main/.claude/skills/utility/lint-fix
Command: npx skills add https://github.com/sunLeee/optimization --skill lint-fix-sunleee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill reduces the time spent on manual linting and ensures consistent code quality by automatically applying Ruff fixes.

Core Features & Use Cases

  • Auto-fix safe lint issues across Python codebases
  • Sort imports and format code to meet style guidelines
  • Check mode to report issues without changing code, or full fix workflow when allowed

Quick Start

Invoke the lint-fix workflow to automatically fix safe issues and format code across the repository.

Frequently Asked Questions about lint-fix

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

FAQPage Schema
How do I automatically fix Python linting errors across my codebase?▼

Ruff automates Python import sorting and code formatting to meet style guidelines, reducing manual linting time and ensuring consistent code quality across multiple codebases and workflows.

Can I check Python code issues without modifying the files?▼

The lint-fix workflow supports check mode to report issues without changing code, and a full fix mode that applies safe Ruff auto-fixes across libs/, apps/, and services directories.

Do I need Ruff installed to auto-fix lint issues in Python?▼

Ruff and Python environment configuration are required to use the auto-fix linting workflow, which then applies safe fixes and formats code across your repository.

What is the best way to sort imports and format Python code consistently?▼

The lint-fix workflow uses Ruff to sort imports and format Python code according to style guidelines, providing a summary of fixed and remaining issues after each run.

Are there limitations to auto-fixing Python code with Ruff?▼

The workflow only applies safe Ruff auto-fixes, leaving remaining issues unresolved and summarized, requiring Ruff and a Python environment to be properly configured beforehand.