From go-commands
Go build and test commands reference. Use when building Go projects, running Go tests, checking coverage, managing dependencies, or cross-compiling for targets like Lambda.
How this skill is triggered — by the user, by Claude, or both
Slash command
/go-commands:go-commandsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
go mod download # download all dependencies
go mod verify # verify dependency integrity
go mod tidy # remove unused, add missing
go get <module> # add or update a dependency
# Build a single package
go build -o bin/program ./cmd/program
# Build all packages
go build ./...
# Build with size optimizations (strip debug info)
go build -ldflags="-s -w" -o bin/program ./cmd/program
# Cross-compile for AWS Lambda (linux/amd64)
GOOS=linux GOARCH=amd64 go build -o bin/bootstrap ./cmd/program
# Run all tests recursively
go test ./...
# Run all tests in a package
go test ./internal/mypackage
# Run a specific test
go test -run ^TestFunctionName$ ./internal/mypackage
# Run with verbose output
go test -v ./...
# Run with race detector
go test -race ./...
# Run with timeout
go test -timeout 30s ./...
# Show coverage percentage
go test -cover ./...
# Generate coverage profile
go test -cover -coverprofile=coverage.out ./...
# View per-function coverage
go tool cover -func=coverage.out
# Filter to a specific file
go tool cover -func=coverage.out | grep filename.go
# Open interactive HTML report
go tool cover -html=coverage.out
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub outfitte/plugins --plugin go-commands