golang-dependency-injection
100 / 100 · Low risk
Fine to try.
Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing service architecture, setting up dependency injection, refactoring tightly coupled code, managing singletons or service factories, or when the user asks about inversion of control, service containers, o…
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'golang-dependency-injection' ] || [ -L ~/.agents/skills/'golang-dependency-injection' ]; then echo 'A skill folder named golang-dependency-injection already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/samber/cc-skills-golang' "$d" && git -C "$d" checkout --quiet 'd68d80aec298e1b74b37c2a472c002b5217248b3' -- 'skills/golang-dependency-injection' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/golang-dependency-injection' ~/.agents/skills/'golang-dependency-injection' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'golang-dependency-injection' ~/.claude/skills/'golang-dependency-injection' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/samber/cc-skills-golang/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-11 | d68d80a | 100 |
| 2026-11-08 | bb1d43d | 100 |
| 2026-11-07 | bb1d43d | 100 |