Skip to content

facta-dev/beautiful-go

v0.1.0MIT

Write, review, port, and enforce idiomatic Go: three skills distilled from Effective Go, the Go Code Review Comments wiki, the Google Go Style Guide, Go Concurrency Patterns, and the facta backend-go handbook, plus a drop-in golangci-lint v2 config with the depguard architecture law.

go-review

Review existing Go code for idiom, API design, error handling, concurrency, and hexagonal architecture, and produce a prioritized report where every finding cites the rule it breaks, its file:line location, and the smallest concrete fix. Use whenever the user asks to review, audit, critique, grade, check, or explain what is wrong with Go code - a .go file, a package, a module (go.mod), a diff, a pull request, or golangci-lint, go vet, or gofmt output - including pgx, sqlc, goose, chi, river, wire, redis, slog, net/http ServeMux, context, goroutines, channels, and table-driven tests, even when the user does not say "best practices". Pairs with the go-best-practices skill, which covers writing new Go code.

Read SKILL.md at the source

Pinned to revision 37fdf40bf942, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.