alexastrum

46 mods across 1 repository, 11 stars between them.

cli-to-go-migration

01

alexastrum/skl

Skill Claude CodeCodex

Reusable agent skill for migrating command-line interfaces from any programming language to Go.

11 2mo ago A 21 tokens original MIT

golang-benchmark

02

alexastrum/skl

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…

11 2mo ago A 104 tokens original MIT

golang-cli

03

alexastrum/skl

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…

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

golang-code-style

04

alexastrum/skl

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…

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

golang-concurrency

05

alexastrum/skl

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…

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

golang-context

06

alexastrum/skl

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…

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

alexastrum/skl

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…

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

alexastrum/skl

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…

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

golang-database

09

alexastrum/skl

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…

11 2mo ago A 99 tokens copy · 100% MIT

alexastrum/skl

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…

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

alexastrum/skl

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…

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

alexastrum/skl

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…

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

alexastrum/skl

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

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

alexastrum/skl

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…

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

golang-google-wire

15

alexastrum/skl

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…

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

golang-graphql

16

alexastrum/skl

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.

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

golang-grpc

17

alexastrum/skl

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…

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

golang-how-to

18

alexastrum/skl

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…

11 2mo ago A 166 tokens original MIT

golang-lint

19

alexastrum/skl

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…

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

golang-modernize

20

alexastrum/skl

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…

11 2mo ago A 70 tokens original MIT

golang-naming

21

alexastrum/skl

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…

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

alexastrum/skl

Skill Claude CodeCodex

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. Apply when instrumenting Go services for…

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

golang-performance

23

alexastrum/skl

Skill Claude CodeCodex

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. Use when profiling or benchmarks have identified a bottleneck and you need the right optimization pattern to fix…

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

alexastrum/skl

Skill Claude CodeCodex

Recommends production-ready Golang libraries and frameworks. Apply when the user explicitly asks for library suggestions, wants to compare alternatives, needs to choose a library for a specific task, or when a new dependency is being added to the project.

11 2mo ago A 55 tokens original MIT