golang-data-structures
Guidance on choosing and correctly using Go's built-in and standard library data structures, including slice/map internals, container packages, generics, and pointer semantics.
What it does
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 Go data structures, implementing generic containers, using container/ packages, unsafe or weak pointers, or questioning slice/map internals. Not for applying optimization patterns once profiling has identified a bottleneck (→ See `samber/cc-skills-golang@golang-performance` skill).
Quality judgment
Comprehensive, well-organized coverage of Go data structures with accurate internals (growth thresholds, bucket layout, unsafe.Pointer rules), clear cross-references, and a useful mistakes table. Inline examples are brief but appropriate for a summary-style skill that defers depth to reference files; trigger description is specific with good negative scoping.