← ClaudeAtlas

go-code-reviewlisted

Quick-reference checklist for Go code review based on the Go Wiki CodeReviewComments. Maps to detailed skills for comprehensive guidance. Use when reviewing Go code or checking code against community style standards.
dwana1/golang-skills · ★ 0 · Code & Development · score 72
Install: claude install-skill dwana1/golang-skills
# Go Code Review Checklist > Based on [Go Wiki CodeReviewComments](https://github.com/golang/wiki/blob/master/CodeReviewComments.md). > This checklist provides quick review points with references to detailed skills. --- ## Formatting - [ ] **gofmt**: Code is formatted with `gofmt` or `goimports` → [go-linting](../go-linting/SKILL.md) --- ## Documentation - [ ] **Comment sentences**: Comments are full sentences starting with the name being described, ending with a period → [go-documentation](../go-documentation/SKILL.md) - [ ] **Doc comments**: All exported names have doc comments; non-trivial unexported declarations too → [go-documentation](../go-documentation/SKILL.md) - [ ] **Package comments**: Package comment appears adjacent to package clause with no blank line → [go-documentation](../go-documentation/SKILL.md) - [ ] **Named result parameters**: Only used when they clarify meaning (e.g., multiple same-type returns), not just to enable naked returns → [go-documentation](../go-documentation/SKILL.md) --- ## Error Handling - [ ] **Handle errors**: No discarded errors with `_`; handle, return, or (exceptionally) panic �� [go-error-handling](../go-error-handling/SKILL.md) - [ ] **Error strings**: Lowercase, no punctuation (unless starting with proper noun/acronym) → [go-error-handling](../go-error-handling/SKILL.md) - [ ] **In-band errors**: No magic values (-1, "", nil); use multiple returns with error or ok bool → [go-error-handling](../go-error-handling/SKILL.md)