Smart Formatting

Claude Code Hook · development-tools

Smart Formatting is a Claude Code hook that auto-formats code per file type using tools like Prettier, Black, gofmt, and rustfmt. It helps developers keep code tidy without manual formatting steps.

Smart code formatting based on file type. Automatically formats code using Prettier, Black, gofmt, rustfmt, and other language-specific formatters.

Install

npx claude-code-templates@latest --hook development-tools/smart-formatting

View on GitHub