·golang

编写生产 Go 代码的最佳实践。在编写、审查或重构 Go 代码时使用。涵盖错误处理、并发性、命名约定、测试模式、性能优化、泛型和常见陷阱。基于 Google Go 风格指南、Uber Go 风格指南、Effective Go 和 Go 代码审查评论。更新为 Go 1.25。

122安装·1热度·@saisudhir14

安装

$npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang

SKILL.md

Battle-tested patterns from Google, Uber, and the Go team. These are practices proven in large-scale production systems, updated for modern Go (1.25).

Production code must avoid panics. Return errors and let callers decide how to handle them.

Use %w when callers need to inspect the underlying error with errors.Is or errors.As. Use %v when you want to hide implementation details or at system boundaries.

编写生产 Go 代码的最佳实践。在编写、审查或重构 Go 代码时使用。涵盖错误处理、并发性、命名约定、测试模式、性能优化、泛型和常见陷阱。基于 Google Go 风格指南、Uber Go 风格指南、Effective Go 和 Go 代码审查评论。更新为 Go 1.25。 来源:saisudhir14/golang-agent-skill。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 golang?

编写生产 Go 代码的最佳实践。在编写、审查或重构 Go 代码时使用。涵盖错误处理、并发性、命名约定、测试模式、性能优化、泛型和常见陷阱。基于 Google Go 风格指南、Uber Go 风格指南、Effective Go 和 Go 代码审查评论。更新为 Go 1.25。 来源:saisudhir14/golang-agent-skill。

如何安装 golang?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/saisudhir14/golang-agent-skill

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01

相关 Skills

暂无