Shell argument quoting and prompt-file helpers for command templates.
From pkg.go.dev:
go get github.com/brandonkramer/shellquote@v0.1.0path, err := shellquote.WritePrompt(runDir, promptContent)
cmd := shellquote.SubstitutePrompt("cat {prompt}", path)
quoted := shellquote.Quote("/tmp/a file")Constants:
shellquote.DefaultPromptFile—"prompt.md"shellquote.PromptPlaceholder—"{prompt}"
Lefthook and golangci-lint are pinned in go.mod as tools (dev-only). Install git hooks once per clone:
make install-hooksmake check
make test
make lint