verify / go
Verifying Go changes
Files: .go.
Run the checks under every change, add the checks for what your diff touches, then
apply the review prompts for what the tools miss. Usage is measured across
30 scanned repositories that write Go; prompts come from
343 review discussions.
Run on every change
the tool most Go repositories run for each check
-
Formatting Layout drift that buries the real change in the diff.
gofmt20% · 6 of 30 repos autofixgofumpt -w .exit codes, docs, alternatives, where it runs
- Commands seen
go fmt ./...gofmt -s -l -w $(SRCS)gofmt -s -w . - Runs inpre-commit, local
- Seen infatedier/frp, grafana/grafana, traefik/traefik, docker/compose, maximhq/bifrost, snyk/cli
- Docshttps://github.com/golang/go
- Commands seen
-
Linting Bug-prone patterns, unused code and conventions the formatter does not cover.
golangci-lint73% · 22 of 30 reposgolangci-lint runexit codes, docs, alternatives, where it runs
- Commands seen
golangci-lint rungolangci-lint --versiongolangci-lint run --fix --verbose - Runs inpre-commit, ci, local
- Alternatives
go-vet17%,staticcheck3% - Seen inollama/ollama, kubernetes/kubernetes, fatedier/frp, gin-gonic/gin, grafana/grafana, prometheus/prometheus
- Docshttps://github.com/golangci/golangci-lint
- Commands seen
-
Type checking Wrong types, unhandled null or None, call signatures broken across modules.
The compiler type-checks on every build and test run; a failing build is this check failing.
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
Review prompts for every change 54 in total
Add when the change touches
open the ones that describe your diff
Authentication, input handling, secrets, permissions
-
Security scanning Injection, unsafe APIs and tainted data reaching a sink.
codeql23% · 7 of 30 reposruns via GitHub Action github/codeql-action/analyze
exit codes, docs, alternatives, where it runs
-
Secret scanning Credentials and tokens committed to the repository.
gitleaks7% · 2 of 30 reposruns via pre-commit hook gitleaks
exit codes, docs, alternatives, where it runs
- Runs inpre-commit
- Seen inmaximhq/bifrost, snyk/cli
- Docshttps://github.com/gitleaks/gitleaks
-
Dependency audit Known-vulnerable or disallowed dependencies and licenses.
govulncheck10% · 3 of 30 reposgovulncheck ./...exit codes, docs, alternatives, where it runs
- Commands seen
govulncheck -format json ./cmd/tofugovulncheck ./...uses golang/govulncheck-action - Runs inci
- Alternatives
dependency-review3% - Seen inprometheus/prometheus, gofiber/fiber, opentofu/opentofu
- Docshttps://github.com/golang/vuln
- Commands seen
Public APIs, signatures, error paths, nullability
-
Type checking Wrong types, unhandled null or None, call signatures broken across modules.
The compiler type-checks on every build and test run; a failing build is this check failing.
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
-
Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
71 more in API, Error Handling, Null Handling — the playbook lists the top 12.
Service and framework code
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
-
Version and platform matrix Breakage on a runtime version, OS or feature combination you did not run locally.
ci-matrix43% · 13 of 30 reposanalyze (language: 2)exit codes, docs, alternatives, where it runs
- Commands seen
analyze (language: 2)analyze (language: 1)analyze (language: 3) - Runs inci
- Seen inollama/ollama, gin-gonic/gin, grafana/grafana, prometheus/prometheus, traefik/traefik, evanw/esbuild
- Docshttps://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations
- Commands seen
Algorithms, parsers, data transforms
-
Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Mutation testing Tests that keep passing whatever the code does.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Proofs and specifications Design-level bugs in protocols and algorithms, checked against a specification.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
18 more in Algorithms — the playbook lists the top 12.
Threads, async code, locks, shared state
-
Concurrency model checking Races and orderings that fail only under specific interleavings.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Undefined-behaviour detection Memory-safety and aliasing violations in unsafe code.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
15 more in Concurrency — the playbook lists the top 12.
Network calls, retries, timeouts, protocols
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
-
Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
10 more in Networking, Axios — the playbook lists the top 12.
UI components and pages
-
End-to-end browser tests User flows broken across components, routing and the network.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Linting Bug-prone patterns, unused code and conventions the formatter does not cover.
golangci-lint73% · 22 of 30 reposgolangci-lint runexit codes, docs, alternatives, where it runs
- Commands seen
golangci-lint rungolangci-lint --versiongolangci-lint run --fix --verbose - Runs inpre-commit, ci, local
- Alternatives
go-vet17%,staticcheck3% - Seen inollama/ollama, kubernetes/kubernetes, fatedier/frp, gin-gonic/gin, grafana/grafana, prometheus/prometheus
- Docshttps://github.com/golangci/golangci-lint
- Commands seen
Databases, migrations, caching
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
-
Version and platform matrix Breakage on a runtime version, OS or feature combination you did not run locally.
ci-matrix43% · 13 of 30 reposanalyze (language: 2)exit codes, docs, alternatives, where it runs
- Commands seen
analyze (language: 2)analyze (language: 1)analyze (language: 3) - Runs inci
- Seen inollama/ollama, gin-gonic/gin, grafana/grafana, prometheus/prometheus, traefik/traefik, evanw/esbuild
- Docshttps://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations
- Commands seen
7 more in Database, Migrations, Caching — the playbook lists the top 12.
Hot paths and performance
No tool-based check applies. The review prompts below are the verification.
12 more in Performance Optimization — the playbook lists the top 12.
Model, prompt and LLM code
-
Unit and integration tests Behaviour regressions on the paths the tests exercise.
go-test63% · 19 of 30 reposgo test ./...exit codes, docs, alternatives, where it runs
- Commands seen
go test ./...go test -v ./internal/command/e2etestgo test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/... - Runs inpre-commit, ci, local
- Seen inavelino/awesome-go, ollama/ollama, fatedier/frp, grafana/grafana, prometheus/prometheus, traefik/traefik
- Docshttps://github.com/golang/go
- Commands seen
Logging, metrics, tracing
No tool-based check applies. The review prompts below are the verification.
23 more in Logging, Observability — the playbook lists the top 12.
CI workflows and configuration files
-
CI workflow linting Broken GitHub Actions syntax, script injection, over-broad token permissions.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
File hygiene Invalid JSON, YAML or TOML, merge markers, trailing whitespace, oversized files.
pre-commit-hooks3% · 1 of 30 repos autofixruns via pre-commit hook trailing-whitespace
exit codes, docs, alternatives, where it runs
- Commands seen
pre-commit hook end-of-file-fixerpre-commit hook trailing-whitespace - Runs inpre-commit
- Seen inmaximhq/bifrost
- Docshttps://github.com/pre-commit/pre-commit-hooks
- Commands seen
24 more in CI/CD, Configurations — the playbook lists the top 12.
Dependencies and lockfiles
-
Dependency audit Known-vulnerable or disallowed dependencies and licenses.
govulncheck10% · 3 of 30 reposgovulncheck ./...exit codes, docs, alternatives, where it runs
- Commands seen
govulncheck -format json ./cmd/tofugovulncheck ./...uses golang/govulncheck-action - Runs inci
- Alternatives
dependency-review3% - Seen inprometheus/prometheus, gofiber/fiber, opentofu/opentofu
- Docshttps://github.com/golang/vuln
- Commands seen
-
Lockfile consistency A lockfile that no longer matches its manifest.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Version and platform matrix Breakage on a runtime version, OS or feature combination you did not run locally.
ci-matrix43% · 13 of 30 reposanalyze (language: 2)exit codes, docs, alternatives, where it runs
- Commands seen
analyze (language: 2)analyze (language: 1)analyze (language: 3) - Runs inci
- Seen inollama/ollama, gin-gonic/gin, grafana/grafana, prometheus/prometheus, traefik/traefik, evanw/esbuild
- Docshttps://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations
- Commands seen
The tests themselves
-
Mutation testing Tests that keep passing whatever the code does.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Version and platform matrix Breakage on a runtime version, OS or feature combination you did not run locally.
ci-matrix43% · 13 of 30 reposanalyze (language: 2)exit codes, docs, alternatives, where it runs
- Commands seen
analyze (language: 2)analyze (language: 1)analyze (language: 3) - Runs inci
- Seen inollama/ollama, gin-gonic/gin, grafana/grafana, prometheus/prometheus, traefik/traefik, evanw/esbuild
- Docshttps://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations
- Commands seen
Documentation and comments
-
Docs build Broken cross-references, links and markup in documentation.
No scanned repository in this language runs a tool for this. Lean on the review prompts.
-
Spelling Typos in identifiers, comments and docs.
codespell10% · 3 of 30 reposruns via GitHub Action codespell-project/actions-codespell
exit codes, docs, alternatives, where it runs
- Runs inci
- Seen inkubernetes/kubernetes, gofiber/fiber, bytedance/sonic
- Docshttps://github.com/codespell-project/codespell
12 more in Documentation — the playbook lists the top 12.
Where this comes from
30 scanned repositories with at least a fifth of their prompts in Go
avelino/awesome-go1 · ollama/ollama6 · golang/go2 · kubernetes/kubernetes2 · fatedier/frp7 · gin-gonic/gin3 · grafana/grafana11 · prometheus/prometheus10 · traefik/traefik10 · wagoodman/dive1 · hashicorp/terraform2 · evanw/esbuild5 · gofiber/fiber6 · istio/istio1 · docker/compose2 · influxdata/influxdb5 · sst/opencode9 · opentofu/opentofu5 · SigNoz/signoz11 · argoproj/argo-cd11 · vitessio/vitess6 · gravitational/teleport11 · wavetermdev/waveterm7 · kubeflow/kubeflow0 · temporalio/temporal3 · bytedance/sonic3 · maximhq/bifrost12 · snyk/cli8 · volcano-sh/volcano3 · looplj/axonhub7