🧱
QualityGo

Golang Data Structures

by samber

Golang Data Structures is a Quality skill for Claude Code, published by samber in cc-skills-golang.

3K stars193 forkson samber/cc-skills-golangAdded 2026/08/17+1% in starsRepository updated 2026/08/13
agentagent-skillsaiantigravityclaudeclaude-codecodecodexcodingcopilotcursorgeminigemini-cli-extensionopenclawopencodepluginskillsskillsmpvibe-coding
Install in seconds
Install Golang Data Structures
Copy Golang Data Structures into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/samber/cc-skills-golang/tree/main/skills/golang-data-structures ~/.claude/skills/golang-data-structures

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/samber/cc-skills-golang.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/golang-data-structures/SKILL.md in samber/cc-skills-golang
Installs to
~/.claude/skills/golang-data-structures
Collection
One of 25 skills cataloged from this repository
Category
Quality1354 skills

What Golang Data Structures does

Golang Data Structures covers slices, maps, arrays, container/list, heap, ring, strings.Builder vs bytes.Buffer, generic collections, unsafe/weak pointers, and copy semantics. Use it when choosing or optimizing Go data structures, implementing generic containers, using container packages, or questioning slice/map internals.

Golang Data Structures is cataloged under Quality on DirSkills. Golang Data Structures comes from a repository tagged agent, agent-skills, ai, antigravity and claude.

Documentation

README

Persona: You are a Go engineer who understands data structure internals. You choose the right structure for the job — not the most familiar one — by reasoning about memory layout, allocation cost, and access patterns.

Go Data Structures

Built-in and standard library data structures: internals, correct usage, and selection guidance. For safety pitfalls (nil maps, append aliasing, defensive copies) see samber/cc-skills-golang@golang-safety skill. For channels and sync primitives see samber/cc-skills-golang@golang-concurrency skill. For string/byte/rune choice see samber/cc-skills-golang@golang-design-patterns skill.

Best Practices Summary

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Golang Data Structures

  • What else does samber publish alongside Golang Data Structures?

    Golang Data Structures is one of 25 skills that DirSkills catalogs from samber/cc-skills-golang, the repository it ships in. Its siblings there include Go Code Style, Go Continuous Integration and Go Dependency Management. Each one is a separate skill with its own page in this directory, installs the same way Golang Data Structures does, and is maintained by samber in that same repository. The rest of the collection is listed on the samber/cc-skills-golang page.

  • How does Golang Data Structures compare to other Quality skills?

    Golang Data Structures ranks #448 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Golang Data Structures against them. Open each page to compare what they document and how they install.

More from samber/cc-skills-golang

Golang Data Structures is one of 25 skills cataloged on DirSkills from samber/cc-skills-golang.

See all 25 skills
📏
2w ago

Go Code Style

Go Code Style defines conventions for line breaking, variable declarations, control flow, and comments to keep Go code clear and reviewable. Use it when writing or reviewing Go code, answering style questions, or establishing project standards.
Quality
3K193
⚙️
2w ago

Go Continuous Integration

Go Continuous Integration configures CI/CD pipelines for Go projects using GitHub Actions, including testing, linting, SAST, security scanning, code coverage, Dependabot, Renovate, GoReleaser, code review automation, and release pipelines.
DevOps
3K193
📦
2w ago

Go Dependency Management

Go Dependency Management covers go.mod management, installing/upgrading packages, vulnerability scanning, outdated dependency tracking, conflict resolution, go.work workspaces, and Dependabot/Renovate setup for adding, removing, or upgrading Go dependencies.
DevOps
3K193
📝
2w ago

Go Documentation

Go Documentation guides writing and reviewing doc comments, README, CONTRIBUTING, CHANGELOG, Go Playground demos, Example tests, and llms.txt for Go projects. Use it when documenting libraries, applications, or CLIs, or auditing documentation completeness and style.
Writing
3K193
📡
2w ago

Go GraphQL

Go GraphQL guides implementation of GraphQL APIs in Go using gqlgen or graphql-go, covering schema design, resolvers, DataLoaders, subscriptions, and authentication. Use when building GraphQL servers or integrating with existing Go HTTP services.
DevOps
3K193
🏷️
2w ago

Go Naming Conventions

Go Naming Conventions provides rules for naming packages, functions, variables, interfaces, errors, and other Go identifiers. Use it when writing new Go code, reviewing or refactoring, or deciding between naming alternatives to follow Go standards.
Quality
3K193