[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NBV62B6GABA8HSBS7XC4H":3,"skill-same:01M71NBV62B6GABA8HSBS7XC4H":104},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":14,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":64,"install":65,"resources":77},"01M71NBV62B6GABA8HSBS7XC4H","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`.","pattanation\u002FNorvik","pattanation","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235419268?v=4","01M71M5THHYYB15ME8R2E4FCZG","Patta","01M71M5TJM1NDM992M8PDKYR2K",0,"MIT","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"golang spf13 viper","golang","viper","imports","structure","gopls","architecture","code","Bash","query","when","MCP","golang configuration","remote","new","lsp","default","cobra","projects","ai coding agents","2026-11-10 10:56:23",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 or similar AI coding agents, and for projects using Golang.\nmetadata:\n  author: samber\n  version: \"1.0.4\"\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__*\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. Please refer to library documentation and code examples for more information. For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber\u002Fcc-skills-golang@golang-pkg-go-dev` skill (`godig`) — prefer it over Context7 for Go package facts. To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber\u002Fcc-skills-golang@golang-gopls` skill (`gopls`). 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. Viper has no user-facing surface; it is purely a key-value resolver. Use cobra alone for flag-only CLIs; viper alone for config-file daemons; both when you need both, binding 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. Editors that write atomically via rename (vim, neovim) replace the inode — 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. Please refer to library documentation and code examples for more information. For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber\u002Fcc-skills-golang@golang-pkg-go-dev` skill (`godig`) — prefer it over Context7 for Go package facts. To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber\u002Fcc-skills-golang@golang-gopls` skill (`gopls`). 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. Viper has no user-facing surface; it is purely a key-value resolver. Use cobra alone for flag-only CLIs; viper alone for config-file daemons; both when you need both, binding 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. Editors that write atomically via rename (vim, neovim) replace the inode — 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,"license":15,"metadata":44,"description":7,"allowed-tools":55,"compatibility":56,"user-invocable":57},{"author":45,"version":46,"openclaw":47},"samber","1.0.4",{"emoji":48,"install":49,"homepage":50,"requires":51,"skill-library-version":54},"🔧",[],"https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":52},[53],"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 or similar AI coding agents, and for projects using Golang.",true,"claude\u002Finstall-gsd-build-foQdV","d86cd127f527124b5fd0fd0bc679a4d79b7d01d7",".agents\u002Fskills\u002Fgolang-spf13-viper","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik","https:\u002F\u002Fnorvik-orpin.vercel.app","https:\u002F\u002Fgithub.com\u002Fpattanation","2026-07-17 11:17:04",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":57},[67,70,73],{"tool":68,"command":69},"npx","npx skills add pattanation\u002FNorvik --skill golang-spf13-viper",{"tool":71,"command":72},"bunx","bunx skills add pattanation\u002FNorvik --skill golang-spf13-viper",{"tool":74,"command":75},"pnpm","pnpm dlx skills add pattanation\u002FNorvik --skill golang-spf13-viper","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002FSKILL.md",[78,84,88,92,96,100],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fevals.json","REFERENCE","参考文档",21477,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Fevals\u002Fevals.json",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fbinding-and-env.md",3881,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fbinding-and-env.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fsources-and-formats.md",3389,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fsources-and-formats.md",{"path":93,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Ftesting-and-isolation.md",3673,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Ftesting-and-isolation.md",{"path":97,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Funmarshal.md",4037,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Funmarshal.md",{"path":101,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fwatch-and-reload.md",3282,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fgolang-spf13-viper\u002Freferences\u002Fwatch-and-reload.md",[105,114,121,128,154,179],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":109,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":113},"01M73Z1NPMJ667E0DSPBS9FH0B","jetson-set-target","Switch the active Jetson target-platform pointer to an existing profile YAML. Use before customize\u002Fbuild\u002Fflash to change target; not for authoring profiles — use jetson-init-target instead.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjetson-set-target\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":109,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":113},"01M73YC29YWGCW521P7B0NM3HQ","earth2studio-data-fetch","Fetch weather\u002Fclimate data via Earth2Studio data sources for specific variables and times. Do NOT use for inference pipelines, model discovery, or installation.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-data-fetch\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":109,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":113},"01M73YBNHMHFDFP83MAVGQQ92N","earth2studio-create-datasource","Create and validate Earth2Studio data source wrappers (DataSource, ForecastSource, DataFrameSource, ForecastFrameSource) from remote stores. Do NOT use for fetching data with existing sources, model inference, or installation tasks.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fearth2studio-create-datasource\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":109,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":153},"01M71QDV4DM8T19HEHWATEF1K4","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],"webapp","testing","webapp testing","local","screenshots","for","applications","browser","ui","behavior","web","playwright","with","frontend","debugging","toolkit","logs","2026-11-10 13:02:02",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":109,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":153},"01M71QDH2GGMXGA9105C9W1N7B","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[162,146,163,164,165,166,167,168,169,170,171,172,141,173,174,149,175,176,177,178],"web artifacts builder","artifacts","artifacts builder","builder","multi","state","routing","state management","react","single-file","css","Tailwind","ui components","single","use","file","components",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":183,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":153},"01M71QD9T2XC3EWMQNN9ACNWQ1","vueuse-functions","Apply VueUse composables where appropriate to build concise, maintainable Vue.js \u002F Nuxt features.","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fvueuse-functions\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fvueuse-functions\u002FSKILL.md",[],[187,188,189,190,191,192,193,194,195,196,197,198,199,200],"vueuse","vueuse functions","functions","composables","project","nuxt","apply","github","concise","build","https","features","vue","js"]