ml-format

Community

Format code with ruff—fast and consistent.

Authornishide-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents code-style drift and reduces lint noise by automatically applying consistent formatting and optional auto-fixes across your Python codebase.

Core Features & Use Cases

  • Ruff formatting: Rewrites Python files into a uniform style using ruff format for entire projects, directories, or selected files.
  • Auto-fix lint issues (optional): Runs ruff check with --fix to apply auto-fixable lint and import-related improvements after formatting.
  • Dry-run and verification: Supports check-only mode with diffs and follows up with format-check and lint-check to ensure results are correct.
  • Git-friendly workflow: Helps you review changes via git status and git diff before committing, and supports formatting changed files only.

Quick Start

Tell the AI to format the entire project and then auto-fix only the safe, auto-fixable ruff issues before you review the git diff.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ml-format
Download link: https://github.com/nishide-dev/claude-code-ml-research/archive/main.zip#ml-format

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.