SkillAgentSearch skills...
Home

samber

46 skills across 46 repos152.9k repo starsGitHub

samber / golang-dependency-injection

3.3k

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).

📄 SKILL.mduniversal
skilldesigngolang
95
Updated 1mo ago

samber / golang-documentation

3.3k

Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt

📄 SKILL.mdclaude codecodex
skillapidesign+3
95
Updated 1mo ago

samber / golang-graphql

3.3k

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.

📄 SKILL.mdclaude codecodex
skillgitapi+4
95
Updated 1mo ago

samber / golang-observability

3.3k

Golang everyday observability — the always-on signals in production. Covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing, continuous profiling with pprof/Pyroscope, server-side RUM event tracking, alerting, and Grafana dashboards.

📄 SKILL.mduniversal
skillgolang
95
Updated 1mo ago

samber / golang-pkg-go-dev

3.3k

Golang package and module lookup via `godig`, a pkg.go.dev API client (CLI + MCP server). Use for any Go/Golang library's documentation, API signatures, symbols, usage examples, which versions exist, licenses, whether a dependency has CVEs, or who imports a package — prefer this over Context7 for an…

📄 SKILL.mduniversal
skillapidocumentation+2
95
Updated 1mo ago

samber / golang-samber-slog

3.3k

Structured logging extensions for Golang using samber/slog-**** packages — multi-handler pipelines (slog-multi), log sampling (slog-sampling), attribute formatting (slog-formatter), HTTP middleware (slog-fiber, slog-gin, slog-chi, slog-echo), and backend routing (slog-datadog, slog-sentry, slog-loki…

📄 SKILL.mdclaude codecodex
skillgitdesign+2
95
Updated 1mo ago

samber / golang-structs-interfaces

3.3k

Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers.

📄 SKILL.mduniversal
skilldesigngolang
95
Updated 1mo ago

samber / golang-testing

3.3k

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming

📄 SKILL.mduniversal
skilltestingapi+2
95
Updated 1mo ago

samber / golang-code-style

3.3k

Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt

📄 SKILL.mdclaude codecodex
skilldesigndocumentation+2
93
Updated 1mo ago

samber / golang-continuous-integration

3.3k

GitHub Actions CI/CD pipeline configuration for Golang projects — workflow files for test, lint, SAST, coverage and vulnerability-scan jobs, Dependabot and Renovate config files, GoReleaser release pipelines, Docker build/push, repository security settings, and AI-driven PR review

📄 SKILL.mduniversal
skillgitdocker+4
93
Updated 1mo ago

samber / golang-data-structures

3.3k

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

📄 SKILL.mduniversal
skillgolang
93
Updated 1mo ago

samber / golang-database

3.3k

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

📄 SKILL.mdclaude codezed+1
skilltestingsql+4
93
Updated 1mo ago

samber / golang-dependency-management

3.3k

Dependency management for Golang projects — go.mod and go.sum, `go get` install and upgrade flows, Minimal Version Selection, conflict resolution with replace/exclude/retract, `govulncheck` scanning of the module tree, outdated dependency and binary size auditing, vendoring, `tool` directives, and g…

📄 SKILL.mduniversal
skillgolang
93
Updated 1mo ago

samber / golang-design-patterns

3.3k

Idiomatic Golang design patterns — functional options, constructor APIs, `init()` and global-state avoidance, enums, panic vs error decisions, resource management and lifecycle, graceful shutdown, timeouts and retries, streaming and iterators, and architecture styles (clean, hexagonal, DDD, flat).

📄 SKILL.mduniversal
skillapidesign+1
93
Updated 1mo ago

samber / golang-google-wire

3.3k

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 wire_gen.go.

📄 SKILL.mduniversal
skillgitgithub+1
93
Updated 1mo ago

samber / golang-lint

3.3k

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

📄 SKILL.mduniversal
skillgitgithub+1
93
Updated 1mo ago

samber / golang-naming

3.3k

Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and subtest names.

📄 SKILL.mduniversal
skillreviewgolang
93
Updated 1mo ago

samber / golang-safety

3.3k

Defensive Golang coding against accidental bugs — nil panics, typed-nil interfaces, `append` backing-array aliasing, silent int64-to-int32 truncation, float `==` comparison, `defer` inside loops, defensive copies of slices and maps, and usable zero values

📄 SKILL.mduniversal
skilldesignreview+1
93
Updated 1mo ago

samber / golang-samber-do

3.3k

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization.

📄 SKILL.mdclaude codecodex
skillgitdesign+2
93
Updated 1mo ago

samber / golang-samber-hot

3.3k

In-memory caching in Golang using samber/hot — eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing key caching, and Prometheus metrics.

📄 SKILL.mdclaude codecodex
skillgitdesign+2
93
Updated 1mo ago

samber / golang-samber-lo

3.3k

Functional programming helpers for Golang using samber/lo — 500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq, etc.).

