Golang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), BindPFlag/BindP…
Part of cc-skills-golangPack · 46 skills
by samber· Developer toolsUnclaimed · Yours? Claim it
About
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 alongside viper, see the `samber/cc-skills-golang@golang-spf13-cobra` skill. For general CLI architecture, see `samber/cc-skills-golang@golang-cli`.
Skills people install alongside golang-spf13-viper.
Runs on your machine.
Runs on your machine.
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.copilot/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.cursor/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.claude/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.agents/skills/golang-spf13-viper
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.gemini/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper .agents/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.openclaw/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.config/opencode/skills/golang-spf13-viper
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-spf13-viper ~/.hermes/skills/golang-spf13-viper
Scanned and passed · checked 50 min ago
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
No reviews yet. Used golang-spf13-viper? Say how it went.
Write a reviewTw93's engineering habits as eight skills: plan before you build, debug to root cause, review before you ship, and more.
Go skills for coding agents: idiomatic style, error handling, testing, concurrency, security and performance for production Go projects.
Test Double's coding skills: build test-first, refactor under green tests, review your branch and trace bugs to their root cause.
Nobody has shared how they use golang-spf13-viper yet.
Security scan
Passed
Safe to install in every agent it supports. Runs in your agent, as instructions.