Skill Store 33

Golang Development

You MUST activate this skill when working on Go projects

by sammcj · Apache-2.0

The skill

You MUST activate this skill when working on Go projects

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.

Use this skill

Connect your agent to the Skill Store MCP server and ask for it by ref: sammcj/golang-development-77602125972.

Download SKILL.md · Markdown version

Details

Publisher
sammcj
Category
Software Development › Languages & frameworks
License
Apache-2.0
Updated
2026-10-19

References

More from sammcj