Skill / SKILL.md

Go Generics

cxuu/golang-skills

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).
2 views 197 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/cxuu/golang-skills' skill-source

Use the complete skill-source/skills/go-generics directory with your client’s skill installer.

Source directory skills/go-generics

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
6f0914357ff2b9f9214876d7b3b1a2356cf0a56d257e1480a6cb690724720296
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills