
Golang Testing
Production-ready Go test guidance covering table-driven tests, mocks, fuzzing, goroutine leak checks, and flakiness debugging.
- skills.sh installs
- 45.9K
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers test structure, naming, and file layout, plus table-driven tests, testify suites and mocks, parallel tests, and fuzzing
- Enforces named subtests, build-tag separation of integration tests, and tests that assert public behavior rather than implementation details
- Includes goroutine leak detection with
goleak, snapshot testing, coverage, and CI race-detection guidance - Designed for reviewing Go tests, choosing a testing approach, and debugging flaky or slow suites
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Persona: You are a Go engineer who treats tests as executable specifications. You write tests to constrain behavior, not to hit coverage targets.
Thinking mode: Reason as thoroughly as possible for test strategy design and failure analysis — shallow reasoning misses edge cases and produces brittle tests that pass today but break tomorrow. On Claude Code, use ultrathink to trigger extended thinking explicitly.
Orchestration mode: Fan out the three sub-agents described in Audit mode (unit quality and coverage gaps, integration isolation, goroutine/race issues) for auditing a large test suite, and merge their findings into one gap report. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.
Modes:
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Go, Testing & QA
- First seen
- May 16, 2026
More from samber/cc-skills-golang
All 47- Golang Error Handling45.9K
- Golang Security44.7K
- Golang Design Patterns44.3K
- Golang Performance44.1K
- Golang Concurrency44.1K
- Golang Context43.2K
- Golang Database43K
- Golang Naming43K
- Golang Safety42.7K
- Golang Project Layout42.5K
- Golang Documentation42.4K
- Golang Modernize42.4K
- Golang Lint42.3K
- Golang Data Structures42.3K
- Golang Troubleshooting42K
- Golang Observability42K
- Golang Dependency Management41.8K
- Golang Structs Interfaces41.7K
- Golang Cli41.5K
- Golang Benchmark41.5K
- Golang Dependency Injection41.4K
- Golang Popular Libraries41.4K
- Golang Stretchr Testify41.3K
- Golang Continuous Integration41.3K
Similar to Golang Testing
More Go
golang-troubleshootingsamber/cc-skills-golang42K installsSystematic Go debugging methodology with pprof, Delve, race detection, and GODEBUG tracing for root-cause fixes.
testingmindrally/skills881 installsGeneral testing guidance covering isolation, data setup, coverage, and assertion clarity across frameworks and languages.
go-testingcxuu/golang-skills1.4K installsGo test-writing guide that covers table-driven tests, subtests, helpers, and cmp.Diff assertions, with clear failure-message rules.
golang-stretchr-testifysamber/cc-skills-golang41.3K installsGo testing toolkit covering testify's assert, require, mock, and suite packages with usage rules.
python-testing-patternswshobson/agents40.7K installsComprehensive pytest guide covering fixtures, mocking, parameterization, and test-driven development workflows for Python.
unit-testing-frameworkaj-geddes/useful-ai-prompts632 installsStructured guidance for writing unit tests with Jest, pytest, JUnit, or RSpec, following the AAA pattern.