Sign inGet started
–

Guides building, extending, and reviewing Go CLI applications using Cobra and Viper, covering command structure, flags, config layering, exit codes, I/O, and testing.

Lift · GLM-5.3-flash—not yet benchmarked
89
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

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.

#cli#cobra#golang#testing#viper

Quality judgment

completeness
8.5/10
clarity
9.0/10
trigger quality
9.0/10
examples
6.0/10
structure
8.5/10
overall
8.0/10

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.

allowed-tools

Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent AskUserQuestion

Files (16)

assets/examples/args.go · 1.0 KBassets/examples/cli_test.go · 1.2 KBassets/examples/completion.go · 1.6 KBassets/examples/config.go · 1.7 KBassets/examples/exit_codes.go · 0.5 KBassets/examples/flags.go · 1.3 KBassets/examples/go.mod · 0.0 KBassets/examples/main.go · 0.1 KB… 8 more