.agents/skills/dependency-injection/SKILL.md
Wire dependencies using constructor-based dependency injection throughout services, repositories, and handlers.
npx skillsauth add gobetterauth/go-better-auth dependency-injectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Dependency injection flow:
See examples/di_todo_example.go for:
tools
Orchestrate services and repositories through use cases to implement application-level workflows and business scenarios.
development
Write unit tests in Go following Red-Green-Refactor TDD principles.
tools
Define and implement services that encapsulate business logic with proper constructor-based dependency injection.
tools
Register and retrieve services at runtime using a thread-safe service registry pattern for loose coupling between plugins.