# OpenCLI Agent Pack: shfmt

Use this when an AI agent needs to work with `shfmt`.

## What this CLI is for
Shell formatting, bash style, and ci hygiene from the terminal. Built by mvdan.

Best for: shell formatting, bash style, and ci hygiene from the terminal.

## Agent readiness
Usable with guardrails (50/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install shfmt
```

## Verify before real work
```sh
shfmt --version
```
Expected signal: shfmt responds locally and is ready for the first real command.

## Safe starting commands
```sh
shfmt --version
```

```sh
shfmt -w scripts
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Start read-only, then ask before mutations.

## Suggested agent instruction
You may use shfmt (`shfmt`) for shell formatting, bash style, and ci hygiene from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
