golang-development

v2026.09.24

You MUST activate this skill when working on Go projects

GitHub
安装命令
npx skhub add sammcj/golang-development
Markdown
SKILL.md

Go

  • Use latest Go version (verify, don't assume). Build with -ldflags="-s -w"
  • Check modernity: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
  • Copy golangci config: $HOME/git/sammcj/mcp-devtools/.golangci.yml
  • Idiomatic Go: explicit error handling, early returns, small interfaces, composition, defer for cleanup, table-driven tests

Go Testing

  • When working with tests in Go, read in references/go-testing.md for actionable testing guidelines.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

Apache-2.0

源路径

Skills/golang-development

默认分支

main

最新提交

6ee2ba1

Tree SHA

85ce70a