What problem does it solve?
Go modules and dependency management can be tricky in large Go projects. This skill provides a complete, end-to-end guide to initializing, updating, vendoring, and troubleshooting module configurations, including private modules and workspace setups.
Core Features & Use Cases
- Module Initialization & Dependency Management: learn to initialize modules, download, tidy, vendor, and verify integrity across single and multi-module projects.
- Private Modules & Replacements: handle private repositories, replace directives, and GOPRIVATE configuration for secure development.
- Workspaces & Triaging Complexity: manage multi-module workspaces with go.work and coordinate upgrades across modules.
- Troubleshooting & Best Practices: diagnose common module issues and adopt best practices for version control and reproducible builds.
Quick Start
Initialize a new module and align its dependencies using the go-modules skill.