golang-structs-interfaces
Skill0 starsChanged 4 months agoNo licenceView on GitHub
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 about "accept interfaces, return structs", compile-time interface checks, or composing small interfaces into larger ones.
- Installs packages
17 other projects use a version of this, 8 of them edited.
Adopted by
Most recently taken up by
- marcioaltoe/skillsedited, first seen Nov 29, 2026
- jniltinho/go-glpi-agentword for word, first seen Nov 22, 2026
- jangrui/skillsedited, first seen Nov 22, 2026
- aiproxer/aiproxertheir own version, first seen Nov 8, 2026
- TeddyAlbina/skillsword for word, first seen Nov 1, 2026
- samber/cc-skills-golangedited, first seen Nov 1, 2026
Used with
Projects with it also use golang-dependency-management, golang-lint and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
guynhsichngeodiecSkillgolang-dependency-management
Provides dependency management strategies for Golang projects including go.mod management, installing/upgrading packages, semantic versioning, Minimal Version Selection, vulnerability scanning, outdated dependency tracking, dependency size analysis, automated updates with Dependabot/Renovate, conflict resolution, and dependency graph visualization. Use this skill whenever adding, removing, updating, or auditing Go dependencies, resolving version conflicts, setting up automated dependency updates, analyzing binary size, or working with go.work workspaces.
Also in 12 projects that use this
guynhsichngeodiecSkillgolang-lint
Provides linting best practices and golangci-lint configuration for Go projects. Covers running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and managing linter settings. Use this skill whenever the user runs linters, configures golangci-lint, asks about lint warnings or suppressions, sets up code quality tooling, or asks which linters to enable for a Go project. Also use when the user mentions golangci-lint, go vet, staticcheck, revive, or any Go linting tool.
Also in 12 projects that use this
alexastrumSkillgolang-how-to
Golang skills orchestrator — always active on any Golang coding, review, debug, or setup task. Reads the task context and loads the most relevant skills from samber/cc-skills-golang, often multiple at once: writing a gRPC service loads golang-grpc + golang-testing + golang-error-handling; debugging a panic loads golang-troubleshooting + golang-safety; auditing security loads golang-security + golang-lint + golang-safety. Also: disambiguates competing clusters when two skills seem to overlap (performance vs benchmark vs troubleshooting, samber/lo vs mo vs ro, DI cluster, safety vs security), and configures CLAUDE.md or AGENTS.md to force-trigger skills in a project (/golang-how-to configure).
Also in 8 projects that use this
- +5 more from guynhsichngeodiec
Other versions17 projects use a version of this.
Word for word · 7
- alexastrum/skl★ 11100% same
- poizoncoded/skills★ 2100% same
- TeddyAlbina/skills★ 2100% same
- jniltinho/go-glpi-agent★ 1100% same
- VerifiedOrganic/onboard★ 1100% same
- guynhsichngeodiec/cc-skills-golang★ 0100% same
- jniltinho/llama-model★ 0100% same
Edited · 8
- samber/cc-skills-golang★ 3.9k77% same
- tstapler/dotfiles★ 889% same
- klawisha012/agentsync★ 597% same
- tquangkhai98/browser-profiles-manager★ 599% same
- jangrui/skills★ 177% same
- rockcookies/skills★ 195% same
- marcioaltoe/skills★ 077% same
- rzisso/golang-skills★ 077% same
Wrote their own version · 2
- aiproxer/aiproxer★ 24same name
- reagin/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- doc-coauthoringSkill
- find-skillsSkill
- gitcommitSkill
- glabSkill
- golang-cliSkill
- golang-code-styleSkill
- golang-concurrencySkill
- golang-contextSkill
- golang-data-structuresSkill
- golang-design-patternsSkill
- golang-error-handlingSkill
- golang-grpcSkill
- golang-namingSkill
- golang-popular-librariesSkill
- golang-proSkill
- golang-safetySkill
- golang-samber-loSkill
- golang-stretchr-testifySkill
- golang-testingSkill
- golang-troubleshootingSkill
- rust-best-practicesSkill
- systematic-debuggingSkill
- technical-article-writerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 1 is common, 4 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

