go-style-guide
Go 编程最佳实践和风格指南。在编写、审查或重构 Go 代码时应使用此技能,以确保最佳性能模式。涉及 Go 代码、数据结构、并发性或性能改进的任务的触发器。
SKILL.md
Styles are the conventions that govern our code. The term style is a bit of misnomer, since these conventions cover far more than just source file formatting—gofmt handles that for us.
The goal of this guide is to manage this complexity by describing in detail the Dos and Don'ts of writing Go code at Direkt. These rules exist to keep the code base manageable while still allowing developers to use Go language features productively. Created based on the Uber Go Style Guide.
| 1 | Correctness & Error Handling | CRITICAL | panic.md, error-once.md, error-wrap.md, exit-once.md | | 2 | Concurrency | CRITICAL | goroutine-forget.md, goroutine-exit.md, channel-size.md, atomic.md | | 3 | APIs & Types | HIGH | interface-pointer.md, interface-compliance.md, functional-option.md, struct-tag.md |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/direktly/agent-skills --skill go-style-guide- 分类
- </>开发工具
- 认证
- —
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 go-style-guide?
Go 编程最佳实践和风格指南。在编写、审查或重构 Go 代码时应使用此技能,以确保最佳性能模式。涉及 Go 代码、数据结构、并发性或性能改进的任务的触发器。 来源:direktly/agent-skills。
如何安装 go-style-guide?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/direktly/agent-skills --skill go-style-guide 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/direktly/agent-skills
详情
- 分类
- </>开发工具
- 来源
- user
- 收录时间
- 2026-02-01