# Run one formatter plan across a mixed-language repo and keep generated edits predictable with treefmt

> Use treefmt when an agent needs one repo-level formatting plan across multiple languages instead of stitching formatter commands together ad hoc.

- Skill: `agentskillexchange/run-one-formatter-plan-across-a-mixed-language-repo-and-keep` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/run-one-formatter-plan-across-a-mixed-language-repo-and-keep`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/run-one-formatter-plan-across-a-mixed-language-repo-and-keep/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/run-one-formatter-plan-across-a-mixed-language-repo-and-keep

---


# Run one formatter plan across a mixed-language repo and keep generated edits predictable with treefmt

Use treefmt when an agent needs one repo-level formatting plan across multiple languages instead of stitching formatter commands together ad hoc.

## Prerequisites

treefmt, the underlying language formatters you plan to invoke, a repository-level treefmt configuration file, and shell access.

## Installation

Basic usage or getting-started notes:
- What if that single command would handle all the formatters in parallel? And only format files that have changed since the previous run?
- When formatters are run in a script, they process all the files they encounter, regardless of whether or not
- You can install treefmt by downloading the binary. Find the binaries for different architectures [here](https://github.com/numtide/treefmt/releases).

- Source: https://github.com/numtide/treefmt
- Extracted from upstream docs: https://raw.githubusercontent.com/numtide/treefmt/HEAD/README.md

## Documentation

- https://treefmt.com/latest/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-one-formatter-plan-across-a-mixed-language-repo-and-keep-generated-edits-predictable-with-treefmt/)

