lint-fix

Automate Python lint formatting and fixes with Ruff before commit.

18|6|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/minh2004pd/chatbotfullpipeline --skill lint-fix-minh2004pd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-fix
Source: https://github.com/minh2004pd/chatbotfullpipeline/tree/main/.claude/skills/lint-fix
Command: npx skills add https://github.com/minh2004pd/chatbotfullpipeline --skill lint-fix-minh2004pd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Auto-fix Python lint and formatting issues in the backend before committing, reducing CI failures and keeping code clean.

Core Features & Use Cases

  • Auto-format Python files to a standard style using Ruff.
  • Auto-fix common lint issues (unused imports, minor errors) to pass pre-commit checks.
  • Improve CI reliability by ensuring a clean repository state prior to push.

Quick Start

Run lint-fix from the project root to automatically format and fix lint issues in the backend.

Frequently Asked Questions about lint-fix

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

FAQPage Schema
How do I auto-fix Python lint issues before a commit?

To auto-fix Python lint issues before a commit, run the process from your project root to automatically format files and resolve common errors like unused imports. This ensures a clean repository state prior to pushing.

How does Ruff format and check Python backend code?

Ruff formats and checks Python backend code by running ruff format to apply standard styling and ruff check --fix to automatically resolve minor lint issues. This validates a final clean state for local development workflows.

Do I need Ruff and a backend directory to use this Python formatter?

Yes, you need Ruff and Python installed to use this Python formatter. It assumes a backend/ directory layout and targets local development workflows where pre-commit quality and CI reliability matter.

What is the best way to prevent CI failures from Python formatting errors?

The best way to prevent CI failures from Python formatting errors is to automate lint formatting and auto-fix issues before committing. Applying ruff format and ruff check --fix locally improves CI reliability by ensuring a clean repository state.

Can I auto-fix unused imports in Python with Ruff?

Yes, you can auto-fix unused imports in Python with Ruff by running ruff check --fix. This automatically resolves unused imports and minor errors to pass pre-commit quality checks.