Writes Go tests with table-driven cases, fuzzing, coverage and goroutine leak checks.
samber/cc-skills-golang
A set of Go coding skills that help an agent write, review, test, and ship idiomatic Golang code.
- 46 skills
- 3.7k stars
The 5 most installed
Ordered by installs on skills.sh- golang-testing46.4k installs
- golang-error-handling46.3k installs
Creates, wraps, inspects, and logs Go errors idiomatically, including custom types and structured logging.
- golang-security45.1k installs
Reviews Go code for injection, crypto, SSRF and secrets issues, and suggests threat modeling and fuzzing.
- golang-design-patterns44.6k installs
Applies idiomatic Go patterns for constructors, options, enums, shutdown, retries, and architecture styles.
- golang-concurrency44.5k installs
Designs and reviews concurrent Go code with goroutines, channels, mutexes, and worker pools without leaks.
The other 41 skills
- golang-performance44.5k installs
Applies Go optimization patterns for allocations, CPU, memory layout, GC, pooling, and hot paths.
- golang-context43.6k installs
Guides correct use of context.Context for cancellation, timeouts, and request-scoped values in Go.
- golang-naming43.3k installs
Suggests Go naming conventions for packages, types, interfaces, errors, booleans, and test functions.
- golang-safety43k installs
Checks Go code for nil panics, integer overflow, slice aliasing and other accidental bugs.
- golang-project-layout42.8k installs
Sets up Go project folders, module names and workspaces following standard conventions.
- golang-documentation42.7k installs
Writes godoc comments, READMEs, changelogs, and example tests for Go libraries and applications.
- golang-modernize42.7k installs
Updates older Go code to recent language features, standard library improvements, and current idioms.
- golang-lint42.6k installs
Configures golangci-lint and other Go linters, explains warnings, and sets up code quality tooling.
- golang-data-structures42.5k installs
Helps choose and optimize Go slices, maps, arrays, and generic collections, explaining their internals.
- golang-observability42.2k installs
Instruments Go services with structured logs, Prometheus metrics, OpenTelemetry tracing, and dashboards.
- golang-troubleshooting42.2k installs
Diagnoses Go bugs, crashes, deadlocks and races using pprof, Delve and race detection.
- golang-dependency-management42.1k installs
Manages Go modules: adding, upgrading, and auditing dependencies, resolving conflicts, and vendoring.
- golang-structs-interfaces42k installs
Guides Go struct and interface design, including embedding, type switches and field tags.
- golang-cli41.8k installs
Builds and reviews Go command-line tools, covering flags, config, exit codes, signals, and CLI tests.
- golang-benchmark41.7k installs
Writes and runs Go benchmarks, profiles hot paths, and compares results to find performance regressions.
- golang-dependency-injection41.7k installs
Explains and sets up dependency injection in Go, comparing manual wiring with popular DI libraries.
- golang-popular-libraries41.6k installs
Recommends and compares production-ready Go libraries and frameworks by category and maturity.
- golang-continuous-integration41.5k installs
Sets up GitHub Actions pipelines for Go projects with tests, linting, security scans, and releases.
- golang-stretchr-testify41.5k installs
Writes Go tests with stretchr/testify assertions, mocks and test suites.
- golang-grpc41.4k installs
Implements gRPC servers and clients in Go, covering proto files, interceptors, errors, TLS, and streaming.
- golang-samber-lo40.6k installs
Uses samber/lo generic helpers for slices, maps and channels instead of hand-written loops.
- golang-stay-updated40.6k installs
Points to Go blogs, newsletters, communities and conferences worth following.
- golang-samber-do40.4k installs
Wires Go services with the samber/do dependency injection container, including lifecycle and scopes.
- golang-samber-slog40.4k installs
Extends Go structured logging with samber/slog packages for sampling, formatting and backend routing.
- golang-samber-hot40.3k installs
Adds in-memory caching with samber/hot, choosing eviction policies, TTL and metrics.
- golang-samber-mo40.3k installs
Applies samber/mo Option, Result and Either types for safer nullable values and errors in Go.
- golang-samber-oops40.3k installs
Builds structured errors with samber/oops, adding stack traces, codes and context.
- golang-samber-ro40.2k installs
Builds reactive event streams in Go with samber/ro operators and plugins.
- golang-spf13-cobra39.3k installs
Builds Go command-line tools with spf13/cobra, covering commands, flags, completion and help text.
- golang-swagger39.2k installs
Adds OpenAPI/Swagger docs to Go APIs using swaggo/swag annotations and code generation.
- golang-graphql39.1k installs
Builds GraphQL APIs in Go with gqlgen or graphql-go, including schemas, resolvers, and subscriptions.
- golang-google-wire39k installs
Sets up compile-time dependency injection in Go using google/wire providers and generated code.
- golang-spf13-viper38.9k installs
Configures Go apps with spf13/viper, layering flags, environment variables and config files.
- golang-uber-fx38.7k installs
Builds Go applications with uber-go/fx modules, lifecycle hooks and startup wiring.
- golang-how-to38.6k installs
Picks and loads the right Go skills for a task, combining several when needed.
- golang-uber-dig38.6k installs
Wires Go applications with uber-go/dig dependency injection containers and value groups.
- golang-pkg-go-dev13.9k installs
Looks up Go package docs, API signatures, versions, licenses, and CVEs from pkg.go.dev.
- golang-refactoring13.5k installs
Restructures existing Go code safely, renaming, extracting functions and breaking import cycles.
- golang-gopls13.1k installs
Navigates and refactors Go code through gopls: definitions, references, symbols, diagnostics, and renames.
Applies Go style conventions for line length, declarations, and control flow when writing or reviewing code.
Writes and reviews Go database code for PostgreSQL, MySQL, and SQLite, including queries, transactions, and pools.