Go explain
AI plugin for coding standards for Go
npx -y skills add Cadasto/go-coding-plugin --skill go-explainAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
One-shot lookup/explanation of a single Go idiom, standard, or tool. This skill should be used when the user runs `/go-explain <topic>` or asks to "explain", "look up", or "what's the modern way to do" a specific Go construct (e.g. error wrapping, `synctest`, `wg.Go`, `min`/`max`, `internal/` layout) — returning the modern form, the enforcing linter, and a cited source. For applying a standard while writing or reviewing code, use the focused go-* skill (`go-errors`, `go-concurrency`, …). Not for non-Go languages.
SKILL.md
1.7 KB, as published. Nobody here has run it
go-explain — one-shot Go lookup
Explain the Go idiom, standard, or tool named in $ARGUMENTS — concisely, in one interaction.
Cover, in a few lines:
- The modern form — what idiomatic Go does today, with the Go version it landed in.
- Over what — the older pattern it replaces, if any.
- Enforcement — the tool that flags or fixes it (
gofmt/gofumpt,go vet, agolangci-lintlinter such asmodernize/errorlint, orgo test -race), with the exact command to run. - Source — cite one authoritative reference: Effective Go, Go Code Review Comments, the Google
or Uber Go style guide, a
go.dev/blogpost, orpkg.go.dev.
Tailor to the repo's Go version when a go.mod is present — don't recommend a Go 1.26 idiom (e.g.
new(expr)) for a module pinned to 1.25 or older. For a fuller treatment, route to the matching
skill: go-errors, go-concurrency,
go-testing, go-idioms, go-linting, or go-layout.
Keep it tight — this is a lookup, not a lecture. If $ARGUMENTS is empty, ask what to explain.