What problem does it solve?
It helps you find and fix code-quality problems early by running consistent formatting, linting, and (when applicable) type checks.
Core Features & Use Cases
- Ruff formatting checks: Verify code follows the repository’s formatting rules so diffs stay clean and readable.
- Ruff lint checks (optionally auto-fix): Detect common issues like unused imports, undefined names, and style violations before they become bugs.
- Type checking with ty: Surface type-hint mismatches to improve maintainability and reduce runtime surprises; useful for larger or more strictly typed codebases.
Example use case: before a pull request, run the checks across the whole project to ensure formatting, linting, and typing are all clean so CI is less likely to fail.
Quick Start
Run the ml-lint skill to lint, format, and type-check your project for readiness before committing or opening a pull request.