From go-agent-skills
Reviews Go code for quality, idiomatic patterns, error handling, naming, package structure, and test coverage. Use for PRs, code reviews, and pre-merge checks.
npx claudepluginhub eduardo-sl/go-agent-skills --plugin go-agent-skillsThis skill uses the workspace's default tool permissions.
Structured code review process for Go. Reviews should be constructive, specific,
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Structured code review process for Go. Reviews should be constructive, specific, and cite the relevant principle behind each finding.
Execute these steps in order. For each finding, classify severity:
_ discarding errors silently.fmt.Errorf("fetch user %d: %w", id, err).errors.Is() / errors.As(), never ==.panic outside of init() or truly unrecoverable situations.sync.Mutex or channels.context.Context.sync.WaitGroup or errgroup.Group used for goroutine lifecycle.WithTimeout(d)) over config structs for optional params.func Foo(ctx context.Context, ...).error as the last return value.bool parameters โ prefer named types or options.:= for local variables, var for zero-value intent.else after return/continue/break.defer used for cleanup, placed right after resource acquisition.range used over manual index iteration where appropriate.internal/ used for non-public packages.cmd/ contains main packages, one per binary.TestXxx naming convention.t.Helper() for clean stack traces.init() โ use TestMain when needed.testify/assert or testify/require consistently, or stdlib only.t.Parallel() used where safe.doc.go for non-trivial packages.go.mod has no replace directives in committed code (except monorepos).## 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>