SkillTrust

← All skills

go-generics

100 / 100 · Low risk

Fine to try.

By cxuu/golang-skills (GitHub) · coding · 194 stars · scanned at commit 91f0c2e

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

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'go-generics' ] || [ -L ~/.agents/skills/'go-generics' ]; then echo 'A skill folder named go-generics already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxuu/golang-skills' "$d" && git -C "$d" checkout --quiet '91f0c2eef559a3168f9d3c38f5f99936d472b508' -- 'skills/go-generics' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/go-generics' ~/.agents/skills/'go-generics' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'go-generics' ~/.claude/skills/'go-generics' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for cxuu/golang-skills shows the score of its lowest-scoring skill.

SkillTrust badge for cxuu/golang-skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/cxuu/golang-skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/cxuu/golang-skills/)

Score history

DateVersionScore
2026-11-0791f0c2e100