Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By patrickdappolloniov1.8.0MITIn 1 marketplace
Writes and reviews Go code in idiomatic style, with house rules for sentence-style error messages, hand-written Fn-field mocks and table-driven tests. A per-change checklist must pass before Go code counts as done.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
golang, go-style, idiomatic-go, error-handling, go-testing, code-review, style, idiomatic ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An opinionated skill for writing Go the way the Go community writes it — with a few house preferences that win when the sources disagree. It loads whenever the agent writes, edits, or reviews Go, and it is a specification with a checklist, not a mood board: the code is done when the checklist is true and the gate output (gofmt, go vet, go test -race, the linter) is in hand.
It condenses:
FooE error-returning variants)context.Value, a generic pkg/) dropped…and layers a set of house rules on top, which supersede the sources above:
failed to <verb> <object> [%q]: %w — never a bare verb, never "open %q: %w", never terse "db: %w". Sentinels are noun phrases (customer not found). errors.New when nothing is formatted, %q instead of '%s', %w last, errors.Is/errors.As to compare, and every error handled exactly once — no log-and-return.Fn-field structs that fail loudly. A nil Fn returns a not implemented error naming the mock and field (or panics when the method has no error return), so a test that forgot to wire a dependency can never pass on a zero value. No mocking libraries, no sqlmock; httptest for HTTP.t.Context() / t.TempDir() / t.Setenv(), print got-before-want, and assert errors with errors.Is._test.go; a new file only when none exists or a separate tier (smoke, e2e, journey) needs a build tag.go.mod.It also carries Go-flavored condensations of two sibling skills, so a single install has everything — this marketplace ships each skill standalone, and nothing here reaches outside its own directory:
appropriate-comments-code): a comment earns its place by carrying information the code does not, about the code as it is now, in two lines; doc comments are sentences written for the caller; no history, no review rounds, no task IDs; regressions are pinned by tests.code-simplification): reshape only what's in scope, one change at a time, each pinned by a test that predates it; cyclomatic complexity counted and reported before splitting; near-duplicate functions are diffed and a merge is proposed, never done by reflex; a failing test means revert the change, never the test.use-modern-goThis skill knows idiom and discipline; it does not know what shipped in the Go release you target. JetBrains' modern-go-guidelines plugin (skill use-modern-go) runs a small CLI that lists version-specific guidelines for the Go in your go.mod — newer than any model's training data. It is deliberately not distilled here. Instead, the agent checks whether use-modern-go is installed: if so it invokes it before editing and treats its output as authoritative for which language features to use (house rules still govern errors, mocks, comments, and process); if not, it recommends it once per session with the install commands and carries on.
SKILL.md — the process, the summaries, rationalizations, red flags and the final checklist. Loads on every invocation.errors.md — the full error-writing specification.testing.md — tests, assertions, and the Fn-field mock pattern.style.md — naming, layout, control flow, types, receivers, interfaces, generics, concurrency, context, logging, dependencies.comments.md — doc comments and inline comments: what earns a line.simplification.md — reshaping working code without changing behavior.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub patrickdappollonio/claude-plugins --plugin effective-goPlugins from other owners that cover similar ground