Go Review Lenses
@atalanta/go-review-lensesv2026.07.11.1
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
01README
Three adversarial Go code-review prompts ("lenses") for an independent reviewer in a @swamp/software-factory run. The Go analogue of @atalanta/ts-review-lenses — same three-pass structure, same swamp/findings contract, same IDIOM-/CORR-/ARCH- id prefixes, written for Go specifically rather than adapted from the TypeScript prose.
- Lens A (idiom) — idiomatic, with-the-grain Go: small interfaces defined at the point of use, errors as values, functional options, enums via iota, no transliteration from another language.
- Lens B (correctness vs reality) — boundary validation, the nil-interface trap, goroutine/slice-aliasing correctness, determinism, resource cleanup, grounded tests.
- Lens C (architecture) — package boundaries, the purity seam, dependency direction, change confinement, no speculative generality. Cites Ben Johnson's "Standard Package Layout" and Peter Bourgon's "Go best practices, six years in" directly.
Run as three separate passes (IDIOM-/CORR-/ARCH- finding id prefixes keep them distinct). The lens files are transport-neutral review prose; the swamp + findings-JSON contract is appended at run time.
Use
swamp extension pull @atalanta/go-review-lenses
# then invoke the bundled `go-review-lenses` skill02Skills
go-review-lenses6 files
03Stats
A
100 / 100
Downloads
0
Archive size
31.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms
05Labels