/fuse-go:go-tooling-securityfrom fuse-go
Configures Go modules/workspaces, golangci-lint v2, govulncheck vulnerability scanning, go fix modernizers, and CI quality gates for Go projects.
Ships in fuse-go. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before ANY tooling/security change, spawn 3 agents in parallel, one Agent call each with a name:
.golangci.yml, CI filesgo fix modernizer setAfter changes, run fuse-ai-pilot:sniper for validation.
| Area | Description |
|---|---|
| Modules & Workspaces | go.mod directives, go.work for multi-module dev without replace |
| golangci-lint v2 | Config version "2", formatters section, golangci-lint migrate |
| govulncheck | Reachability-based scan of the call graph against vuln.go.dev |
| go fix modernizers | Suite of fixers (rebuilt in 1.26, extended in 1.27), //go:fix inline for API migrations |
| CI quality gate | fmt → vet → golangci-lint → govulncheck → test -race |
go/tool flag against official docs firstversion: "2" - v1 configs are rejected; migrate, don't hand-editgo.work is usually not committed - Commit only when modules are developed exclusively togetherrepo/
├── go.work # optional: multi-module workspace
├── go.work.sum
├── module-a/
│ ├── go.mod # module, go, require, toolchain
│ └── go.sum
├── module-b/
│ └── go.mod
├── .golangci.yml # version: "2"
└── .github/workflows/ci.yml
→ See ci-workflow.md for the complete gate
| Topic | Reference | When to Consult |
|---|---|---|
| Modules & Workspaces | modules-workspaces.md | Editing go.mod/go.work, multi-module repos |
| golangci-lint v2 | golangci-lint-v2.md | Config, v1→v2 migration, formatters |
| govulncheck | govulncheck.md | Dependency vulnerability scanning |
| go fix modernizers | go-fix-modernizers.md | Modernizing code, //go:fix inline, PGO |
| Template | When to Use |
|---|---|
| golangci-v2-config.md | Dropping in a recommended .golangci.yml |
| ci-workflow.md | Wiring the full CI quality gate |
go work init ./module-a ./module-b # create go.work
go work use ./module-c # add a module
go work sync # sync build list to modules
→ See modules-workspaces.md
golangci-lint migrate # v1 config → v2 (backs up original)
golangci-lint run ./...
→ See golangci-v2-config.md
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./... # source mode, call-graph reachability
→ See govulncheck.md
go fix ./... # apply the modernizer suite (1.27 set)
→ See go-fix-modernizers.md
toolchain directive for reproducible buildsgovulncheck ./... and treat reachable findings as failuresgo.work for local cross-module work instead of scattering replace directivesformatters (gofmt/goimports) separate from linters in the v2 configgolangci-lint migratego.work in repos whose modules are also developed with external modulesgo vet/gofmt changed in 1.26 — the 1.26 change is go fix, not thosego test runs the stdversion vet check by default (reports stdlib symbols newer than the file's go version)references/go-fix-modernizers.md (opens in a new tab)references/golangci-lint-v2.md (opens in a new tab)references/govulncheck.md (opens in a new tab)references/modules-workspaces.md (opens in a new tab)references/templates/ci-workflow.md (opens in a new tab)references/templates/golangci-v2-config.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/go-architectureUse when laying out a new Go service, choosing an HTTP router or DB layer, or wiring dependencies. Not for concurrency (go-concurrency) or language idioms (go-core-idioms)./go-concurrencyUse when writing or reviewing Go concurrency — goroutines, channels, errgroup, context cancellation, or goroutine leaks. Not for sequential idioms (go-core-idioms)./go-core-idiomsUse when writing or reviewing idiomatic sequential Go — error handling, slog logging, generics, interfaces, style. Not for concurrency (go-concurrency)./go-testing-qualityUse when writing or reviewing Go tests, adding coverage, benchmarking, or profiling a Go program. Not for CI/lint wiring (go-tooling-security) or non-Go tests.npx claudepluginhub fusengine/claude-plugins --plugin fuse-goOther plugins' skills for the same job