SkillTrust

← All skills

golang-structs-interfaces

100 / 100 · Low risk

Fine to try.

By samber/cc-skills-golang (GitHub) · coding · 3,824 stars · scanned at commit d68d80a

Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers. Use this skill when designing Go types, defining or implementing interfaces, embedding structs or interfaces, writing type assertions or type switches, adding struct field tags for JSON/YAML/DB serialization, or choosing between pointer and value receivers. Also use when the user asks …

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/'golang-structs-interfaces' ] || [ -L ~/.agents/skills/'golang-structs-interfaces' ]; then echo 'A skill folder named golang-structs-interfaces already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/samber/cc-skills-golang' "$d" && git -C "$d" checkout --quiet 'd68d80aec298e1b74b37c2a472c002b5217248b3' -- 'skills/golang-structs-interfaces' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/golang-structs-interfaces' ~/.agents/skills/'golang-structs-interfaces' && 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/'golang-structs-interfaces' ~/.claude/skills/'golang-structs-interfaces' (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 samber/cc-skills-golang shows the score of its lowest-scoring skill.

SkillTrust badge for samber/cc-skills-golang

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

Score history

DateVersionScore
2026-11-11d68d80a100
2026-11-08bb1d43d100
2026-11-07bb1d43d100