shfmt
popularproductivitybrew
mvdan · Shell formatting, bash style, and ci hygiene from the terminal.
$ brew install shfmtOne-liner to try
$ shfmt -w scriptsAgent pack
Copy into an agent
A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.
Readiness
Usable with guardrails · 50/100
Verify
shfmt --version
Agent URL
/cli/shfmt/agent.md
Quick reference
Install
brew install shfmtVerify
shfmt --versionFirst command
shfmt -w scriptsAbout
Shell formatting, bash style, and ci hygiene from the terminal. Built by mvdan.
Example workflow
1. shfmt -w scripts