github.com/samber/cc-skills-golang
Skill | Added | Review |
|---|---|---|
golang-cli Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for command structure, flag handling, configuration layering, version embedding, exit codes, I/O patterns, signal handling, shell completion, argument validation, and CLI unit testing. Also triggers when code uses cobra, viper, or urfave/cli. | 86 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-dependency-management Provides dependency management strategies for Golang projects including go.mod management, installing/upgrading packages, semantic versioning, Minimal Version Selection, vulnerability scanning, outdated dependency tracking, dependency size analysis, automated updates with Dependabot/Renovate, conflict resolution, and dependency graph visualization. Use this skill whenever adding, removing, updating, or auditing Go dependencies, resolving version conflicts, setting up automated dependency updates, analyzing binary size, or working with go.work workspaces. | 87 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-project-layout Provides a guide for setting up Golang project layouts and workspaces. Use this whenever starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, or deciding on directory structure. Apply this for any Go project initialization or restructuring work. | 82 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-samber-oops Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error wrapping, error attributes, user-facing vs developer messages, panic recovery, and logger integration. Apply when using or adopting samber/oops, or when the codebase already imports github.com/samber/oops. | 92 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-safety Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use whenever writing or reviewing Go code that involves nil-prone types (pointers, interfaces, maps, slices, channels), numeric conversions, resource lifecycle (defer in loops), or defensive copying. Also triggers on questions about nil panics, append aliasing, map concurrent access, float comparison, or zero-value design. | 84 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-samber-do Implements dependency injection in Golang using samber/do. Apply this skill when working with dependency injection, setting up service containers, managing service lifecycles, or when you see code using github.com/samber/do/v2. Also use when refactoring manual dependency injection, implementing health checks, graceful shutdown, or organizing services into scopes/modules. | 87 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-continuous-integration Provides CI/CD pipeline configuration using GitHub Actions for Golang projects. Covers testing, linting, SAST, security scanning, code coverage, Dependabot, Renovate, GoReleaser, code review automation, and release pipelines. Use this whenever setting up CI for a Go project, configuring workflows, adding linters or security scanners, setting up Dependabot or Renovate, automating releases, or improving an existing CI pipeline. Also use when the user wants to add quality gates to their Go project. | 86 Impact Pending No eval scenarios have been run Securityby Advisory Suggest reviewing before use Reviewed: Version: e9761db | |
golang-concurrency Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes. | 86 1.18x Agent success vs baseline Impact 98% 1.18xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-benchmark Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production performance with Prometheus runtime metrics. Also use when the developer needs deep analysis on a specific performance indicator - this skill provides the measurement methodology, while golang-performance provides the optimization patterns. | 92 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: e9761db | |
golang-lint Provides linting best practices and golangci-lint configuration for Go projects. Covers running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and managing linter settings. Use this skill whenever the user runs linters, configures golangci-lint, asks about lint warnings or suppressions, sets up code quality tooling, or asks which linters to enable for a Go project. Also use when the user mentions golangci-lint, go vet, staticcheck, revive, or any Go linting tool. | 97 1.31x Agent success vs baseline Impact 96% 1.31xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: 26524a3 |