/go-proverbs-review:reviewfrom go-proverbs-review
Reviews Go code against Rob Pike's 19 Go Proverbs, flagging violations grouped by proverb. Useful for Go code reviews or learning Go idioms.
Ships in go-proverbs-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Code review skill based on Rob Pike's 19 Go Proverbs (https://go-proverbs.github.io/), delivered as a short mapping from each proverb to a detailed rule file under proverbs/.
/go-proverbs-review:review.go) code — apply all actionable proverbsReviews run as a parallel fan-out of subagents, one per actionable proverb. This keeps the main context small and each check focused on a single principle.
[!IMPORTANT] Before any subagent fan-out, ASK the user which model to use for the per-proverb subagents:
opus(highest quality, slowest),sonnet(balanced), orhaiku(cheapest, fastest). Wait for their answer — do not pick for them. Pass the chosen model name to every dispatched subagent via the Task tool'smodelparameter.Skip this step only for the Single-proverb question flow below — it loads one file directly in the main thread, no subagents.
actionable proverb in the index, dispatch a subagent with:
proverbs/NN-*.md.go file paths to review<file>:<line> — <one-sentence observation> or the literal string no findingstooling proverbs, dispatch a single subagent that verifies the tool is configured (e.g. golangci-lint config present) and returns pass/fail — no code findings.philosophical and postponed proverbs entirely — they inform judgment, not findings.If the user asks to check against specific proverbs ("review for #4 and #15 only"), dispatch only those subagents. Same fan-out pattern, smaller set.
If the user asks about one proverb specifically ("explain #8" / "does this code violate #13?"), skip the subagent fan-out: load the single rule file directly in the main thread and answer.
| Category | Meaning |
|---|---|
actionable | Generates findings during review |
tooling | Verify the tool is wired up, don't flag code |
philosophical | Informs judgment, no findings emitted |
| # | Proverb | Category | Rule file |
|---|---|---|---|
| 1 | Don't communicate by sharing memory, share memory by communicating | actionable | proverbs/01-share-memory-by-communicating.md |
| 2 | Concurrency is not parallelism | philosophical | proverbs/02-concurrency-is-not-parallelism.md |
| 3 | Channels orchestrate; mutexes serialize | actionable | proverbs/03-channels-orchestrate-mutexes-serialize.md |
| 4 | The bigger the interface, the weaker the abstraction | actionable | proverbs/04-bigger-interface-weaker-abstraction.md |
| 5 | Make the zero value useful | actionable | proverbs/05-make-the-zero-value-useful.md |
| 6 | interface{} says nothing | actionable | proverbs/06-interface-any-says-nothing.md |
| 7 | Gofmt's style is no one's favorite, yet gofmt is everyone's favorite | tooling | proverbs/07-gofmt-is-everyones-favorite.md |
| 8 | A little copying is better than a little dependency | actionable | proverbs/08-little-copying-better-than-little-dependency.md |
| 9 | Syscall must always be guarded with build tags | actionable | proverbs/09-syscall-must-be-guarded-with-build-tags.md |
| 10 | Cgo must always be guarded with build tags | actionable | proverbs/10-cgo-must-be-guarded-with-build-tags.md |
| 11 | Cgo is not Go | philosophical | proverbs/11-cgo-is-not-go.md |
| 12 | With the unsafe package there are no guarantees | actionable | proverbs/12-unsafe-has-no-guarantees.md |
| 13 | Clear is better than clever | actionable | proverbs/13-clear-is-better-than-clever.md |
| 14 | Reflection is never clear | actionable | proverbs/14-reflection-is-never-clear.md |
| 15 | Errors are values | actionable | proverbs/15-errors-are-values.md |
| 16 | Don't just check errors, handle them gracefully | actionable | proverbs/16-handle-errors-gracefully.md |
| 17 | Design the architecture, name the components, document the details | actionable | proverbs/17-design-architecture-name-components-document-details.md |
| 18 | Documentation is for users | actionable | proverbs/18-documentation-is-for-users.md |
| 19 | Don't panic | actionable | proverbs/19-dont-panic.md |
Group findings under each violated proverb:
### Proverb #N — <short title>
- path/to/file.go:42 — <one-sentence finding>
- path/to/file.go:87 — <one-sentence finding>
See: proverbs/NN-<slug>.md
End the review with a summary line: total findings, number of distinct proverbs violated, files touched.
proverbs/01-share-memory-by-communicating.md (opens in a new tab)proverbs/02-concurrency-is-not-parallelism.md (opens in a new tab)proverbs/03-channels-orchestrate-mutexes-serialize.md (opens in a new tab)proverbs/04-bigger-interface-weaker-abstraction.md (opens in a new tab)proverbs/05-make-the-zero-value-useful.md (opens in a new tab)proverbs/06-interface-any-says-nothing.md (opens in a new tab)proverbs/07-gofmt-is-everyones-favorite.md (opens in a new tab)proverbs/08-little-copying-better-than-little-dependency.md (opens in a new tab)proverbs/09-syscall-must-be-guarded-with-build-tags.md (opens in a new tab)proverbs/10-cgo-must-be-guarded-with-build-tags.md (opens in a new tab)proverbs/11-cgo-is-not-go.md (opens in a new tab)proverbs/12-unsafe-has-no-guarantees.md (opens in a new tab)proverbs/13-clear-is-better-than-clever.md (opens in a new tab)proverbs/14-reflection-is-never-clear.md (opens in a new tab)proverbs/15-errors-are-values.md (opens in a new tab)proverbs/16-handle-errors-gracefully.md (opens in a new tab)proverbs/17-design-architecture-name-components-document-details.md (opens in a new tab)proverbs/18-documentation-is-for-users.md (opens in a new tab)proverbs/19-dont-panic.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
go-proverbs-review@andrsj-skills is listed by andrsj/andrsj-skills — review the source before installing
npx claudepluginhub andrsj/andrsj-skills --plugin go-proverbs-review