一键导入
flattenfetch
flattenfetch 收录了来自 rigerc 的 4 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
Generates, explains, and debugs CLI applications using Cobra (github.com/spf13/cobra) for Go. Use when building command-line tools with subcommands, flags, persistent flags, hooks, shell completions, help generation, argument validation, or migrating from other CLI libraries. Covers Command struct, AddCommand, flags (local/persistent), PreRun/PostRun hooks, ValidArgs, completions for bash/zsh/fish/powershell, and integration with viper.
Applies Google's Go Style Guide when writing, reviewing, or refactoring Go code. Covers naming conventions, formatting, error handling, package design, and testing patterns to produce readable, idiomatic, maintainable Go. Use when writing new Go code, reviewing Go PRs, or auditing a Go codebase for style issues.
Write proper Go documentation comments for packages, types, funcs, consts, and vars. Use when writing, reviewing, or improving godoc comments. Covers naming conventions, syntax (headings, links, lists, code blocks), and common mistakes.
Generates, explains, and debugs configuration management code using the koanf Go library (github.com/knadh/koanf/v2). Use when building Go applications that need to load configuration from files (YAML, TOML, JSON, HCL, dotenv), environment variables, command-line flags, remote stores (Vault, Consul, etcd, S3, AWS AppConfig/ParameterStore), or in-memory sources. Covers provider chaining, config merging, struct unmarshaling, file watching, default values, custom parsers/providers, and migration from viper.