AgentSkillsCN

Go

Go

SKILL.md

Skill: Go project conventions

Goal

Provide a standard Go workflow with module caching, linting, security checks, and tests driven by Make.

Make targets (recommended)

  • make depsgo mod download + install golangci-lint and gosec if missing
  • make vetgo vet ./...
  • make lintgolangci-lint run --timeout=5m
  • make securitygosec ./...
  • make testgo test -v -race -coverprofile=coverage.out ./...
  • make checkmake vet && make lint