Golang language

From HoangNguyen0403/agent-skills-standard · View interactive version

Golang language is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Core idioms, style guides, and best practices for writing idiomatic Go code. Use when writing Go code following official style guides and idiomatic patterns.

How to use this skill

Skill file

Golang Language Standards

**Priority: P0 (CRITICAL)**

Guidelines

Anti-Patterns

Verification Workflow (Mandatory)

After writing or modifying Go code:

  1. mcp__ide__getDiagnostics — catch compile errors and gopls type diagnostics immediately
  2. go vet ./... — catch common mistakes (printf mismatches, unreachable code, shadowed vars)
  3. goimports -w . — fix imports and formatting in one pass

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.