跳到正文
码上手 coding.chengyu.dev
SA

golang-data-structures

samber/cc-skills-golang/skills/golang-data-structures

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).

把下面的话发给 Claude Code、Codex 或 Cursor。智能体会先检查内容,经你确认再安装。

请帮我安装这个 Agent Skill:https://github.com/samber/cc-skills-golang/tree/main/skills/golang-data-structures

1. 先读取该目录下的 SKILL.md 和其他文件,检查是否有可疑内容(执行未知脚本、读取密钥、向外发送数据等),用中文告诉我它会做什么、需要哪些权限;
2. 等我确认后,再把整个目录安装到 ~/.claude/skills/golang-data-structures/(如果你不是 Claude Code,安装到你自己约定的 skills 目录);
3. 安装后告诉我怎么触发它。

Skill 可以让智能体执行脚本。安装第三方 Skill 前务必看一遍内容,详见「安全」一课。

正在从 GitHub 读取……

Esc

输入关键词开始搜索,例如「CLAUDE.md」「MCP」「部署」