Reusable Go code without needless generics.
Guides Go generic code design to reuse shared logic without unnecessary type abstraction.
When to use it
Use when deciding whether to use Go generics, writing generic functions or types, choosing constraints or type declarations, or writing utilities that could work with multiple types.
It changes how the agent writes Go code by favoring concrete types until multiple types justify generics.
What you provide
Generic code requires Go 1.18 or later.
No additional actions listed.