Back to Skills

validate-lint

Run ESLint and Prettier validation to check code style, formatting, and best practices. Returns structured output with error/warning counts, rule violations, and affected files. Used for code quality gates and pre-commit validation.

6stars3forksUpdated 3/1/2026

Security Assessment

Safe(100/100)
Security Score100/100

About validate-lint

The 'validate-lint' skill is a tool designed to enhance code quality by running linting checks using ESLint and Prettier. It helps developers identify and fix code style, formatting, and best practice issues without making any changes to the code itself. By using this skill, teams can ensure that their code adheres to consistent standards before committing it to a version control system, thereby reducing errors and improving maintainability. It automates the validation process and provides structured, actionable output for developers to address any issues found in the codebase.

FAQ

How do I use the validate-lint skill?

You can use the validate-lint skill by running linting checks for your code with ESLint and Prettier. It returns structured validation results including error and warning counts, rule violations, and affected files.

What tools are supported by validate-lint?

The skill supports ESLint for JavaScript/TypeScript linting and Prettier for code formatting checks. It can be used with npm scripts or directly through tool invocation.

What happens if the linting results in errors or warnings?

If errors or warnings are found, the skill provides details including the specific rules violated, error and warning counts, and the affected files. It will also indicate if the process can proceed or if linting errors must be resolved first.

What are the requirements for using validate-lint?

You need ESLint installed (either via npm or as a package), a valid ESLint configuration file (e.g., .eslintrc, eslint.config.js, or package.json), and optionally, Prettier for formatting checks.

All Files

2 files
SKILL.md1.6 KB
View
skill.py5.0 KB
View

Install validate-lint

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