Unified Code Formatter
Standardizes and formats code across multiple stacks including Python, Rust, and TypeScript to ensure consistent style and quality.
The fmt skill is a comprehensive multi-stack code formatting utility designed to automate the maintenance of clean, idiomatic codebases. It automatically detects project environments—such as Rust, Python, Markdown, and Deno—and applies the appropriate formatting and linting tools like cargo fmt, ruff, and deno fmt. By streamlining the 'clean up' phase of development and integrating with commit workflows, it ensures that code remains standardized without manual intervention, supporting both auto-fix and check-only modes for flexible repository management.
主な機能
01398 GitHub stars
02Multi-stack auto-detection for Rust, Python, Deno, and Markdown projects.
03Native integration with ruff via uv run for high-performance Python linting.
04Configurable stack-specific rules via optional .khive/fmt.toml files.
05Automated execution triggers for use during refactors or before git commits.
06Comprehensive 'Check Mode' to identify style violations without file modification.
ユースケース
01Running CI-style formatting checks to ensure project standards are maintained.
02Automating linting and formatting fixes during large-scale code refactors.
03Standardizing code style across a polyglot repository before pushing changes.