emilioforrer

54 mods across 1 repository, 6 stars between them.

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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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.

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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…

6 12d 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.

6 12d ago A 64 tokens

analyzer

45

emilioforrer/go-stack

Agent Codex

Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.

6 12d ago A 0 tokens

grader

47

emilioforrer/go-stack

Agent Codex

Evaluate expectations against an execution transcript and outputs.

6 12d ago A 0 tokens

use-modern-go

48

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.

6 12d ago A 25 tokens