emilioforrer/go-stack

Production-ready Go scaffold template with clean architecture, lifecycle-managed dependency injection (samber/do), HTTP server (net/http + Huma/OpenAPI), CLI scaffolding, 45+ AI agent skills for Claude/Copilot/OpenCode, and built-in DevOps security tooling.

6Stars on the repository
54Mods indexed here, across every type
15d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

golang-safety

25

emilioforrer/go-stack

Skill Claude CodeCodex

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…

not rated 6 15d ago A 89 tokens

golang-samber-do

26

emilioforrer/go-stack

Skill Claude CodeCodex

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…

not rated 6 15d ago A 75 tokens

golang-samber-hot

27

emilioforrer/go-stack

Skill Claude CodeCodex

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. Apply when using or adopting samber/hot, when the codebase imports…

not rated 6 15d ago A 122 tokens

golang-samber-lo

28

emilioforrer/go-stack

Skill Claude CodeCodex

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.). Core immutable package (lo), concurrent variants (lo/parallel aka lop), in-place mutations…

not rated 6 15d ago A 159 tokens

golang-samber-mo

29

emilioforrer/go-stack

Skill Claude CodeCodex

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. Apply when using or adopting samber/mo, when the codebase imports github.com/samber/mo, or when considering…

not rated 6 15d ago A 85 tokens

golang-samber-oops

30

emilioforrer/go-stack

Skill Claude CodeCodex

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…

not rated 6 15d ago A 74 tokens

golang-samber-ro

31

emilioforrer/go-stack

Skill Claude CodeCodex

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), automatic backpressure…

not rated 6 15d ago A 146 tokens

golang-samber-slog

32

emilioforrer/go-stack

Skill Claude CodeCodex

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, slog-syslog…

not rated 6 15d ago A 123 tokens

golang-security

33

emilioforrer/go-stack

Skill Claude CodeCodex

Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookies, secrets management, memory safety, and logging. Apply when writing, reviewing, or auditing Go code for security, or when working on any risky code involving…

not rated 6 15d ago A 86 tokens

golang-spf13-cobra

34

emilioforrer/go-stack

Skill Claude CodeCodex

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 customization, man-page…

not rated 6 15d ago A 180 tokens

golang-spf13-viper

35

emilioforrer/go-stack

Skill Claude CodeCodex

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 for hot reload…

not rated 6 15d ago A 174 tokens

golang-stay-updated

36

emilioforrer/go-stack

Skill Claude CodeCodex

Provides resources to stay updated with Golang news, communities and people to follow. Use when seeking Go learning resources, discovering new libraries, finding community channels, or keeping up with Go language changes and releases.

not rated 6 15d ago A 48 tokens

emilioforrer/go-stack

Skill Claude CodeCodex

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use whenever writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Essential for testify assertions, mock expectations, argument matchers, call…

not rated 6 15d ago A 96 tokens

emilioforrer/go-stack

Skill Claude CodeCodex

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. Use this skill when designing Go types, defining or implementing interfaces, embedding structs or…

not rated 6 15d ago A 116 tokens

golang-swagger

39

emilioforrer/go-stack

Skill Claude CodeCodex

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, example…

not rated 6 15d ago A 146 tokens

golang-testing

40

emilioforrer/go-stack

Skill Claude CodeCodex

Provides a comprehensive guide for writing production-ready Golang tests. Covers table-driven tests, test suites with testify, mocks, unit tests, integration tests, benchmarks, code coverage, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, memory leaks, CI with GitHub…

not rated 6 15d ago A 100 tokens

emilioforrer/go-stack

Skill Claude CodeCodex

Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve debugger, race detection, GODEBUG tracing, and production…

not rated 6 15d ago A 108 tokens

golang-uber-dig

42

emilioforrer/go-stack

Skill Claude CodeCodex

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. Apply when using or adopting uber-go/dig, when the codebase imports go.uber.org/dig, or when…

not rated 6 15d ago A 111 tokens

golang-uber-fx

43

emilioforrer/go-stack

Skill Claude CodeCodex

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(). Apply when using or adopting uber-go/fx, when the codebase imports go.uber.org/fx, or when wiring…

not rated 6 15d ago A 122 tokens

skill-creator

44

emilioforrer/go-stack

Skill Claude CodeCodex

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

not rated 6 15d ago A 64 tokens

use-modern-go

45

emilioforrer/go-stack

Skill Claude CodeCodex

Apply modern Go syntax guidelines based on project's Go version. Use when user ask for modern Go code guidelines.

not rated 6 15d ago A 25 tokens

golang-clean-arch

46

emilioforrer/go-stack

Skill Claude CodeCodex

Authoritative architecture for Golang business applications using feature-first Clean Architecture and vertical use-case slices. Defines business-oriented package boundaries, feature isolation, incoming and outgoing ports, adapters, cross-feature workflows, shared packages, acyclic configuration ownership, and…

not rated 6 15d ago A 75 tokens

postgres-patterns

47

emilioforrer/go-stack

Skill Claude CodeCodex

PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.

not rated 6 15d ago A 28 tokens

go-stack-boot

48

emilioforrer/go-stack

Skill Claude CodeCodex

Use go-stack's pkg/boot package to compose Go application startup, dependency registration, long-running services, and graceful shutdown with samber/do. Apply when adding or reviewing boot providers, wiring an executable's lifecycle, ordering runtime dependencies, or testing startup and teardown.

not rated 6 15d ago A 58 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: