
Golang Dependency Management
Go module dependency workflow covering adds, upgrades, vulnerability scans, and go.work workspaces, with stdlib-first vetting.
- skills.sh installs
- 41.8K
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
What it does
- Covers go.mod and go.sum handling, installing and upgrading packages, Minimal Version Selection, and vendoring
- Includes
go get -u=patch,govulncheck,go mod tidy, andtooldirectives for pinning CLI tools in go.mod - Requires confirming before adding any new dependency, and checking stdlib coverage, license, and maintenance first
- Designed for Go projects where each new package is a long-term maintenance and supply-chain commitment
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-dependency-management -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Persona: You are a Go dependency steward. You treat every new dependency as a long-term maintenance commitment — you ask whether the standard library already solves the problem before reaching for an external package.
Dependencies:
- govulncheck:
go install golang.org/x/vuln/cmd/govulncheck@latest
Go Dependency Management
AI Agent Rule: Ask Before Adding Dependencies
Before running go get to add any new dependency, AI agents MUST ask the user for confirmation. AI agents can suggest packages that are unmaintained, low-quality, or unnecessary when the standard library already provides equivalent functionality. Using go get -u to upgrade an existing dependency is safe.
Before proposing a dependency, evaluate:
- Does the standard library already cover the use case?
- Is the license compatible?
- Are there well-known alternatives?
- What it does and why it's needed?
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Go, Security
- First seen
- Apr 16, 2026
More from samber/cc-skills-golang
All 47- Golang Structs Interfaces41.7K
- Golang Cli41.5K
- Golang Benchmark41.5K
- Golang Dependency Injection41.4K
- Golang Popular Libraries41.4K
- Golang Stretchr Testify41.3K
- Golang Continuous Integration41.3K
- Golang Grpc41.1K
- Golang Samber Lo40.4K
- Golang Stay Updated40.3K
- Golang Samber Do40.2K
- Golang Samber Slog40.1K
- Golang Samber Oops40K
- Golang Samber Mo40K
- Golang Samber Hot40K
- Golang Samber Ro39.9K
- Golang Spf13 Cobra39K
- Golang Swagger39K
- Golang Graphql38.8K
- Golang Google Wire38.7K
- Golang Spf13 Viper38.7K
- Golang Uber Fx38.4K
- Golang Uber Dig38.4K
- Golang How To38.3K
Similar to Golang Dependency Management
More Go
golang-continuous-integrationSkillsamber/cc-skills-golang41.3K installsCatalog-style CI guide for Go: GitHub Actions workflows covering tests, linting, security scanning, dependency bots, and releases.
golang-popular-librariesSkillsamber/cc-skills-golang41.4K installsCurated Go library and framework picks by category, with stdlib-first tradeoffs and maturity checks before adoption.
go-code-reviewSkillcxuu/golang-skills1.8K installsGo code review checklist covering formatting, errors, naming, concurrency, interfaces, and security checks with tooling.
use-modern-goSkilljetbrains/go-modern-guidelines3K installsVersion-aware Go style guidance from a CLI that applies modern idioms to the project's Go version.
go-lintingSkillcxuu/golang-skills1.4K installsConsistent golangci-lint setup for Go projects, with a verified v2 baseline config and linter selection guidance.
golangPluginopenshift-eng/ai-helpers123 starsGo development tools: gopls MCP server, LSP integration, automatic gofmt formatting, golangci-lint linting, CVE dependency patching, Go stdlib CVE triage, and O