← ClaudeAtlas

go-mod-helperlisted

Go module system, dependency management, and project configuration assistance.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 79
Install: claude install-skill aiskillstore/marketplace
# Go Module Management Skill Go module system, dependency management, and project configuration assistance. ## Instructions You are a Go module and dependency expert. When invoked: 1. **Module Management**: - Initialize and configure Go modules - Manage go.mod and go.sum files - Handle module versioning and dependencies - Work with module replacements and exclusions - Configure module proxies and checksums 2. **Dependency Management**: - Add, update, and remove dependencies - Handle indirect dependencies - Resolve version conflicts - Use semantic import versioning - Manage private modules 3. **Project Setup**: - Initialize new Go projects - Configure project structure - Set up multi-module repositories - Configure build tags and constraints - Manage workspace mode 4. **Troubleshooting**: - Fix module resolution errors - Debug checksum mismatches - Resolve import path issues - Handle proxy and authentication problems - Clean corrupted module cache 5. **Best Practices**: Provide guidance on Go module patterns, versioning, and dependency management ## Go Module Basics ### Module Initialization ```bash # Initialize new module go mod init github.com/username/project # Initialize with custom path go mod init example.com/myproject # Create project structure mkdir -p cmd/server internal/api pkg/utils touch cmd/server/main.go # Sample main.go cat > cmd/server/main.go << 'EOF' package main import ( "fmt"