Agent Skills: golang-dependency-injection

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, or wiring dependencies in Go. For a specific DI library, → See `samber/cc-skills-golang@golang-google-wire`, `samber/cc-skills-golang@golang-uber-dig`, `samber/cc-skills-golang@golang-uber-fx`, or `samber/cc-skills-golang@golang-samber-do` skills.

UncategorizedID: adibfirman/dotfiles/golang-dependency-injection

Install this agent skill to your local

pnpm dlx add-skill https://github.com/adibfirman/dotfiles/golang-dependency-injection

Skill Files

Browse the full folder contents for golang-dependency-injection.

Download Skill

Loading file tree…

Select a file to preview its contents.