golang-spf13-viper
samber/cc-skills-golang
Viper is a powerful Go library for handling layered configuration. It resolves settings by checking multiple sources in strict precedence (Flag > Env > File > Default). This skill guides users on binding flags, reading various config files (YAML, JSON, etc.), automatic environment variable detection, and safely unmarshaling settings into Go structs. Essential for building robust Go applications and CLIs.