Registry / samber

samber/cc-skills-golang/golang-spf13-viper

Golang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), BindPFlag/BindPFlags, SetEnvPrefix + SetEnvKeyReplacer + AutomaticEnv, ReadInConfig + ConfigFileNotFoundError, Unmarshal + mapstructure struct tags, Sub for sub-trees, WatchConfig + OnConfigChange for hot reload, viper.New() for test isolation, and remote KV integration. Apply when using or adopting spf13/viper, or when the codebase imports `github.com/spf13/viper`. For CLI command structure a

Agent skill · version 2.0.1-main.1794413032.gd68d80a · from samber/cc-skills-golang

Install

npx yarkr-cli add skill:samber/cc-skills-golang/golang-spf13-viper

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-spf13-viper
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:samber/cc-skills-golang/golang-spf13-viper

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:samber/cc-skills-golang/golang-spf13-viper

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.