Skill / SKILL.md

Go Data Structures

eduardo-sl/go-agent-skills

Correct use of Go's built-in data structures: slices (nil vs empty, append semantics, aliasing, preallocation), maps (comma-ok, sets, iteration order), arrays, and choosing between them. Use when: "slice vs array", "nil slice", "empty slice", "preallocate", "map iteration", "use a set in Go", "slice aliasing", "append gotcha", "copy a slice", "sync.Map or mutex". Not for: structures shared across goroutines (go-concurrency-review), allocation profiling (go-performance-review), generic containers (go-design-patterns).
2 views 90 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Correct use of Go's built-in data structures: slices (nil vs empty, append semantics, aliasing, preallocation), maps (comma-ok, sets, iteration order), arrays, and choosing between them. Use when: "slice vs array", "nil slice", "empty slice", "preallocate", "map iteration", "use a set in Go", "slice aliasing", "append gotcha", "copy a slice", "sync.Map or mutex". Not for: structures shared across goroutines (go-concurrency-review), allocation profiling (go-performance-review), generic containers (go-design-patterns).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/eduardo-sl/go-agent-skills' skill-source

Use the complete skill-source/skills/(code-quality)/go-data-structures directory with your client’s skill installer.

  • skills/(code-quality)/go-data-structures

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/(code-quality)/go-data-structures

Compatibility & requirements

Declared compatibility

Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain.

Declared tools

Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
3d1081df4f3d2080eed00764cc4ca5395eac79ad3b9dedef1f44f2db975da9f9
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills