go-check

Run go vet, golangci-lint, and go test on Go code.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/dotBeeps/hoard --skill go-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-check
Source: https://github.com/dotBeeps/hoard/tree/main/morsels/skills/go-check
Command: npx skills add https://github.com/dotBeeps/hoard --skill go-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers detect compilation issues, linter violations, and failing tests in Go code so problems are identified and prioritized before commits or CI runs.

Core Features & Use Cases

  • Run and interpret verification tools: execute go vet, golangci-lint, and go test and explain their outputs in human-readable terms.
  • Triage and prioritization: identify typecheck and errcheck issues first, then static analysis and style problems, with guidance on common fixes.
  • Module and build guidance: suggest go mod tidy, go mod verify, and build checks to resolve dependency and compilation issues.
  • Use Case: Use when preparing a pull request, debugging failing tests, or performing pre-commit verification for a Go module or monorepo.

Quick Start

Run a full verification by running go vet, then golangci-lint, and then go test across the repository and summarize errors with suggested fixes.

Frequently Asked Questions about go-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run go vet, golangci-lint, and go test before a commit?

To run go vet, golangci-lint, and go test before a commit, execute a full verification across your Go repository to detect compile errors, linter violations, and failing tests, then summarize the prioritized fixes needed.

What is the best way to triage failing Go tests and linting errors?

The best way to triage failing Go tests and linting errors is to prioritize typecheck and errcheck issues first, followed by static analysis and style problems, guided by human-readable interpretations of the verification output.

Can I use this for pre-commit verification in a Go monorepo?

Yes, you can use this for pre-commit verification in a Go monorepo. It applies static analysis and tests to Go modules, packages, and monorepos to verify code health before commits or CI runs.

When do I need to run go mod tidy and go mod verify during Go code checks?

You need to run go mod tidy and go mod verify during Go code checks when resolving dependency and compilation issues, using these module and build checks to ensure dependency health before executing tests.

Why does golangci-lint report typecheck errors before style violations?

Golangci-lint reports typecheck errors before style violations because the triage process prioritizes critical compilation issues and errcheck problems first, ensuring fundamental code health before addressing static analysis and style problems.