Idiomatic Go Skill Review: spf13's go Skill at 50 KB per Trigger

The go skill in spf13/go-skills is one 50,796-byte SKILL.md. Its frontmatter asks the agent to load it "whenever the user mentions Go or golang, even if they don't ask for idiomatic code." The author is spf13, who wrote Cobra, Viper, Hugo and Afero. The README also says he was the Go team lead at Google and co-designed Go modules. I read the file's opening sections, its headings, and the repo around it, and grepped the full text for risky terms. The repo had 702 stars on the review date, and the public evidence about the skill is much thinner than the file is long.

TL;DR / Key Takeaways

  • The go skill is a single 50,796-byte SKILL.md with no reference files and no scripts. Bytes divided by 4 gives about 12,700 estimated tokens. That is arithmetic on file size, not a measured session cost.
  • The spf13/go-skills repo ships 7 skills as a Claude Code marketplace under the MIT license (LICENSE: "Copyright (c) 2026 Steve Francia"). On 2026-11-12 it had 702 stars, 38 forks and 4 open issues and pull requests.
  • The skill's description tells the agent to load it for any .go file, any go.mod, and any mention of Go or golang.
  • The skills.sh listing for the go skill shows 258 installs, first seen on 2026-03-25, and passes three audits: Gen Agent Trust Hub, Socket and Snyk.
  • Public discussion is thin. I found one Hacker News comment that says linters already cover much of this ground, one closed GitHub issue about the marketplace, and the skills.sh listing. None of them reviews the skill's rules.

What the skill actually says

The file is a long list of rules with short reasons, arranged from a version-gating section at the top to a debugging section at the bottom. The first real rule of the version-gating section is the one I would keep:

"Every version-gated feature is a floor: the module's packages must compile on the release that introduced it."

It tells the agent to read the go directive in go.mod before recommending anything newer, then to look the feature up in a version index. That index is a useful lookup table. An agent that reaches for slices in a module declaring go 1.19 breaks the build, and this file says so in plain terms.

The logging section is absolute:

"Never log and return an error. Log at the boundary, return the error through the call stack."

That rule is common Go advice, and the file gives no exceptions for code that already follows a different convention. The debugging section makes a bolder claim: "The Go tool is extremely reliable. It is almost never the source of a bug." That may be a fair default for a skill, but the file presents it as fact and gives no data for it.

What it costs you in context

SKILL.md is 50,796 bytes and 7,640 words by wc -w. Using the divisor bytes divided by 4, that is about 12,699 tokens. This figure comes from file size alone. I did not run the skill, and I did not measure a session. Every token count in this article is file-size arithmetic with that divisor.

The skill has no references folder, so the whole file loads as one block whenever it triggers. Among the seven skills in the same repo, it is the largest by far. The next largest, cobra-viper, is 21,480 bytes. The table below lists the files in the go folder and the repo README.

FileBytesEstimated tokens (bytes / 4)Role
go/SKILL.md50,79612,699Skill text, loaded when triggered
go/.claude-plugin/plugin.json676169Plugin manifest, not skill text
go/ folder total51,47212,868The full go skill package
README.md (repo root)5,0831,271Install notes, not loaded by the skill

What the community reports

The evidence is short. Four sources touch this skill, and only one of them comments on its rules.

SourceDateWhat it reportsLink
Hacker News comment by agonux in thread 492611332026-08-14Points to spf13/go-skills and says "golangci-lint and you have already a lot of integrated tools" that improve and modernize Go code. This is the only dissent I found, and it is about overlap with linters, not about this file.HN 49301458
GitHub issue #1, "Claude Marketplace" (closed)Opened 2026-03-24; comment 2026-07-08A user asked for a marketplace manifest. A second user replied that adding support to npx skills would raise visibility. The repo now contains .claude-plugin/marketplace.json, so the request was met.Issue #1
skills.sh listing for spf13/go-skills/goFirst seen 2026-03-25; page shows 258 installs on review dayInstall counter and three audits: Gen Agent Trust Hub, Socket and Snyk pass. The counter is skills.sh telemetry, not anything from our traffic.skills.sh
Commit history on go/SKILL.md2026-07-04 to 2026-11-05Commits added HTTP server guidance (07-04), a version-gating rule and feature index (09-28), a necessity ladder (10-01). PR #7 was merged on 11-05. The file changes often.Repo

Two things stand out. The HN commenter raised the overlap question and did not argue the skill is wrong. The skills.sh page also says the skill is "Originally from maragudk/skills." The repo credits spf13 as author. I did not trace that upstream history, so treat the lineage as an open question.

How to install it

The README gives two Claude Code commands. Run them in a Claude Code session:

/plugin marketplace add spf13/go-skills
/plugin install go@go-skills

The README says a Claude Code build older than 2.1.94 installs the plugin but never registers the skill. It says it verified 2.1.275. For other agents, it says to link each skill directory into the agent's skills directory. After install, open a Go project and ask a question the skill covers, such as "review this interface for idiomatic Go," to confirm it fires.

Where it earns its keep, and where it does not

The version-gating section is the part I would keep. Most Go code gets broken by a feature the module cannot compile against, and this file makes the agent check the floor first. The necessity ladder is the second good part. It asks whether the standard library, the toolchain or the platform already solves the problem before the agent adds code. Those are the two places where I expect a model to need correction most often.

The criticism is size. At about 12,700 estimated tokens per trigger, the file loads its whole body even when the user asks about one function. Concurrency, HTTP routing, generics, logging and debugging all sit in one block, and there is no way to load only the section that applies. A focused question pays for the entire file. This is the main cost of the skill, and the file offers no way to reduce it.

The trigger text is also broad. It says to load the skill "whenever the user mentions Go or golang." The description does not say how the agent should tell the language apart from the everyday verb "go," so a casual "let's go" can match in some contexts. I did not test the trigger against real prompts, so I am stating this as a risk, not a measured failure.

Several claims are asserted without evidence. The debugging line "almost never the source of a bug" is one. I also did not check the Go 1.26 and 1.27 entries against the official release notes, so I cannot say whether the "current through Go 1.27" claim holds.

The rules have little test coverage. The .github/claims/ folder holds four test functions in three files: one in godebug_test.go, two in json_test.go and one in time_test.go. The go folder ships no eval file. Sibling skills in other repos, such as samber's golang-code-style, ship an evals file, so this skill is less tested than some of its peers.

Frequently asked questions

What does the go skill do?

It gives an agent idiomatic Go guidance on package design, errors, interfaces, concurrency, testing and project layout. It also checks the module's Go floor before recommending newer features. All of it sits in one SKILL.md.

How big is it in context?

SKILL.md is 50,796 bytes, about 12,700 estimated tokens at bytes divided by 4. That estimate comes from file size. It is not a measured session cost.

Is it safe to install?

The package is markdown and JSON with no scripts. A grep of the full file for network, credential and execution terms matched prose words such as "execute" and one example.com URL inside a code sample, with no scripts or commands to run. Read the file before you trust it anyway.

Does it need a specific Claude Code version?

The README says builds older than 2.1.94 install the plugin but never register the skill, and that 2.1.275 was verified.

Skill by Steve Francia (spf13), MIT licensed. Source: github.com/spf13/go-skills. Reviewed November 12, 2026 from a shallow clone at commit c6ea884. Quoted lines are short excerpts for review purposes. Community reception shifts over time, so the signals above reflect the review date only.