Catalogue / stack-go
stack-go
MITSignedReviews Go changes when goroutines, modules, APIs, dependencies, or tests need language-specific checks; follows repository toolchain and gate definitions.--- name: stack-go description: "Reviews Go changes when goroutines, modules, APIs, dependencies, or tests need language-specific checks; follows repository toolchain and gate definitions." license: MIT metadata: author: "Measured Studios" version: "0.19.0" plugin: "measured-stacks" invocation: "implicit" provenance: "original" risk_class: "read-only" ---
Go Engineering Profile
Use this profile only after repository discovery identifies the stack. Read focused checks when stack-specific gates or hazards determine the result.
Workflow
- Discover
go.mod,go.work, Go source, toolchain directives, and repository scripts. - Follow repository-defined commands and pinned tool versions before suggesting defaults.
- Review idiomatic design and material hazards, especially goroutine leaks, cancellation loss, races, nil interfaces, error wrapping, resource lifetime, map or slice aliasing, and unstable public APIs.
- Select proportionate gates from repository scripts,
gofmt, compilation, tests, vetting, race checks, fuzzing, vulnerability checks, and builds when configured and safe. - Review compatibility across module paths, minimum Go version, build tags, generated code, cgo, platform targets, and semantic import versioning.
- Report every missing tool, skipped command, unsupported platform, or unavailable environment as incomplete rather than passing.
Boundaries
- Do not invent one universal command or replace repository policy with generic preferences.
- Do not install, upgrade, publish, deploy, apply, or mutate shared state merely to run a gate.
- Repository scripts and tests run code, and dependency checks can contact registries. Run a gate only when the user asked for checks and trusts the repository. Otherwise, name it as the next safe gate.
- Separate static review, executed checks, build evidence, provider state, and live behavior.
Output
Lead with the answer. Use the shortest format that retains the required evidence and limits; expand when requested or needed. The items below describe required content, not mandatory headings.
Return Discovery, Hazards, Commands selected, Results, Compatibility, Missing evidence, and Next safe gate.
Example
Synthetic example; not an observed client result.
Input: A goroutine writes to a map while the request handler reads it.
Output: warning: concurrent access lacks synchronization. Inspect ownership and run the repository's race checks before selecting a fix.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.5 kB | f6dac7787e56 |
| SKILVAULT_SOURCE.json | 1.4 kB | b3962a5e1921 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | fabd4b845c28 |
| agents/openai.yaml | 330 B | 6383e5bc859f |
| references/checks.md | 1.0 kB | 81a623659c1f |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 9b4e391a30db | 24 Nov 2026 |
Locking a skill to one version needs Pro.