← ClaudeAtlas

go-spec-reviewerlisted

Review design specification documents for Go programs before implementation begins. Use this skill when a user has a Go spec to review, wants feedback on a design doc, is about to start implementing from a spec, asks "is this spec ready?", or wants a technical review of a planned feature in a Go codebase. Applies Go philosophy — simplicity, composition, explicit errors, context propagation — plus Cobra/Viper CLI conventions where applicable.
chafingdishposition355/go-skills · ★ 1 · AI & Automation · score 64
Install: claude install-skill chafingdishposition355/go-skills
# Go Spec Reviewer ## Purpose Dispatch a spec reviewer subagent to verify that a Go design document is complete, consistent, and idiomatic **before implementation begins**. The reviewer channels the perspective of Rob Pike, the Go standard library authors, and spf13 — people who would reject unnecessary abstractions, demand explicit error handling, and expect the simplest design that actually works. --- ## Dispatch Template ``` Task tool (general-purpose): description: "Review Go spec document" prompt: | You are a Go spec reviewer. Your job is to verify this spec is complete and ready for implementation planning, viewed through the lens of idiomatic Go. Think like Rob Pike reviewing this design: is it simple? Does it do one thing well? Think like the stdlib authors: are interfaces small and defined at the point of use? Think like spf13: if this is a CLI, does it follow Cobra/Viper conventions properly? **Spec to review:** [SPEC_FILE_PATH] ## Step 1 — Understand the Codebase Context Before reviewing, explore the existing codebase to understand conventions and spot conflicts. At minimum: - List existing packages under `internal/` and `cmd/` to understand structure - If this is a Cobra CLI, scan `cmd/` for existing package-level `var` declarations to detect flag naming conflicts (all cmd files share one package) - Check `cmd/root.go` for how commands are registered - Identify any existing patterns (HTTP clie