Solizardking/clawd-bot / .agents/skills/golang-dependency-management
golang-dependency-management
VerifiedDependency management strategies for Golang projects — go.mod management, installing/upgrading packages, Minimal Version Selection, vulnerability scanning, outdated dependency tracking, binary size analysis, Dependabot/Renovate setup, conflict resolution, and go.work workspaces. Use when adding, removing, or upgrading Go dependencies, auditing vulnerabilities, resolving version conflicts, or setting up automated dependency updates.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.7 KB |
| evals/evals.json | config | 11.2 KB |
| references/auditing.md | markdown | 3.4 KB |
| references/automated-updates.md | markdown | 1.8 KB |
| references/conflicts.md | markdown | 2.1 KB |
| references/versioning.md | markdown | 2.7 KB |
| references/visualization.md | markdown | 1.4 KB |
| references/workspaces.md | markdown | 1.2 KB |
references/workspaces.md
View on GitHub# Go Workspaces (go.work)
## go.work vs go.mod
| Scenario | Use |
| ---------------------------------------------- | --------- |
| Single module project | `go.mod` |
| Developing multiple related local modules | `go.work` |
| Monorepo with separate Go modules | `go.work` |
| Testing local changes across module boundaries | `go.work` |
| Published library consumed by others | `go.mod` |
## Workspace Commands
```bash
go work init # Initialize workspace
go work use ./services/auth # Add module to workspace
go work use -rm ./old-module # Remove module from workspace
go work sync # Sync workspace with module changes
```
## Key Points
- Workspaces eliminate the need for `replace` directives during local development — the workspace automatically resolves local modules
- **Do not commit `go.work.sum`** to version control (add to `.gitignore`)
- `go.work` is for development only — it does not affect how consumers of your published modules resolve dependencies
- For workspace directory structure examples, see the `samber/cc-skills-golang@golang-project-layout` skill
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |