Back to Skills

lint

Run targeted linting, formatting, and code quality checks on modified files. Use this to validate code style, type safety, security, and other quality metrics before committing. Supports running all checks or targeting specific checks on specific files for efficient validation.

621stars480forksUpdated 2/10/2026

Security Assessment

Safe(100/100)
Security Score100/100

About lint

The 'lint' skill provides a set of tools to help developers validate and improve the quality of their code before committing changes. It automates common tasks like formatting, type checking, style validation, and security audits, ensuring that the codebase maintains high standards in terms of readability, correctness, and security. By running these checks, developers can catch errors early, reduce the chances of introducing bugs, and follow consistent coding practices across teams and projects.

FAQ

What does the 'lint' skill do?

The 'lint' skill helps run various checks on your code, including formatting, style validation, type checking, and security audits, ensuring high-quality code before committing.

How can I run the lint checks?

You can run the lint checks by using the 'hatch run' command followed by the appropriate linting script, such as 'lint:checks', 'lint:fmt', or 'lint:security'.

Can I target specific files or directories for linting?

Yes, you can target specific files or directories by appending their path to the linting command, like 'hatch run lint:fmt -- path/to/file.py'.

What tools does the 'lint' skill depend on?

The 'lint' skill relies on tools like Bash, Grep, Glob, TodoWrite, and others to execute the linting tasks.

Can I run these lint checks on non-Python files?

Yes, the skill supports checks for various file types, including Python, C, and CMake files.

Install 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