skills/go-local-health/SKILL.md
Run local Go health checks (tests, coverage, lint) in Go repositories that contain go.mod/go.sum. Use when the user asks to run or interpret local Go test/coverage/lint workflows using tools like lazygotest, gocovsh, tparse, and golangci-lint. Do not use for Rust or non-Go projects.
npx skillsauth add regenrek/agent-skills go-local-healthInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
go.mod exists in the repo root before running anything. If missing, stop and ask.go.mod + toolchain).tools.go or go.mod tool directives). If tools are missing and no pins exist, ask before installing or adding pins.go, tparse, golangci-lintlazygotestgocovsh
If any required tool is missing, ask to install rather than using substitutes../....Preferred (scripted, deterministic):
~/.codex/skills/go-local-health/scripts/go-local-health --scope ./...
Manual fallback:
go test -cover -json ./... | tparse
golangci-lint run ./...
If a narrower scope is requested, replace ./... with the specific package path.
lazygotest
gocovsh
cover.out is required or preferred, generate it first:go test -coverprofile=cover.out ./...
tools
Live-test any Electron desktop app with native-devtools-mcp, Chrome DevTools Protocol, screenshots, OCR, and accessibility tools. Use when the user asks for Electron UI verification, MCP-driven app control, renderer CDP interaction, native desktop automation, screenshots, or OCR-driven checks.
testing
Find, clone, inspect, and summarize high-quality GitHub reference repositories for coding agents. Use when a user asks for GitHub reference projects, examples, prior art, inspiration, implementation patterns, or includes "$search-context" in a coding prompt.
testing
Run or install repo security leak checks with BetterLeaks and Trivy. Use when asked to scan for leaked secrets, vulnerable dependencies, misconfigurations, add secret-leak guardrails, add BetterLeaks, add forbidden-path hooks, or run secleak-check before release.
development
Run a reusable JavaScript supply-chain security baseline with pnpm-first hardening, release-age gating, lifecycle-script controls, exotic dependency checks, CI install checks, and optional incident IOC profiles.