go-local-health
Installation
SKILL.md
Go Local Health
Overview
Provide a consistent, repeatable local workflow for Go test, coverage, and lint checks. Use this to run fast snapshots, interactive test loops, and coverage inspection without re-deriving commands.
Guardrails (language + tooling)
- Confirm
go.modexists in the repo root before running anything. If missing, stop and ask. - Run commands from the repo root so module settings and tooling config are discovered.
- Respect the repo’s Go toolchain configuration (
go.mod+toolchain). - Prefer repo-pinned tool versions (e.g.,
tools.goorgo.modtool directives). If tools are missing and no pins exist, ask before installing or adding pins. - Required tools vary by mode:
- Quick Snapshot:
go,tparse,golangci-lint - Interactive Test Loop:
lazygotest - Coverage Explorer:
gocovshIf any required tool is missing, ask to install rather than using substitutes.
- Quick Snapshot:
- All automated runs must be non-interactive. Only launch TUIs when the user explicitly requests them.