alexastrum

46 mods across 1 repository, 11 stars between them.

alexastrum/skl

Skill Claude CodeCodex

Provides a guide for setting up Golang project layouts and workspaces. Use when starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, deciding between cmd/internal/pkg directory conventions, or discussing package…

11 2mo ago A 71 tokens original MIT

golang-safety

26

alexastrum/skl

Skill Claude CodeCodex

Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use when encountering nil panics, append aliasing, map concurrent access, float comparison pitfalls, or zero-value design questions. Also use when reviewing code for nil-safety, numeric conversion overflow, resource lifecycle…

11 2mo ago A 80 tokens copy · 98% MIT

golang-samber-do

27

alexastrum/skl

Skill Claude CodeCodex

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor…

11 2mo ago A 74 tokens original MIT

golang-samber-hot

28

alexastrum/skl

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…

11 2mo ago A 122 tokens copy · 86% MIT

golang-samber-lo

29

alexastrum/skl

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…

11 2mo ago A 169 tokens copy · 94% MIT

golang-samber-mo

30

alexastrum/skl

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…

11 2mo ago A 85 tokens copy · 89% MIT

golang-samber-oops

31

alexastrum/skl

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…

11 2mo ago A 74 tokens copy · 94% MIT

golang-samber-ro

32

alexastrum/skl

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…

11 2mo ago A 156 tokens copy · 89% MIT

golang-samber-slog

33

alexastrum/skl

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…

11 2mo ago A 123 tokens copy · 89% MIT

golang-security

34

alexastrum/skl

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…

11 2mo ago A 86 tokens copy · 97% MIT

golang-spf13-cobra

35

alexastrum/skl

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…

11 2mo ago A 180 tokens copy · 92% MIT

golang-spf13-viper

36

alexastrum/skl

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…

11 2mo ago A 174 tokens copy · 88% MIT

golang-stay-updated

37

alexastrum/skl

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.

11 2mo ago A 48 tokens copy · 98% MIT

alexastrum/skl

Skill Claude CodeCodex

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

11 2mo ago A 97 tokens copy · 94% MIT

alexastrum/skl

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…

11 2mo ago A 116 tokens copy · 92% MIT

golang-swagger

40

alexastrum/skl

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…

11 2mo ago A 146 tokens copy · 91% MIT

golang-testing

41

alexastrum/skl

Skill Claude CodeCodex

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. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

11 2mo ago A 115 tokens original MIT

alexastrum/skl

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…

11 2mo ago A 130 tokens copy · 94% MIT

golang-uber-dig

43

alexastrum/skl

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…

11 2mo ago A 111 tokens copy · 94% MIT

golang-uber-fx

44

alexastrum/skl

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…

11 2mo ago A 122 tokens copy · 95% MIT

humanizer

45

alexastrum/skl

Skill Claude CodeCodex

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague…

11 2mo ago A 93 tokens copy · 91% MIT

skl AGENTS.md

46

alexastrum/skl

Instructions file CodexOpenCode

Instructions for alexastrum/skl, covering 🤖 agent configurations & discovery, ⚡ discovery mechanics, 🔗 symlink routing, 🛠️ multi-platform compilation & path mappings and multi-platform ci builds.

11 2mo ago B 1,052 tokens original MIT