Back to Skills

lint-fixer

Use this skill to run npm run lint and fix linting issues. Triggers on fixing lint errors after code changes or validating code against project style guidelines.

21,348stars994forksUpdated 1/20/2026

Security Assessment

Safe(100/100)
Security Score100/100

About lint-fixer

The lint-fixer skill is designed to streamline the process of identifying and resolving linting issues in codebases, particularly those using JavaScript and TypeScript. By automating the linting process, it helps developers maintain code quality and adhere to project style guidelines. This skill runs a series of tools that not only detect but also automatically correct many common style errors, which significantly reduces the manual effort required in code maintenance. With lint-fixer, developers can ensure that their code remains clean, consistent, and free from common pitfalls that could lead to runtime errors or security vulnerabilities.

The lint-fixer skill integrates four powerful tools: Biome for formatting and linting, oxlint for fast JavaScript and TypeScript linting, tsgo for TypeScript type checking, and secretlint for detecting sensitive information within the code. By following a straightforward workflow that includes running the lint command, reviewing issues, and applying fixes, users can efficiently clean their codebases. Importantly, the skill emphasizes preserving code functionality while making stylistic corrections, ensuring that the end result does not alter the intended behavior of the code.

This skill is particularly beneficial for software developers, code maintainers, and teams working on collaborative projects where code consistency is vital. It is also useful for new developers who are learning to adhere to coding standards. The automated nature of the lint-fixer allows users to focus more on coding rather than debugging style issues, thus improving overall productivity and code quality. Use cases include preparing code for production, reviewing pull requests, and ensuring compliance with coding standards in a continuous integration environment.

FAQ

How do I run the lint-fixer skill?

You can run the lint-fixer skill by executing the command 'npm run lint' in your project directory.

What tools does lint-fixer use?

Lint-fixer uses Biome, oxlint, tsgo, and secretlint to perform linting, type checking, and secret detection.

Are there any specific configuration files required?

Yes, you need 'biome.json', '.oxlintrc.json', and '.secretlintrc.json' for configuring linting rules.

Can lint-fixer handle all types of linting errors?

No, while Biome and oxlint can auto-fix many style issues, type errors detected by tsgo require manual fixes.

What is the maximum file size for lint-fixer to work effectively?

It's recommended to keep files under 250 lines for optimal lint-fixing performance.

Install lint-fixer

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill