byeduardo-sl· 28 skills
Dependency injection in Go: constructor injection, wiring in main, avoiding global state, and when frameworks (wire, fx, dig) earn their complexity. Use when: "dependency injection", "wire up dependencies", "inject this", "remove global state", "singleton in Go", "use google/wire", "uber fx", "make this testable". Do NOT use for: interface design principles (use go-interface-design), project directory structure (use go-project-layout), or test doubles and mocks (use go-test-quality).
$npx -y skills add eduardo-sl/go-agent-skills --skill go-dependency-injectionInstalls into the current project.
Run `npx skills use "https://github.com/eduardo-sl/go-agent-skills" --skill "eduardo-sl/go-agent-skills/go-dependency-injection"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/eduardo-sl/go-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/eduardo-sl/go-agent-skills"` and select the relevant skills, then follow their instructions.