📄 SKILL.mduniversal
skillgitgithub+1
93
Updated 1mo ago

samber / golang-samber-mo

3.3k

Monadic types for Golang using samber/mo — Option, Result, Either, Future, IO, Task, and State types for type-safe nullable values, error handling, and functional composition with pipeline sub-packages.

📄 SKILL.mduniversal
skillgitdesign+2
93
Updated 1mo ago

samber / golang-samber-oops

3.3k

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.

📄 SKILL.mdclaude codecodex
skillgitdesign+2
93
Updated 1mo ago

samber / golang-samber-ro

3.3k

Reactive streams and event-driven programming in Golang using samber/ro — ReactiveX implementation with 150+ type-safe operators, cold/hot observables, 5 subject types (Publish, Behavior, Replay, Async, Unicast), declarative pipelines via Pipe, 40+ plugins (HTTP, cron, fsnotify, JSON, logging), auto…

📄 SKILL.mduniversal
skillgitgithub+2
93
Updated 1mo ago

samber / golang-security

3.3k

Security best practices and vulnerability prevention for Golang — injection (SQL, command, XSS), cryptography, path traversal, SSRF and HTTP security headers, cookies, secrets management, memory safety, PII in logs, STRIDE/DREAD threat modeling, plus `gosec` SAST, race detection, and fuzz testing.

📄 SKILL.mduniversal
skilltestingsql+3
93
Updated 1mo ago

samber / golang-spf13-cobra

3.3k

Golang CLI command tree library using spf13/cobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, custom), persistent vs local flags, command groups, ValidArgsFunction, RegisterFlagCompletionFunc, ShellCompDirective, usage/help template custo…

📄 SKILL.mduniversal
skilltestinggit+2
93
Updated 1mo ago

samber / golang-spf13-viper

3.3k

Golang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), BindPFlag/BindPFlags, SetEnvPrefix + SetEnvKeyReplacer + AutomaticEnv, ReadInConfig + ConfigFileNotFoundError, Unmarshal + mapstructure struct tags, Sub for sub-trees, WatchConfig + OnConfigChange…

📄 SKILL.mduniversal
skillgitgithub+1
93
Updated 1mo ago

samber / golang-uber-dig

3.3k

Implements dependency injection in Golang using uber-go/dig — reflection-based container, Provide/Invoke, dig.In/dig.Out parameter and result objects, named values, value groups, optional dependencies, scopes, and Decorate.

📄 SKILL.mdclaude codecodex
skilldesigngolang
93
Updated 1mo ago

samber / golang-uber-fx

3.3k

Golang application framework using uber-go/fx — fx.New, fx.Provide, fx.Invoke, fx.Module, fx.Lifecycle hooks, fx.Annotate (name/group/As), fx.Decorate, fx.Supply, fx.Replace, fx.WithLogger, and signal-aware Run().

📄 SKILL.mdclaude codecodex
skilldesigngolang
93
Updated 1mo ago

samber / golang-swagger

3.3k

