golang
Installation
SKILL.md
ABOUTME: Go 1.26 idiomatic development skill with automated quality gates
ABOUTME: Enforces 2025 best practices, pre-commit hooks, and golangci-lint
Go 1.26 Idiomatic Development
Quick Reference
| Principle | Rule |
|---|---|
| Simplicity | Start with simplest solution; justify every abstraction |
| Explicitness | Clear code paths; no magic |
| Composition | Small interfaces; embedding over inheritance |
| Errors | Values, not exceptions; always wrap with context |
| Functions | β€50 lines, β€4 params, single responsibility |
| Duplication | Rule of Three before abstracting |
π FILE OPERATION CHECKPOINT (BLOCKING)
Before EVERY Write or Edit tool call on a .go file: