Sign inGet started
–

Guides using google/wire for compile-time dependency injection in Go, covering provider sets, injectors, interface bindings, and generated wire_gen.go files.

Lift · GLM-5.3-flash—not yet benchmarked
91
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

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.

#code-generation#compile-time#dependency-injection#golang#google-wire

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
9.0/10
examples
9.0/10
structure
9.0/10
overall
9.0/10

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.

allowed-tools

Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent WebFetch mcp__context7__resolve-library-id mcp__context7__query-docs Bash(wire:*) Bash(godig:*) Bash(gopls:*) LSP mcp__gopls__*

Files (6)

evals/evals.json · 15.6 KBLICENSE · 1.0 KBreferences/advanced.md · 7.3 KBreferences/recipes.md · 6.9 KBreferences/testing.md · 5.5 KBSKILL.md · 10.9 KB