Golang OpenAPI/Swagger documentation with swaggo/swag — annotation comments (@Summary, @Param, @Success, @Router, @Security), swag init code generation, framework integrations (gin, echo, fiber, chi, net/http), security definitions (Bearer/JWT, OAuth2, API key), and struct tags (swaggertype, enums,…

📄 SKILL.mduniversal
skillgitapi+4
92
Updated 1mo ago

samber / golang-concurrency

3.3k

Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership and direction, `sync.Mutex`/`RWMutex`/`sync.Map`/`sync.Once`/atomics, `errgroup`, `singleflight`, worker pools, and fan-out/fan-in pipelines

📄 SKILL.mduniversal
skilldesignreview+1
90
Updated 1mo ago

samber / golang-grpc

3.3k

Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices

📄 SKILL.mdclaude codecodex
skilltestingdesign+3
90
Updated 1mo ago

samber / golang-project-layout

3.3k

Golang project layout and workspace setup — cmd/internal/pkg directory conventions, module and package naming, go.work workspaces, and essential configuration files

📄 SKILL.mduniversal
skillgolangrest
90
Updated 1mo ago

samber / golang-stretchr-testify

3.3k

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth

📄 SKILL.mdclaude codecodex
skilltestinggit+3
90
Updated 1mo ago

samber / golang-benchmark

3.3k

Golang benchmarking, profiling, and performance measurement

📄 SKILL.mduniversal
skillgolang
88
Updated 1mo ago

samber / golang-context

3.3k

Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutCancel for background work outliving requests.

📄 SKILL.mdclaude codecodex
skillapidesign+1
88
Updated 1mo ago

samber / golang-modernize

3.3k

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns

📄 SKILL.mdclaude codecodex
skilldesignreview+1
88
Updated 1mo ago

samber / golang-refactoring

3.3k

Golang refactoring — safe, at-scale restructuring of existing Go code: a coverage-adaptive safety net, behavior-preserving transforms (gopls Rename/Extract, `gofmt -r`, `gopatch`), the Fowler catalog mapped to Go, breaking import cycles, and small stacked PRs.

📄 SKILL.mduniversal
skillgolangrest
88
Updated 1mo ago

samber / golang-troubleshooting

3.3k

Troubleshoot Golang programs systematically - find and fix the root cause

📄 SKILL.mduniversal
skillgolang
88
Updated 1mo ago

samber / golang-how-to

3.3k

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…

📄 SKILL.mduniversal
skilltestingsecurity+3
86
Updated 1mo ago

samber / golang-performance

3.3k

Golang performance optimization patterns and methodology - if X bottleneck, then apply Y. Covers allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization

📄 SKILL.mduniversal
skillreviewgolang
86
Updated 1mo ago

samber / golang-stay-updated

3.3k

Golang ecosystem watch list — official sources (go.dev/blog, pkg.go.dev, tour.golang.org, golang-nuts), newsletters (Golang Weekly, Awesome Go Newsletter), communities (r/golang, gophers.slack.com, Go Forum, go.dev/wiki), blogs (Dave Cheney, Ardan Labs, Rob Pike), YouTube channels (Gopher Academy, G…

📄 SKILL.mduniversal
skillgitslack+2
86
Updated 1mo ago

samber / golang-cli

3.3k

Golang CLI application development

📄 SKILL.mduniversal
skilldevelopmenttesting+3
85
Updated 1mo ago

samber / golang-error-handling

3.3k

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.

📄 SKILL.mduniversal
skillgolang
85
Updated 1mo ago

samber / golang-gopls

3.3k

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…

📄 SKILL.mdclaude code
skillapimcp+1
85
Updated 1mo ago

samber / golang-popular-libraries

3.3k

Golang library and framework selection — vetted production-ready options by category (web, database, testing, logging, messaging), new and experimental stdlib packages, standard-library-first tradeoffs, and maturity signals (maintenance, license, importer counts).

📄 SKILL.mduniversal
skilltestingapi+2
82
Updated 1mo ago