Loading...
Loading...
Comprehensive code review checklist for Go projects. Evaluates code quality, idiomatic patterns, error handling, naming, package structure, and test coverage. Use when reviewing Go code, PRs, or before merging changes. Trigger examples: "review this code", "check this PR", "code review", "review Go file". Do NOT use for security-specific audits (use go-security-audit) or performance-specific analysis (use go-performance-review).
npx skill4agent add eduardo-sl/go-agent-skills go-code-review_fmt.Errorf("fetch user %d: %w", id, err)errors.Is()errors.As()==panicinit()sync.Mutexcontext.Contextsync.WaitGrouperrgroup.GroupWithTimeout(d)func Foo(ctx context.Context, ...)errorbool:=varelsedeferrangeinternal/cmd/TestXxxt.Helper()init()TestMaintestify/asserttestify/requiret.Parallel()doc.gogo.mod## Code Review Summary
**Files reviewed:** <list>
**Overall assessment:** APPROVE | REQUEST CHANGES | COMMENT
### Findings
#### 🔴 BLOCKER: <title>
- **File:** `path/to/file.go:42`
- **Issue:** <what is wrong>
- **Why:** <which principle or guideline>
- **Fix:** <concrete suggestion>
#### 🟡 WARNING: <title>
...
#### 🟢 SUGGESTION: <title>
...
### What's Done Well
<genuine positive observations — always include at least one>