I Built Format-on-Save for Everything That Isn't an Editor
go
dev.to
Editors have had format-on-save for years. The rest of the development environment has not. When a generator, shell command or coding agent writes a file, the bytes usually land exactly as produced. The repository may already have Prettier, Ruff or gofmt, but nothing asks it to run. The mistake is found later by a pre-commit hook, CI, or the agent itself after it has moved on. I built onwrite to run the project's own tools at the point of the write. The command I use most is: $ onwrite run