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. For cobra-specific APIs → See `samber/cc-skills-golang@golang-spf13-cobra` skill; for viper configuration layering → See `samber/cc-skills-golang@golang-spf13-viper` skill. | 66 66 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
golang-dependency-management Dependency management strategies for Golang projects — go.mod management, installing/upgrading packages, Minimal Version Selection, vulnerability scanning, outdated dependency tracking, binary size analysis, Dependabot/Renovate setup, conflict resolution, and go.work workspaces. Use when adding, removing, or upgrading Go dependencies, auditing vulnerabilities, resolving version conflicts, or setting up automated dependency updates. | 73 73 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
golang-project-layout Provides a guide for setting up Golang project layouts and workspaces. Use when starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, deciding between cmd/internal/pkg directory conventions, or discussing package restructuring, package splits, or module splits. | 68 68 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
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. | 67 67 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
golang-safety Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use when encountering nil panics, append aliasing, map concurrent access, float comparison pitfalls, or zero-value design questions. Also use when reviewing code for nil-safety, numeric conversion overflow, resource lifecycle issues (defer in loops), or defensive copying of slices and maps. | 67 67 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
golang-samber-do Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container. | 67 67 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
golang-continuous-integration CI/CD pipeline configuration using GitHub Actions for Golang projects — testing, linting, SAST, security scanning, code coverage, Dependabot, Renovate, GoReleaser, code review automation, and release pipelines. Use when setting up or improving Go project CI, configuring GitHub Actions workflows, adding linters or security scanners, automating dependency updates, or adding quality gates. | 68 68 Impact — No eval scenarios have been run Securityby Advisory Suggest reviewing before use Reviewed: Version: a5e0e59 | |
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. | 84 84 1.39x Agent success vs baseline Impact 92% 1.39xAverage score across 3 eval scenarios Securityby Passed No known issues Reviewed: Version: a5e0e59 | |
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 `samber/cc-skills-golang@golang-performance` provides the optimization patterns. | 73 73 Impact — No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: a5e0e59 |