golang-google-wire
Guides using google/wire for compile-time dependency injection in Go, covering provider sets, injectors, interface bindings, and generated wire_gen.go files.
What it does
Compile-time dependency injection in Golang using google/wire — wire.NewSet, wire.Build, wire.Bind (interface→concrete), wire.Struct, wire.Value, wire.InterfaceValue, wire.FieldsOf, cleanup functions, //go:build wireinject injector files, and generated wire_gen.go. Apply when using or adopting google/wire, when the codebase imports `github.com/google/wire`, or when wiring an application graph at compile time via `wire.Build`. For runtime DI with reflection, see `samber/cc-skills-golang@golang-uber-dig` skill.
Quality judgment
A near-exemplary skill: precise trigger conditions, correct and idiomatic code examples covering all core wire primitives, a mistakes table, codegen workflow, and honest disclosure that the library is archived. Only minor deductions for referencing companion files (advanced/recipes/testing.md) whose contents aren't verifiable here and slight redundancy between Best Practices and Common Mistakes.