Go Skill
Use this skill after every commit when the repository contains Go code.
Purpose:
- verify Go-specific hygiene after changes
- run Go checks only when a Go module or Go files are present
Checks:
- detect whether
go.modexists - detect whether any
*.gofiles exist - if both exist and
gois installed, rungo test ./... - otherwise skip without failing the repository workflow
This lets the skill folder stay useful even when the repo is documentation-only.