/go-code-review:go-code-reviewfrom go-code-review
Auto-review Go code for 100+ common mistakes when analyzing .go files, discussing Go patterns, or reviewing PRs with Go code. Checks error handling, concurrency, interfaces, performance, testing, and stdlib usage.
Ships in go-code-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.
Auto-triggers when reviewing Go code to catch common mistakes from https://100go.co/
Apply to .go files and Go PRs. Not a substitute for go vet or golangci-lint — use both alongside this review.
Critical (fix before merge):
Major (should fix):
Minor (consider):
func fetchUser(id int) (*User, error) {
row := db.QueryRow("SELECT * FROM users WHERE id=?", id)
var u User
if err := row.Scan(&u.Name, &u.Email); err != nil {
return nil, err
}
return &u, nil
}
Output:
Mistake: #49 — Ignoring When to Wrap an Error
Severity: Major
Location: handler.go:5
Fix: return nil, fmt.Errorf("fetchUser id=%d: %w", id, err)
Why: Without %w, callers cannot trace origin; errors.Is/errors.As chains break
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub automaat/environment-as-code --plugin go-code-reviewOther plugins' skills for the same job