fix-lint-failures

Fix ESLint, Black, Prettier, Ruff, and pre-commit lint failures in repositories.

Updated Dec 15, 2025
One-click install
npx skills add https://github.com/VectorInstitute/aieng-bot-maintain --skill fix-lint-failures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-lint-failures
Source: https://github.com/VectorInstitute/aieng-bot-maintain/tree/main/.claude/skills/fix-lint-failures
Command: npx skills add https://github.com/VectorInstitute/aieng-bot-maintain --skill fix-lint-failures

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates identifying and fixing linting and formatting issues across a repository, helping teams ship clean code faster by addressing issues flagged by ESLint, Black, Prettier, Ruff, and pre-commit hooks.

Core Features & Use Cases

  • Automatic fixes for JavaScript/TypeScript linting (ESLint) and formatting (Prettier/Format)
  • Python linting fixes with Black, Ruff, isort, and integrated pre-commit checks
  • Pre-commit automation: run and apply fixes across the entire codebase
  • Safe code hygiene: apply fixes while preserving functionality; provide inline justification for any necessary ignores
  • Use Case: A PR fails CI due to lint errors; this Skill auto-fixes many issues, formats code consistently, and prepares a clean patch for review.

Quick Start

On a failing PR, run the fix-lint-failures skill to automatically fix linting and formatting issues across the repository. The Skill will scan for ESLint/Black/Ruff/Prettier violations and apply safe, review-friendly changes.

Frequently Asked Questions about fix-lint-failures

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

FAQPage Schema
How do I automatically fix ESLint and Prettier errors in my JavaScript project?

Auto-fix linting and formatting failures by running this Skill on your repository. It automatically applies safe corrections for ESLint violations and Prettier formatting issues across JavaScript and TypeScript files, then pushes changes to your PR branch.

Can I fix Python linting issues with Black and Ruff at the same time?

Yes. This Skill fixes Python linting and formatting failures detected by Black, Ruff, and isort in a single run. It applies safe auto-fixes across your Python codebase and validates corrections with the linters.

What happens when auto-fix can't resolve a linting issue?

For issues that require manual intervention, the Skill provides explicit inline justification for any necessary ignore directives. You can then complete manual corrections within your PR workflow before revalidation.

Does this work with pre-commit hooks in my repository?

Yes. The Skill runs and applies fixes across your entire codebase for pre-commit hook violations. It integrates pre-commit automation to catch and resolve issues flagged by your hooks.

How do I use this when my PR fails CI due to lint errors?

Run this Skill to automatically fix linting and formatting issues, then revalidate with linters to confirm resolution. The Skill reads your .pr-context.json to push cleaned code back to your PR branch for review.

Does this support multi-language projects?

Yes. The Skill handles multi-language repositories with JavaScript/TypeScript and Python codebases, applying tool-specific auto-fixes for ESLint, Prettier, Black, Ruff, and pre-commit hooks across your entire project.