go-code-review
Installation
SKILL.md
Go Code Review
Structured code review process for Go. Reviews should be constructive, specific, and cite the relevant principle behind each finding.
Review Process
Execute these steps in order. For each finding, classify severity:
- 🔴 BLOCKER — Must fix before merge. Correctness, data loss, security.
- 🟡 WARNING — Should fix. Maintainability, idiomatic Go, clarity.
- 🟢 SUGGESTION — Consider improving. Style, naming, documentation.
1. Correctness & Safety
Error Handling
- Every error is checked. No blank identifier
_discarding errors silently. - Errors are wrapped with context:
fmt.Errorf("fetch user %d: %w", id, err). - Error values compared with
errors.Is()/errors.As(), never==. - No
panicoutside ofinit()or truly unrecoverable situations.
Related skills