golang-cli
Guides building, extending, and reviewing Go CLI applications using Cobra and Viper, covering command structure, flags, config layering, exit codes, I/O, and testing.
What it does
Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for command structure, flag handling, configuration layering, version embedding, exit codes, I/O patterns, signal handling, shell completion, argument validation, and CLI unit testing. Also triggers when code uses cobra, viper, or urfave/cli. For cobra-specific APIs → See `samber/cc-skills-golang@golang-spf13-cobra` skill; for viper configuration layering → See `samber/cc-skills-golang@golang-spf13-viper` skill.
Quality judgment
Comprehensive, well-organized coverage of Go CLI development with strong trigger description and useful common-mistakes table. Examples are frequently referenced but delegated to external asset files rather than shown inline, which lowers self-containedness slightly.