BigHugger
sk Skill · samber

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see…

installs 8w
5,766
30-day movement
starts with the next reading
Related entries
8
Connections
1
gobashGo

An agent skill that guides writing production-ready Go tests: table-driven tests with named subtests, testify suites and mocks, parallel tests, fuzzing, fixtures, goleak leak detection, snapshot testing, coverage, and integration tests. It bundles reference documents on benchmarks, coverage, HTTP testing, mocking, helpers, and integration testing, and points to companion skills for testify APIs and benchmark methodology.

Reach for it when you need an idiomatic, opinionated playbook for writing, reviewing, or debugging Go tests rather than piecing conventions together yourself.

Use it to

  • Write table-driven tests with named subtests
  • Set up integration tests with build tags and CI
  • Detect goroutine leaks with goleak
  • Debug flaky or slow tests
  • Review Go test code for idiomatic naming and structure

For Go developers and reviewers writing or maintaining tests

Host repository
samber/cc-skills-golang
Version
1.4.0
Installs, lifetime
41k
Installs, 8 weeks
5,766
Allowed tools
Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent Bash(gotests:*) AskUserQuestion
Compatible with
Designed for Claude Code, Codex or similar harness, and for projects using Golang.
Licence
MIT
Invocable by
user
Host stars
3,273
Host language
Go
topicsgolangtestingtestifyfuzzingcoverageci