Use when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking between type aliases and type definitions. Also use when a user is writing a utility function that could work with multiple types, even if they don't mention generics explicitly. Does not cover interface design without generics (see go-interfaces).
$npx -y skills add cxuu/golang-skills --skill go-genericsInstalls into the current project.
Run `npx skills use "https://github.com/cxuu/golang-skills" --skill "cxuu/golang-skills/go-generics"` 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/cxuu/golang-skills" that are relevant to the current task. Run `npx skills add "https://github.com/cxuu/golang-skills"` and select the relevant skills, then follow their instructions.