Source

cxuu/golang-skills

20 skills · 21.2K combined installs

Skills from this source

#
Skill
Source
8W Activity
Installs
7861
go-code-review Use when reviewing Go code or checking code against community style standards.
cxuu/golang-skills
1.4K
8940
go-testing Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test…
cxuu/golang-skills
1.1K
9153
go-linting Use when setting up linting for a Go project, configuring golangci-lint, or adding Go checks to a CI/CD pipeline.
cxuu/golang-skills
1.1K
9447
go-concurrency Use when writing concurrent Go code — goroutines, channels, mutexes, or thread-safety guarantees.
cxuu/golang-skills
1.1K
9526
go-context Use when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and st…
cxuu/golang-skills
1.1K
9545
go-defensive Use when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for c…
cxuu/golang-skills
1.1K
9305
go-documentation Use when writing or reviewing documentation for Go packages, types, functions, or methods.
cxuu/golang-skills
1.1K
9419
go-error-handling Use when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and…
cxuu/golang-skills
1.1K
9485
go-interfaces Use when defining or implementing Go interfaces, designing abstractions, creating mockable boundaries for testing, or…
cxuu/golang-skills
1.1K
9465
go-naming Use when naming any Go identifier — packages, types, functions, methods, variables, constants, or receivers — to ensu…
cxuu/golang-skills
1.1K
9359
go-performance Use when optimizing Go code, investigating slow performance, or writing performance-critical sections.
cxuu/golang-skills
1.1K
12
go-style-core Use when working with Go formatting, line length, nesting, naked returns, semicolons, or core style principles.
cxuu/golang-skills
1.1K
13
go-packages Use when creating Go packages, organizing imports, managing dependencies, or deciding how to structure Go code into p…
cxuu/golang-skills
1K
14
go-functional-options Use when designing a Go constructor or factory function with optional configuration — especially with 3+ optional par…
cxuu/golang-skills
1K
15
go-data-structures Use when working with Go slices, maps, or arrays — choosing between new and make, using append, declaring empty slice…
cxuu/golang-skills
1K
16
go-control-flow Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, f…
cxuu/golang-skills
1K
17
go-logging Use when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in …
cxuu/golang-skills
870
18
go-functions Use when organizing functions within a Go file, formatting function signatures, designing return values, or following…
cxuu/golang-skills
852
19
go-generics Use when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking be…
cxuu/golang-skills
852
20
go-declarations Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope wi…
cxuu/golang-skills
845