[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DFQPCEDDYK6NSPTSC25GRQ":3,"skill-same:01M7DFQPCEDDYK6NSPTSC25GRQ":87},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":60},"01M7DFQPCEDDYK6NSPTSC25GRQ","golang-spf13-viper",null,"Golang configuration library using spf13\u002Fviper — layered precedence (flag > env > file > KV > default), BindPFlag\u002FBindPFlags, 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\u002Fviper, or when the codebase imports `github.com\u002Fspf13\u002Fviper`. For CLI command structure alongside viper, see the `samber\u002Fcc-skills-golang@golang-spf13-cobra` skill. For general CLI architecture, see `samber\u002Fcc-skills-golang@golang-cli`.","heynemann\u002Fomp-marketplace","heynemann","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F60965?v=4","01M7DFBD9ZDB2J2QE7R4AR0PES","Bernardo Heynemann","01M7DFBDAM3NXF540P210W3NYT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: golang-spf13-viper\ndescription: \"Golang configuration library using spf13\u002Fviper — layered precedence (flag > env > file > KV > default), BindPFlag\u002FBindPFlags, 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\u002Fviper, or when the codebase imports `github.com\u002Fspf13\u002Fviper`. For CLI command structure alongside viper, see the `samber\u002Fcc-skills-golang@golang-spf13-cobra` skill. For general CLI architecture, see `samber\u002Fcc-skills-golang@golang-cli`.\"\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code, Codex or similar harness, and for projects using Golang.\nmetadata:\n  author: samber\n  version: \"1.1.2\"\n  openclaw:\n    emoji: \"🔧\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n    requires:\n      bins:\n        - go\n    install: []\n    skill-library-version: \"1.21.0\"\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*\npaths:\n  - \"**\u002F*.go\"\n---\n\n**Persona:** You are a Go engineer who treats configuration as a layered system. Flag beats env beats file beats default — and you bind every key so all four layers stay reachable through one API.\n\n# Using spf13\u002Fviper for layered configuration in Go\n\nViper resolves configuration values from multiple sources in a fixed precedence order. It has no user-facing surface — it doesn't define commands or flags. Its job is to answer \"what is the value of key X right now?\" by walking its source layers from highest to lowest priority.\n\n**Official Resources:**\n\n- [pkg.go.dev\u002Fgithub.com\u002Fspf13\u002Fviper](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fspf13\u002Fviper)\n- [github.com\u002Fspf13\u002Fviper](https:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper)\n\nThis skill is not exhaustive — refer to library documentation and code examples for more information:\n\n- For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber\u002Fcc-skills-golang@golang-pkg-go-dev` skill (`godig`), preferred over Context7 for Go package facts.\n- To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber\u002Fcc-skills-golang@golang-gopls` skill (`gopls`).\n- Context7 remains a fallback for docs not indexed on pkg.go.dev.\n\n```bash\ngo get github.com\u002Fspf13\u002Fviper@latest\n```\n\n## Viper vs. cobra\n\nCobra owns the command tree — subcommands, flags, arg validation, completions. Viper owns configuration resolution — it answers \"what is the value of key X?\" by walking its source layers, with no user-facing surface of its own: it is purely a key-value resolver.\n\n- **Cobra alone** — flag-only CLIs.\n- **Viper alone** — config-file daemons.\n- **Both** — bind flags at `PersistentPreRunE` via `BindPFlag`.\n\n→ See `samber\u002Fcc-skills-golang@golang-spf13-cobra` for the cobra side of this integration.\n\n## The precedence pipeline\n\nViper resolves a key by walking sources in this order (first set value wins):\n\n```\n1. explicit Set()      — viper.Set(\"key\", val)    highest priority\n2. flag                — bound pflag.Flag\n3. env var             — BindEnv \u002F AutomaticEnv\n4. config file         — ReadInConfig \u002F MergeInConfig\n5. KV remote           — etcd \u002F Consul\n6. default             — viper.SetDefault(\"key\", val)   lowest priority\n```\n\nThis pipeline is fixed and cannot be reordered. Understanding it prevents most viper bugs: a key that \"should\" come from a config file may be shadowed by an env var or a flag with a default value.\n\n## Sources and config files\n\n```go\nviper.SetConfigName(\"config\")\nviper.AddConfigPath(\"$HOME\u002F.myapp\")\nif err := viper.ReadInConfig(); err != nil {\n    var notFound *viper.ConfigFileNotFoundError\n    if !errors.As(err, &notFound) {\n        return fmt.Errorf(\"reading config: %w\", err) \u002F\u002F propagate real errors only\n    }\n}\n```\n\n`ConfigFileNotFoundError` must be handled gracefully — config files are usually optional. An unhandled error from a missing file crashes programs that are perfectly valid when run with only flags or env vars.\n\nFor supported formats (JSON, TOML, YAML, HCL, INI, properties), `MergeInConfig`, and remote KV, see [sources-and-formats.md](references\u002Fsources-and-formats.md).\n\n## Env binding and key replacers\n\nThis is the highest-bug-density area in viper. All three settings must be wired together — missing any one breaks nested key resolution:\n\n```go\n\u002F\u002F ✓ Good — all three wired together at startup\nviper.SetEnvPrefix(\"MYAPP\")                             \u002F\u002F prevent collisions: PORT → MYAPP_PORT\nviper.SetEnvKeyReplacer(strings.NewReplacer(\".\", \"_\"))  \u002F\u002F database.host → MYAPP_DATABASE_HOST\nviper.AutomaticEnv()\n\n\u002F\u002F ✗ Bad — without SetEnvKeyReplacer, viper looks for MYAPP_DATABASE.HOST (dot preserved)\n```\n\nFor `BindEnv`, `AllowEmptyEnv`, and env-vs-default interaction, see [binding-and-env.md](references\u002Fbinding-and-env.md).\n\n## Flag binding (the cobra seam)\n\nBind cobra flags to viper in `init()` or `PersistentPreRunE` — never in `RunE` (config loading in `PersistentPreRunE` already ran before `RunE`, so bindings set in `RunE` are missed):\n\n```go\nfunc init() {\n    rootCmd.PersistentFlags().Int(\"port\", 8080, \"listen port\")\n    viper.BindPFlag(\"port\", rootCmd.PersistentFlags().Lookup(\"port\"))\n    \u002F\u002F viper.BindPFlags(cmd.Flags()) — bind an entire FlagSet at once\n}\n```\n\nFor `AllowEmptyEnv` and flag\u002Fenv interaction details, see [binding-and-env.md](references\u002Fbinding-and-env.md).\n\n## Unmarshaling into structs\n\n`viper.Unmarshal` maps the resolved configuration into a struct using `mapstructure`:\n\n```go\ntype Config struct {\n    Port     int `mapstructure:\"port\"`\n    Database struct {\n        MaxConn int `mapstructure:\"max_conn\"` \u002F\u002F explicit tag: mapstructure won't convert underscore→camelCase\n    } `mapstructure:\"database\"`\n}\nvar cfg Config\nviper.Unmarshal(&cfg)\n```\n\n**Always use `mapstructure` tags** — implicit mapping is fragile for nested structs and underscore-named fields. Prefer `UnmarshalKey(\"database\", &dbCfg)` over `Sub(\"database\").Unmarshal` — it avoids the nil-check `Sub` requires when the key is missing.\n\nFor `time.Duration` \u002F `net.IP` \u002F slice decoders and custom `DecodeHook` registration, see [unmarshal.md](references\u002Funmarshal.md).\n\n## Sub-trees\n\n`viper.Sub(\"database\")` returns a new `*viper.Viper` scoped to the prefix, or **nil** if the key does not exist — always nil-check before calling methods on the result. Prefer `UnmarshalKey(\"database\", &dbCfg)` which avoids the nil risk entirely.\n\n## Hot reload\n\n```go\nviper.WatchConfig()\nviper.OnConfigChange(func(e fsnotify.Event) { \u002F* re-apply changed values *\u002F })\n```\n\n`WatchConfig` uses fsnotify and watches inodes, so editors that write atomically via rename (vim, neovim) replace the inode and the callback may not fire. Test hot-reload with `echo >> config.yaml`, not editor saves. For race-safe reload patterns, see [watch-and-reload.md](references\u002Fwatch-and-reload.md).\n\n## Test isolation\n\n**Never use the global viper in tests** — state leaks across test cases. Use `viper.New()` per test so each instance is isolated:\n\n```go\nv := viper.New()\nv.SetConfigFile(\"testdata\u002Fconfig.yaml\")\nrequire.NoError(t, v.ReadInConfig())\n```\n\nFor `t.Setenv` interactions and `Reset()` limitations, see [testing-and-isolation.md](references\u002Ftesting-and-isolation.md).\n\n## Best Practices\n\n1. **Set prefix + key replacer + AutomaticEnv together** — missing any one causes nested env keys to silently not resolve (`database.host` → `DATABASE.HOST` instead of `DATABASE_HOST`).\n2. **Handle `ConfigFileNotFoundError` gracefully** — a missing config file should not crash a service that runs with only flags and env vars.\n3. **Always use `mapstructure` tags on config structs** — implicit mapping silently misses nested and underscore-named fields.\n4. **Use `viper.New()` in tests, never the global** — the global accumulates state across test runs; per-test instances are isolated.\n5. **Bind flags before `Execute()`** — binding in `RunE` is too late; cobra parses flags before `RunE` runs.\n\n## Common Mistakes\n\n| Mistake | Why it fails | Fix |\n| --- | --- | --- |\n| `AutomaticEnv` without `SetEnvKeyReplacer` | `database.host` looks for `MYAPP_DATABASE.HOST` (dot preserved) — never matches | Add `SetEnvKeyReplacer(strings.NewReplacer(\".\", \"_\"))` before `AutomaticEnv` |\n| No `mapstructure` tags on struct fields | Silently misses nested and underscore-named fields | Add `mapstructure:\"key_name\"` to every field |\n| Using global viper in tests | State from one test contaminates the next, causing flaky ordering | Create `viper.New()` per test |\n| Missing `ConfigFileNotFoundError` check | Missing config file crashes a service that should run on flags\u002Fenv alone | `errors.As(err, &notFound)` — only propagate non-not-found errors |\n\n## Further Reading\n\n- [sources-and-formats.md](references\u002Fsources-and-formats.md) — supported file formats, multi-path search, MergeInConfig, remote KV (etcd\u002FConsul)\n- [binding-and-env.md](references\u002Fbinding-and-env.md) — BindEnv, AutomaticEnv, SetEnvPrefix, SetEnvKeyReplacer, AllowEmptyEnv, timing rules\n- [unmarshal.md](references\u002Funmarshal.md) — Unmarshal, UnmarshalKey, mapstructure tags, custom DecodeHooks (Duration, IP, slice)\n- [watch-and-reload.md](references\u002Fwatch-and-reload.md) — WatchConfig, OnConfigChange, fsnotify caveats, atomic-rename trap, race-safe patterns\n- [testing-and-isolation.md](references\u002Ftesting-and-isolation.md) — viper.New() per test, t.Setenv interactions, Reset() limitations, snapshot\u002Frestore\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-cli` skill for general CLI architecture — project layout, exit codes, signal handling, cobra+viper integration\n- → See `samber\u002Fcc-skills-golang@golang-spf13-cobra` skill for the cobra side of this integration (flag definition and binding)\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general Go testing patterns\n\nIf you encounter a bug or unexpected behavior in spf13\u002Fviper, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper\u002Fissues>.\n","**Persona:** You are a Go engineer who treats configuration as a layered system. Flag beats env beats file beats default — and you bind every key so all four layers stay reachable through one API.\n\n# Using spf13\u002Fviper for layered configuration in Go\n\nViper resolves configuration values from multiple sources in a fixed precedence order. It has no user-facing surface — it doesn't define commands or flags. Its job is to answer \"what is the value of key X right now?\" by walking its source layers from highest to lowest priority.\n\n**Official Resources:**\n\n- [pkg.go.dev\u002Fgithub.com\u002Fspf13\u002Fviper](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fspf13\u002Fviper)\n- [github.com\u002Fspf13\u002Fviper](https:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper)\n\nThis skill is not exhaustive — refer to library documentation and code examples for more information:\n\n- For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber\u002Fcc-skills-golang@golang-pkg-go-dev` skill (`godig`), preferred over Context7 for Go package facts.\n- To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber\u002Fcc-skills-golang@golang-gopls` skill (`gopls`).\n- Context7 remains a fallback for docs not indexed on pkg.go.dev.\n\n```bash\ngo get github.com\u002Fspf13\u002Fviper@latest\n```\n\n## Viper vs. cobra\n\nCobra owns the command tree — subcommands, flags, arg validation, completions. Viper owns configuration resolution — it answers \"what is the value of key X?\" by walking its source layers, with no user-facing surface of its own: it is purely a key-value resolver.\n\n- **Cobra alone** — flag-only CLIs.\n- **Viper alone** — config-file daemons.\n- **Both** — bind flags at `PersistentPreRunE` via `BindPFlag`.\n\n→ See `samber\u002Fcc-skills-golang@golang-spf13-cobra` for the cobra side of this integration.\n\n## The precedence pipeline\n\nViper resolves a key by walking sources in this order (first set value wins):\n\n```\n1. explicit Set()      — viper.Set(\"key\", val)    highest priority\n2. flag                — bound pflag.Flag\n3. env var             — BindEnv \u002F AutomaticEnv\n4. config file         — ReadInConfig \u002F MergeInConfig\n5. KV remote           — etcd \u002F Consul\n6. default             — viper.SetDefault(\"key\", val)   lowest priority\n```\n\nThis pipeline is fixed and cannot be reordered. Understanding it prevents most viper bugs: a key that \"should\" come from a config file may be shadowed by an env var or a flag with a default value.\n\n## Sources and config files\n\n```go\nviper.SetConfigName(\"config\")\nviper.AddConfigPath(\"$HOME\u002F.myapp\")\nif err := viper.ReadInConfig(); err != nil {\n    var notFound *viper.ConfigFileNotFoundError\n    if !errors.As(err, &notFound) {\n        return fmt.Errorf(\"reading config: %w\", err) \u002F\u002F propagate real errors only\n    }\n}\n```\n\n`ConfigFileNotFoundError` must be handled gracefully — config files are usually optional. An unhandled error from a missing file crashes programs that are perfectly valid when run with only flags or env vars.\n\nFor supported formats (JSON, TOML, YAML, HCL, INI, properties), `MergeInConfig`, and remote KV, see [sources-and-formats.md](references\u002Fsources-and-formats.md).\n\n## Env binding and key replacers\n\nThis is the highest-bug-density area in viper. All three settings must be wired together — missing any one breaks nested key resolution:\n\n```go\n\u002F\u002F ✓ Good — all three wired together at startup\nviper.SetEnvPrefix(\"MYAPP\")                             \u002F\u002F prevent collisions: PORT → MYAPP_PORT\nviper.SetEnvKeyReplacer(strings.NewReplacer(\".\", \"_\"))  \u002F\u002F database.host → MYAPP_DATABASE_HOST\nviper.AutomaticEnv()\n\n\u002F\u002F ✗ Bad — without SetEnvKeyReplacer, viper looks for MYAPP_DATABASE.HOST (dot preserved)\n```\n\nFor `BindEnv`, `AllowEmptyEnv`, and env-vs-default interaction, see [binding-and-env.md](references\u002Fbinding-and-env.md).\n\n## Flag binding (the cobra seam)\n\nBind cobra flags to viper in `init()` or `PersistentPreRunE` — never in `RunE` (config loading in `PersistentPreRunE` already ran before `RunE`, so bindings set in `RunE` are missed):\n\n```go\nfunc init() {\n    rootCmd.PersistentFlags().Int(\"port\", 8080, \"listen port\")\n    viper.BindPFlag(\"port\", rootCmd.PersistentFlags().Lookup(\"port\"))\n    \u002F\u002F viper.BindPFlags(cmd.Flags()) — bind an entire FlagSet at once\n}\n```\n\nFor `AllowEmptyEnv` and flag\u002Fenv interaction details, see [binding-and-env.md](references\u002Fbinding-and-env.md).\n\n## Unmarshaling into structs\n\n`viper.Unmarshal` maps the resolved configuration into a struct using `mapstructure`:\n\n```go\ntype Config struct {\n    Port     int `mapstructure:\"port\"`\n    Database struct {\n        MaxConn int `mapstructure:\"max_conn\"` \u002F\u002F explicit tag: mapstructure won't convert underscore→camelCase\n    } `mapstructure:\"database\"`\n}\nvar cfg Config\nviper.Unmarshal(&cfg)\n```\n\n**Always use `mapstructure` tags** — implicit mapping is fragile for nested structs and underscore-named fields. Prefer `UnmarshalKey(\"database\", &dbCfg)` over `Sub(\"database\").Unmarshal` — it avoids the nil-check `Sub` requires when the key is missing.\n\nFor `time.Duration` \u002F `net.IP` \u002F slice decoders and custom `DecodeHook` registration, see [unmarshal.md](references\u002Funmarshal.md).\n\n## Sub-trees\n\n`viper.Sub(\"database\")` returns a new `*viper.Viper` scoped to the prefix, or **nil** if the key does not exist — always nil-check before calling methods on the result. Prefer `UnmarshalKey(\"database\", &dbCfg)` which avoids the nil risk entirely.\n\n## Hot reload\n\n```go\nviper.WatchConfig()\nviper.OnConfigChange(func(e fsnotify.Event) { \u002F* re-apply changed values *\u002F })\n```\n\n`WatchConfig` uses fsnotify and watches inodes, so editors that write atomically via rename (vim, neovim) replace the inode and the callback may not fire. Test hot-reload with `echo >> config.yaml`, not editor saves. For race-safe reload patterns, see [watch-and-reload.md](references\u002Fwatch-and-reload.md).\n\n## Test isolation\n\n**Never use the global viper in tests** — state leaks across test cases. Use `viper.New()` per test so each instance is isolated:\n\n```go\nv := viper.New()\nv.SetConfigFile(\"testdata\u002Fconfig.yaml\")\nrequire.NoError(t, v.ReadInConfig())\n```\n\nFor `t.Setenv` interactions and `Reset()` limitations, see [testing-and-isolation.md](references\u002Ftesting-and-isolation.md).\n\n## Best Practices\n\n1. **Set prefix + key replacer + AutomaticEnv together** — missing any one causes nested env keys to silently not resolve (`database.host` → `DATABASE.HOST` instead of `DATABASE_HOST`).\n2. **Handle `ConfigFileNotFoundError` gracefully** — a missing config file should not crash a service that runs with only flags and env vars.\n3. **Always use `mapstructure` tags on config structs** — implicit mapping silently misses nested and underscore-named fields.\n4. **Use `viper.New()` in tests, never the global** — the global accumulates state across test runs; per-test instances are isolated.\n5. **Bind flags before `Execute()`** — binding in `RunE` is too late; cobra parses flags before `RunE` runs.\n\n## Common Mistakes\n\n| Mistake | Why it fails | Fix |\n| --- | --- | --- |\n| `AutomaticEnv` without `SetEnvKeyReplacer` | `database.host` looks for `MYAPP_DATABASE.HOST` (dot preserved) — never matches | Add `SetEnvKeyReplacer(strings.NewReplacer(\".\", \"_\"))` before `AutomaticEnv` |\n| No `mapstructure` tags on struct fields | Silently misses nested and underscore-named fields | Add `mapstructure:\"key_name\"` to every field |\n| Using global viper in tests | State from one test contaminates the next, causing flaky ordering | Create `viper.New()` per test |\n| Missing `ConfigFileNotFoundError` check | Missing config file crashes a service that should run on flags\u002Fenv alone | `errors.As(err, &notFound)` — only propagate non-not-found errors |\n\n## Further Reading\n\n- [sources-and-formats.md](references\u002Fsources-and-formats.md) — supported file formats, multi-path search, MergeInConfig, remote KV (etcd\u002FConsul)\n- [binding-and-env.md](references\u002Fbinding-and-env.md) — BindEnv, AutomaticEnv, SetEnvPrefix, SetEnvKeyReplacer, AllowEmptyEnv, timing rules\n- [unmarshal.md](references\u002Funmarshal.md) — Unmarshal, UnmarshalKey, mapstructure tags, custom DecodeHooks (Duration, IP, slice)\n- [watch-and-reload.md](references\u002Fwatch-and-reload.md) — WatchConfig, OnConfigChange, fsnotify caveats, atomic-rename trap, race-safe patterns\n- [testing-and-isolation.md](references\u002Ftesting-and-isolation.md) — viper.New() per test, t.Setenv interactions, Reset() limitations, snapshot\u002Frestore\n\n## Cross-References\n\n- → See `samber\u002Fcc-skills-golang@golang-cli` skill for general CLI architecture — project layout, exit codes, signal handling, cobra+viper integration\n- → See `samber\u002Fcc-skills-golang@golang-spf13-cobra` skill for the cobra side of this integration (flag definition and binding)\n- → See `samber\u002Fcc-skills-golang@golang-testing` skill for general Go testing patterns\n\nIf you encounter a bug or unexpected behavior in spf13\u002Fviper, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fspf13\u002Fviper\u002Fissues>.\n",{"name":5,"paths":24,"license":15,"metadata":26,"description":7,"allowed-tools":37,"compatibility":38,"user-invocable":39},[25],"**\u002F*.go",{"author":27,"version":28,"openclaw":29},"samber","1.1.2",{"emoji":30,"install":31,"homepage":32,"requires":33,"skill-library-version":36},"🔧",[],"https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":34},[35],"go","1.21.0","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*","Designed for Claude Code, Codex or similar harness, and for projects using Golang.",true,"main","2147d79c9cd764770418b462c29634bcdc710096","plugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace","https:\u002F\u002Fgithub.com\u002Fheynemann","http:\u002F\u002Fwww.thumbor.org","CTO @ Flutter Brazil | Former Meta & Coinbase","2026-09-29 21:26:05",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":39},[50,53,56],{"tool":51,"command":52},"npx","npx skills add heynemann\u002Fomp-marketplace --skill golang-spf13-viper",{"tool":54,"command":55},"bunx","bunx skills add heynemann\u002Fomp-marketplace --skill golang-spf13-viper",{"tool":57,"command":58},"pnpm","pnpm dlx skills add heynemann\u002Fomp-marketplace --skill golang-spf13-viper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002FSKILL.md",[61,67,71,75,79,83],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"evals\u002Fevals.json","REFERENCE","参考文档",21477,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Fevals\u002Fevals.json",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fbinding-and-env.md",4286,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fbinding-and-env.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fsources-and-formats.md",3794,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fsources-and-formats.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Ftesting-and-isolation.md",4148,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Ftesting-and-isolation.md",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Funmarshal.md",4457,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Funmarshal.md",{"path":84,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fwatch-and-reload.md",3621,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fwatch-and-reload.md",[88,95,102,109,116,123],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7DFXDYP0N6P8KR0AF7C0TDK","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7DFX9C5B0T1T0AVDCWNR5P2","write-skill","Use when creating, designing, or fixing an agent skill (SKILL.md pack) — triggers include \"write a skill\", \"make me a skill\", \"create a skill\", skill directories, and skills that fail to trigger or fire on the wrong tasks.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7DFX64VSTQV0CSGYR76MPZF","write-agent","Use when creating, designing, or fixing an omp subagent (task agent) — triggers include \"write an agent\", \"make me an agent\", \"create a subagent\", agent `.md` definitions, and agents that misbehave when spawned via task.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwrite-agent\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7DFX22JEY7ZN9EDESM732K5","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7DFWYXR5V2CY2BPDAAS19R1","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7DFWXFFMBKV294WS66S475V","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[]]