Go review
Review Go changes for correctness, simplicity, API shape, error handling, context use, concurrency safety, tests, observability, security, performance, and module hygiene. Use for review-only Go tasks.From its SKILL.md
npx -y skills add nyquistwilder/personal-pi --skill go-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 392 tokens by cl100k_base, as published. Nobody here has run it
Go Review
Rule
Provide actionable, evidence-backed findings prioritized by correctness, safety, maintainability, and public contracts. Do not rewrite code unless explicitly asked.
Review Focus
Check:
- Public API, CLI, HTTP, database, and serialized contract compatibility.
- Error wrapping, classification, and caller-visible messages.
- Context propagation, timeouts, cancellation, and resource cleanup.
- Goroutine ownership, channel close rules, lock ordering, race risks, and leak risks.
- Package boundaries, exported names, interfaces, and dependency direction.
- Tests for public behavior, failure paths, race-prone code, and regressions.
slogfields, redaction, and operator usefulness.- Dependency necessity, module hygiene, licenses, and vulnerability implications.
- Performance risks such as unbounded memory, N+1 I/O, excessive allocations, or hidden quadratic behavior.
Workflow
- Inspect the diff,
go.mod, tests, and nearby code. - Run or recommend focused checks when useful:
go test ./...,go test -race ./...,go vet,staticcheck,govulncheck, andjust check. - Separate blockers from optional improvements.
- Tie every finding to a concrete file/line and explain impact.
- Suggest the smallest idiomatic fix.
Antipatterns To Flag
- Context stored in structs, ignored cancellations, or missing timeouts around I/O.
- Interfaces defined before there are multiple consumers or a test seam need.
panicfor ordinary errors, ignored errors, string-matched errors, or double logging.- Global mutable clients/config/loggers that make tests order-dependent.
- Goroutines without lifecycle ownership or tests.
- Broad dependencies for tasks stdlib handles.
Completion
Return findings by severity, include validation performed or not performed, and list areas not reviewed.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.