Reviewing Go services
Run the bundled tool first. It only parses source, so it needs Go installed but never builds or runs the project.
go run "${CLAUDE_PLUGIN_ROOT}/scripts/gosturdy.go" PATHAdd --format markdown for a table. Exit code 1 means high severity findings, or files it couldn't parse.
Check each finding before reporting it
The tool sees code shape, without types. So for each finding, read the code:
- A wrapper, middleware or framework may already handle it.
GS101next to a graceful server may be a debug or metrics port. Check that it isn't public.GS201andGS202matter less if every request has a context deadline. Confirm that rather than assuming.- Say which findings you confirmed, and which you dismissed and why.
Report
- List confirmed risks, worst first, with
file:lineand what happens in production. - Show the smallest fix for each one, matching the project's style.
- Say what this doesn't cover: runtime behavior, Kubernetes settings such as probes and
terminationGracePeriodSeconds, retries, observability and load. Don't call a service production ready because the tool found nothing.
Don't
Don't change code unless the user asks. Timeouts need values that fit the service, so propose them and explain the choice. Add //gosturdy:ignore RULE reason only when the user agrees the risk is accepted.