cxuu

22 mods across 1 repository, 154 stars between them.

golang-skills

01

cxuu/golang-skills

Plugin Claude Code

Plugin marketplace listing 1 plugin: golang-skills.

154 2mo ago A tokens not measured original Apache-2.0

golang-skills

02

cxuu/golang-skills

Plugin Claude Code

20 modular skills for idiomatic Go — each under 225 lines, backed by 48 reference files, 8 automation scripts (all with --json, --limit, --force), and 4 asset templates. Covers error handling, naming, testing, concurrency, interfaces, generics, documentation, logging, performance, and more. Activates automatically…

154 2mo ago A tokens not measured original Apache-2.0

go-code-review

03

cxuu/golang-skills

Skill Claude CodeCodex

Use when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code changes, even if the user doesn't explicitly request a style review. Does not cover language-specific syntax — delegates to specialized skills.

154 2mo ago A 56 tokens original Apache-2.0

go-concurrency

04

cxuu/golang-skills

Skill Claude CodeCodex

Use when writing concurrent Go code — goroutines, channels, mutexes, or thread-safety guarantees. Also use when parallelizing work, fixing data races, or protecting shared state, even if the user doesn't explicitly mention concurrency primitives. Does not cover context.Context patterns (see go-context).

154 2mo ago A 62 tokens original Apache-2.0

go-context

05

cxuu/golang-skills

Skill Claude CodeCodex

Use when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and storing values in context vs parameters. Also use when cancelling long-running operations, setting timeouts, or passing request-scoped data, even if they don't mention context.Context directly. Does not…

154 2mo ago A 73 tokens original Apache-2.0

go-control-flow

06

cxuu/golang-skills

Skill Claude CodeCodex

Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does…

154 2mo ago A 81 tokens original Apache-2.0

go-data-structures

07

cxuu/golang-skills

Skill Claude CodeCodex

Use when working with Go slices, maps, or arrays — choosing between new and make, using append, declaring empty slices (nil vs literal for JSON), implementing sets with maps, and copying data at boundaries. Also use when building or manipulating collections, even if the user doesn't ask about allocation idioms. Does…

154 2mo ago A 79 tokens original Apache-2.0

go-declarations

08

cxuu/golang-skills

Skill Claude CodeCodex

Use when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, designing iota enums, and using any instead of interface{}. Also use when writing a new struct or const block, even if the user doesn't ask about declaration…

154 2mo ago A 78 tokens original Apache-2.0

go-defensive

09

cxuu/golang-skills

Skill Claude CodeCodex

Use when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoiding mutable globals. Also use when reviewing for robustness concerns like missing cleanup or unsafe crypto usage, even if the user doesn't mention "defensive…

154 2mo ago A 76 tokens original Apache-2.0

go-documentation

10

cxuu/golang-skills

Skill Claude CodeCodex

Use when writing or reviewing documentation for Go packages, types, functions, or methods. Also use proactively when creating new exported types, functions, or packages, even if the user doesn't explicitly ask about documentation. Does not cover code comments for non-exported symbols (see go-style-core).

154 2mo ago A 61 tokens original Apache-2.0

go-error-handling

11

cxuu/golang-skills

Skill Claude CodeCodex

Use when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error flow, or deciding whether to log or return. Also use when propagating errors across package boundaries or using errors.Is/As, even if the user doesn't ask about…

154 2mo ago A 88 tokens original Apache-2.0

cxuu/golang-skills

Skill Claude CodeCodex

Use when designing a Go constructor or factory function with optional configuration — especially with 3+ optional parameters or extensible APIs. Also use when building a New function that takes many settings, even if they don't mention "functional options" by name. Does not cover general function design (see…

154 2mo ago A 65 tokens original Apache-2.0

go-functions

13

cxuu/golang-skills

Skill Claude CodeCodex

Use when organizing functions within a Go file, formatting function signatures, designing return values, or following Printf-style naming conventions. Also use when a user is adding or refactoring any Go function, even if they don't mention function design or signature formatting. Does not cover functional options…

154 2mo ago A 65 tokens original Apache-2.0

go-generics

14

cxuu/golang-skills

Skill Claude CodeCodex

Use when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking between type aliases and type definitions. Also use when a user is writing a utility function that could work with multiple types, even if they don't mention generics explicitly. Does not cover interface…

154 2mo ago A 72 tokens original Apache-2.0

go-interfaces

15

cxuu/golang-skills

Skill Claude CodeCodex

Use when defining or implementing Go interfaces, designing abstractions, creating mockable boundaries for testing, or composing types through embedding. Also use when deciding whether to accept an interface or return a concrete type, or using type assertions or type switches, even if the user doesn't explicitly…

154 2mo ago A 75 tokens original Apache-2.0

go-linting

16

cxuu/golang-skills

Skill Claude CodeCodex

Use when setting up linting for a Go project, configuring golangci-lint, or adding Go checks to a CI/CD pipeline. Also use when starting a new Go project and deciding which linters to enable, even if the user only asks about "code quality" or "static analysis" without mentioning specific linter names. Does not cover…

154 2mo ago A 84 tokens original Apache-2.0

go-logging

17

cxuu/golang-skills

Skill Claude CodeCodex

Use when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go. Also use when setting up production logging, adding request-scoped context to logs, or migrating from log to slog, even if the user doesn't explicitly mention logging. Does not cover error handling…

154 2mo ago A 71 tokens original Apache-2.0

go-naming

18

cxuu/golang-skills

Skill Claude CodeCodex

Use when naming any Go identifier — packages, types, functions, methods, variables, constants, or receivers — to ensure idiomatic, clear names. Also use when a user is creating new types, packages, or exported APIs, even if they don't explicitly ask about naming conventions. Does not cover package organization (see…

154 2mo ago A 71 tokens original Apache-2.0

go-packages

19

cxuu/golang-skills

Skill Claude CodeCodex

Use when creating Go packages, organizing imports, managing dependencies, or deciding how to structure Go code into packages. Also use when starting a new Go project or splitting a growing codebase into packages, even if the user doesn't explicitly ask about package organization. Does not cover naming individual…

154 2mo ago A 66 tokens original Apache-2.0

go-performance

20

cxuu/golang-skills

Skill Claude CodeCodex

Use when optimizing Go code, investigating slow performance, or writing performance-critical sections. Also use when a user mentions slow Go code, string concatenation in loops, or asks about benchmarking, even if the user doesn't explicitly mention performance patterns. Does not cover concurrent performance patterns…

154 2mo ago A 62 tokens original Apache-2.0

go-style-core

21

cxuu/golang-skills

Skill Claude CodeCodex

Use when working with Go formatting, line length, nesting, naked returns, semicolons, or core style principles. Also use when a style question isn't covered by a more specific skill, even if the user doesn't reference a specific style rule. Does not cover domain-specific patterns like error handling, naming, or…

154 2mo ago A 83 tokens original Apache-2.0

go-testing

22

cxuu/golang-skills

Skill Claude CodeCodex

Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does…

154 2mo ago A 80 tokens original Apache-2.0