Google Go Style
按 Google Go Style 编写、重构或审查 Go 代码。用于命名、注释、接口、错误处理、并发、包组织与可维护性决策。
Install
npx skills add lingengyuan/my-skills --skill google-go-stylegit clone --depth 1 https://github.com/lingengyuan/my-skills.git /tmp/my-skills
mkdir -p ~/.claude/skills
cp -r /tmp/my-skills/.claude/skills/google-go-style ~/.claude/skills/google-go-stylePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Google Go Style 以 [Google Go Style](https://google.github.io/styleguide/go/) 为风格依据,独立处理代码设计与可读性。 ## 文档等级 | 文档 | 作用 | | --- | --- | | [Guide](references/guide.md) | 核心原则,具有规范性和权威性 | | [Decisions](references/decisions.md) | 具体裁决,从属于 Guide | | [Best Practices](references/best-practices.md) | 补充建议,按场景取舍 | ## 工作方式 1. 阅读项目要求和相关代码,确定调用方、现有契约与修改范围。 2. 依次考虑清晰性、简单性、简洁性、可维护性和一致性。 3. 按 [主题索引](references/topics.md) 读取本地参考文档的相关章节,结合适用条件与例外作出决策。 4. 优先使用语言内置机制,其次使用标准库。根据实际需求选择抽象和依赖。 5. 按项目要求验证行为,简化实现,删除无用抽象与重复解释。 ## 检查项 - **命名与格式**:使用 `gofmt`。名称在调用位置应清楚、简洁。长行优先通过调整结构改善。 - **注释与文档**:说明原因、契约和不明显的行为。 - **错误**:提供有用的上下文。调用方需要检查底层错误时使用 `%w`。明确错误返回和日志责任。 - **接口与包**:围绕实际行为组织代码。通常由使用方定义接口,具体类型提供实现。 - **并发与资源**:明确 goroutine 的停止方式、等待责任和资源清理责任。 - **值与状态**:按语义选择零值、接收器和参数,核对复制、序列化与调用契约。 - **测试代码**:按项目选定的测试方式检查结构和失败信息。 ## 输出 交付本次范围内的代码或审查结论。审查结论包含具体位置、实际影响和对应官方章节,并区分行为缺陷、规范性裁决与可选建议。 ## 来源 依据 Google LLC 的 Go Style 文档进行中文概括与主题索引整理。原文采用 [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/) 许可。本地副本的来源与版本见 [来源记录](references/sources.md)。
Details
- Skill name
google-go-style- Repository
- lingengyuan/my-skills
- Path
.claude/skills/google-go-style/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Google Go Style skill do?
按 Google Go Style 编写、重构或审查 Go 代码。用于命名、注释、接口、错误处理、并发、包组织与可维护性决策。
How do I install the Google Go Style skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add lingengyuan/my-skills --skill google-go-style. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Google Go Style popular?
It lives in lingengyuan/my-skills, which has 9 GitHub stars and 1 forks.
Related skills
Brief Output
9lingengyuan/my-skills
精简回答、技术说明与工程文档,删除冗余信息与 AI 味表达,只保留完成任务所需的必要事实与技术决策。适用于精简输出、压缩改写、去除 AI 腔调以及全文一致性修订。
Insight Collector
9lingengyuan/my-skills
Analyze URLs, source code, images, technical documents, or notes, and archive reusable insights, code snippets, and architecture patterns into a knowledge base. Use when collecting knowledge, archiving technical articles, saving reusable code, or recording insights (收录, 记录一下).
Insights Report
9lingengyuan/my-skills
Generate a usage insights report from local Claude Code, Codex, pi, and omp session transcripts. Use when the user asks for an insights report, session analysis, usage review, "how do I work with agents", or runs /insights-report.
Validate Emu
9pasqal-io/agent-marketplace
Scan a neutral-atom experiment_spec.json and its Pulser sequence, noiseless and noisy, and return a go/no-go on whether the signal survives the Rydberg device's noise well enough to be worth QPU time. Asks where to run: locally (free, small registers, offered first) or on Pasqal Cloud emulators at the real size. This is the gate before a QPU submission, not the submission. Triggered by phrases like "validate this sequence on the emulator", "check noise retention", "is this worth QPU time".
Morning
10thatmike1/claude-skills
Daily briefing skill that aggregates yesterday's work context from Claude Code conversations, Codex sessions, git history, and memory files into an actionable morning plan with time estimates and sequencing. Use when user says morning, start of day, or what was I doing yesterday.
Submit to Cea
9pasqal-io/agent-marketplace
Submit a Pulser parametric experiment to Ruby, the neutral-atom QPU hosted at CEA/TGCC on the irene supercomputer, over SSH — generate the job bundle, deploy it, launch the ccc_msub jobs, monitor them, collect the results, with no manual copying. The templates are TGCC-specific and say what a sibling Bull or Slurm site needs changed; use qpu-submit for a cloud-API QPU. Triggered by phrases like "submit to CEA", "launch on Ruby", "submit to TGCC".
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.