Auto Code Formatter
Auto-detects and formats project code using repository-configured formatters with built-in caching and token optimization.
Auto Code Formatter inspects your workspace to identify existing formatting configurations and executes code formatting commands with minimal token overhead. By leveraging smart 7-day configuration caching, early exit checks for unchanged files, and direct system bash execution, this skill ensures clean, consistent code style across your entire repository without wasting AI context window tokens.
主要功能
01Employs early exit logic when no files have been modified
02Caches formatter settings in `.claude/cache/` for fast subsequent executions
03Integrates seamlessly with existing multi-language formatting tools
04Optimizes token usage through Grep-before-Read and system queries
05Auto-detects project-specific formatting tools and configs
061 GitHub stars
使用场景
01Running token-efficient formatting checks during Claude Code development workflows
02Maintaining consistent multi-language formatting rules across repository files
03Standardizing code style across modified files before committing changes