immosquare

Immosquare Cleaner — AI skill for Claude Code

AI community

One command to format every file of a repo: Ruby, ERB, JS/TS, Rust, Go, TOML, Markdown, Shell, JSON, YAML, CSS.

How to install Immosquare Cleaner

This entry records only its repository, not the path inside it, so there is no exact command to give. Open immosquare/immosquare-cleaner and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Immosquare Cleaner does

One command to format every file of a repo: Ruby, ERB, JS/TS, Rust, Go, TOML, Markdown, Shell, JSON, YAML, CSS. Run it as a Claude Code, Cursor or Gemini CLI hook so every file your AI agent writes comes out formatted.

Alternatives in AI

  • Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★
  • Squeez — Hook-based token compressor for 5 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI) 188 ★
  • Coffee CLI — A clean AI terminal workspace 180 ★

README


locale: en tags:

  • app:immosquare-cleaner
  • audience:technique

immosquare-cleaner

**One formatter for your whole repository — TypeScript, Rust, Go, Shell, TOML, Markdown, CSS and more — wired into your AI coding agent so every file it writes comes out clean.**

[![Gem Version](https://img.shields.io/gem/v/immosquare-cleaner)](https://rubygems.org/gems/immosquare-cleaner) [![Downloads](https://img.shields.io/gem/dt/immosquare-cleaner)](https://rubygems.org/gems/immosquare-cleaner) [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

![immosquare-cleaner --hook fixing the indentation and 36 RuboCop offenses of a file written by Claude Code](assets/demo.gif)

AI agents write code fast, but not consistently: wrong indentation, mixed quotes, stray semicolons. immosquare-cleaner gives every file to the right formatter with one shared configuration. Plug it into Claude Code, Codex, Cursor or Gemini CLI once, and every edit is formatted the moment the agent makes it. It also cleans a single file, or a whole repository in one run.

🧰 Supported formats

immosquare-cleaner picks the formatter from the file's extension or name. Each format has its own page with the rules applied and real before/after examples.

Format Files Formatter Details
JavaScript, TypeScript .js .mjs .cjs .jsx .ts .tsx ESLint javascript.md
Rust, TOML .rs, .toml rustfmt, taplo [rust-toml.md](docs/rust-toml