Go CLI Command Design

Design and review predictable Go command-line interfaces with canonical names and flags; explicit inputs and precedence; human, plain, and structured output; safe prompting; stdout and stderr contracts; help; errors; exit codes; cancellation; dependency injection; and platform behavior. Use when creating a Go CLI, changing its public command contract, making command code testable, or reviewing compatibility for people, scripts, AI agents, and CI.

LVTD-LLC 5fb4958 8 files · 30.3 KB Updated

File contents

LVTD-LLC/skills/tree/main/skills/go-cli-command-design commit 5fb4958c69

Frequently asked questions

npx skillmds@latest add lvtd-llc/go-cli-command-design