samber

75 mods across 5 repositories, 3.3k stars between them.

samber/cc-skills-golang

Instructions file

Instructions for samber/cc-skills-golang, covering claude.md, project overview, project structure, agent skills specification and frontmatter.

3.1k 5d ago E 13,183 tokens original MIT

golang-benchmark

03

samber/cc-skills-golang

Skill Claude CodeCodex

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…

3.1k 5d ago A 104 tokens original MIT

golang-cli

04

samber/cc-skills-golang

Skill Claude CodeCodex

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…

3.1k 5d ago A 126 tokens original MIT

golang-code-style

05

samber/cc-skills-golang

Skill Claude CodeCodex

Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt. Use when writing or reviewing Go code, asking about style or clarity, or establishing project coding standards. Not for naming conventions (→ See samber/cc-skills-golang@golang-naming…

3.1k 5d ago A 116 tokens original MIT

golang-concurrency

06

samber/cc-skills-golang

Skill Claude CodeCodex

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…

3.1k 5d ago A 74 tokens original MIT

golang-context

07

samber/cc-skills-golang

Skill Claude CodeCodex

Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutCancel for background work outliving requests. Apply when designing context propagation across layers, debugging leaked or unexpired contexts, choosing between…

3.1k 5d ago A 83 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

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…

3.1k 5d ago A 87 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals, hash buckets, maps package), arrays, container/list/heap/ring, strings.Builder vs bytes.Buffer, generic collections, pointers (unsafe.Pointer, weak.Pointer), and copy semantics. Use when choosing or optimizing…

3.1k 5d ago A 96 tokens original MIT

golang-database

10

samber/cc-skills-golang

Skill Claude CodeCodex

Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL…

3.1k 5d ago A 99 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing service architecture…

3.1k 5d ago A 182 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

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…

3.1k 5d ago A 80 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

Idiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience, architecture, dependency injection, data handling, streaming, and more. Apply when explicitly choosing between architectural patterns, implementing functional…

3.1k 5d ago A 83 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt. Use when writing or reviewing doc comments, documentation, adding code examples, setting up doc sites, or discussing documentation best practices.…

3.1k 5d ago A 77 tokens original MIT

samber/cc-skills-golang

Skill Claude CodeCodex

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…

3.1k 5d ago A 144 tokens original MIT

golang-google-wire

16

samber/cc-skills-golang

Skill Claude CodeCodex

Compile-time dependency injection in Golang using google/wire — wire.NewSet, wire.Build, wire.Bind (interface→concrete), wire.Struct, wire.Value, wire.InterfaceValue, wire.FieldsOf, cleanup functions, //go:build wireinject injector files, and generated wiregen.go. Apply when using or adopting google/wire, when the…

3.1k 5d ago A 124 tokens original MIT

golang-gopls

17

samber/cc-skills-golang

Skill Claude CodeCodex

Golang semantic code intelligence via gopls, the official Go language server — go-to-definition, find references, call/implementation hierarchy, workspace symbol search, package API discovery, diagnostics, safe rename, refactors (extract/inline/fill/rewrite code actions), formatting, and generated tests. Reaches an…

3.1k 5d ago A 221 tokens original MIT

golang-graphql

18

samber/cc-skills-golang

Skill Claude CodeCodex

Implements GraphQL APIs in Golang using gqlgen or graphql-go. Apply when building GraphQL servers, designing schemas, writing resolvers, handling subscriptions, or integrating GraphQL with existing Go HTTP services. Also apply when the codebase imports github.com/99designs/gqlgen or github.com/graph-gophers/graphql-go.

3.1k 5d ago A 77 tokens original MIT

golang-grpc

19

samber/cc-skills-golang

Skill Claude CodeCodex

Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gRPC servers/clients, writing proto files, setting up interceptors, handling gRPC errors with status codes, configuring TLS/mTLS, testing with bufconn, or…

3.1k 5d ago A 72 tokens original MIT

golang-how-to

20

samber/cc-skills-golang

Skill Claude CodeCodex

Golang skills orchestrator — always active on any Golang coding, review, debug, or setup task. Reads the task context and loads the most relevant skills from samber/cc-skills-golang, often multiple at once: writing a gRPC service loads golang-grpc + golang-testing + golang-error-handling; debugging a panic loads…

3.1k 5d ago A 185 tokens original MIT

golang-lint

22

samber/cc-skills-golang

Skill Claude CodeCodex

Linting best practices and golangci-lint configuration for Golang projects — running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and selecting linters. Use when configuring golangci-lint, asking about lint warnings or nolint suppressions, setting up code…

3.1k 5d ago A 100 tokens original MIT

golang-modernize

23

samber/cc-skills-golang

Skill Claude CodeCodex

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Trigger proactively when writing or reviewing Go code and old-style patterns are detected, or when encountering a deprecation warning. Also use when the user explicitly asks for modernization, a Go version…

3.1k 5d ago A 70 tokens original MIT

golang-naming

24

samber/cc-skills-golang

Skill Claude CodeCodex

Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and subtest names. Use this skill when writing new Go code, reviewing or refactoring, choosing between naming alternatives…

3.1k 5d ago A 161 tokens original MIT