Auto-Format Code

•
35
•

Automatically formats modified code files using industry-standard tools to maintain consistent style and readability.

The Auto-Format skill streamlines development by automatically applying code formatting rules immediately after any file modification. By integrating popular formatters like Prettier for JavaScript/TypeScript, Black for Python, and native tools for Go and Rust, it ensures that your codebase remains clean and compliant with project-specific configurations. This skill eliminates the manual step of running formatters, allowing developers to focus on logic while the AI handles stylistic consistency across multiple programming languages.

주요 기능

01Respects local project configurations like .prettierrc and pyproject.toml
02Supports multiple languages including Python, JavaScript, TypeScript, Go, and Rust
03Automatically triggers after Edit, Write, and Bash tool operations
0435 GitHub stars
05Integrates with standard tools like Prettier, Black, autopep8, gofmt, and rustfmt
06Zero-config automatic detection of project types and appropriate formatters

사용 사례

01Maintaining clean architecture during rapid AI-assisted code generation
02Standardizing code style across polyglot repositories automatically
03Reducing PR review comments related to formatting and whitespace