From fuse-go
Write idiomatic Go tests and measure quality — table-driven tests, subtests with t.Run, testify assertions/mocks, native fuzzing, benchmarks, the race detector, coverage, and pprof/PGO profiling. Use when writing or reviewing Go tests, adding coverage, benchmarking, or profiling a Go program. Do NOT use for CI pipeline wiring — golangci-lint, govulncheck (go-tooling-security) — or non-Go test suites.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fuse-go:go-testing-qualityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Idiomatic, 2026-current testing and quality practices for Go, built on the standard
Idiomatic, 2026-current testing and quality practices for Go, built on the standard
testing package with testify where it adds clarity.
Use when:
testify (assert / require / mock)go test -cover) or chasing race conditions (-race)Do NOT use for:
go-architecturefuse-solid:solid-gofuse-security| Goal | Load |
|---|---|
| Write the standard Go test (table-driven + subtests) | table-driven.md |
| Assertions and mocks with testify | testify-mocks.md |
| Fuzzing, benchmarks, example tests | fuzzing-benchmarks.md |
| Coverage, race detector, pprof, PGO | coverage-profiling.md |
| A complete, runnable test file to copy | templates/table-test.md |
t.Run(tc.name, …) for isolation and readable output.testify is the de-facto assertion/mock standard. assert for soft checks,
require to abort on failure, mock for hand-written mocks, suite for
setup/teardown groups. It is maintained at v1 (no breaking v2).
Source: https://pkg.go.dev/github.com/stretchr/testifyfunc FuzzXxx(f *testing.F)), and finds
edge cases table tests miss.-race in CI. The race detector catches data races that are
otherwise nondeterministic and unreproducible.go test -bench) + pprof profiles
guide real changes; PGO feeds a production profile back into the compiler.go test ./... -race -cover and inspect gaps.Overlaps with github.com/samber/cc-skills-golang (community Go skills) — this
skill owns testing and quality tooling; architecture/structure lives in
go-architecture. Cross-referenced for boundaries only, not copied.
npx claudepluginhub fusengine/agents --plugin fuse-goGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.