What problem does it solve? Choosing the wrong Go data structure causes hidden performance costs: repeated slice growth copies, map rehashing, large-struct copy overhead, and GC pressure from improper pointer use. This Skill provides internals-level guidance so you pick the right structure based on memory layout, allocation cost, and access patterns. ## Core Features & Use Cases - Slice and Map Internals: Explains capacity growth mechanics, preallocation with make and slices.Grow, hash bucket structure, and why Go maps never shrink. - Standard Library Containers: Covers container/list, container/heap, container/ring, and bufio with time-complexity tables and selection criteria, plus strings.Builder vs bytes.Buffer guidance. - Generics and Pointer Types: Details constraint selection (comparable, cmp.Ordered), the 6 valid unsafe.Pointer patterns, and weak.Pointer[T] with runtime.AddCleanup for GC-safe caches. - Use Case: When building a priority-queue task scheduler, use this Skill to implement heap.Interface correctly with heap.Fix for O(log n) priority updates instead of remove-and-reinsert. ## Quick Start Ask the agent to review your Go code and recommend the right data structure, for example: should this cache use a value map or pointer map, and how should the slice be preallocated.