golang-testing: a Claude Code skill by Samuel Berthe
For Go developers writing, reviewing or debugging tests, from table-driven cases to fuzzing and leak checks. Skip it if your code is not in Go or you only need testify API details.
- Score
- 72of 100
- Rank
- #156of 239
- Installs
- 45.5Kon skills.sh
- Security
- Clear 4 scanners
- Updated
- 2026
- Context
- ~129tokens always
Install
npx skills add https://github.com/samber/cc-skills-golang --skill golang-testing Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does golang-testing do?
golang-testing is a skill by samber for Go tests, with four modes: write, review, audit and debug. Write mode scaffolds table-driven tests with gotests and adds edge cases; audit mode splits a large suite across three sub-agents for coverage gaps, integration isolation and goroutine races. Its rules require named subtests, //go:build integration tags, order-independent tests, t.Parallel() where possible, and goleak for goroutine leaks. It warns against creating a testify assert in the parent test, which hides which subtest failed. It also covers testing/synctest for timers, fuzzing, benchmarks with b.Loop(), coverage profiles and one test file per source file.
When should you use golang-testing?
Use it when
- You need table-driven tests for a new Go package
- A Go test is flaky or hangs
- You want a test suite audited for gaps
Skip it when
- Your code is not in Go
- You only need testify API reference
What it needs and what it can touch
You need
- Go
- The gotests tool, installed with go install
What it can do
- Reads and edits project files
- Runs shell commands (go test, gotests, golangci-lint, git)
- May start sub-agents for audits
From reading its instructions, not from running it.
Why it scores 72
Strongest on upkeep (100 of 100), weakest on adoption (49).
Is golang-testing safe to install?
Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Sep 15, 2026 |
| Socket | Passed | Sep 15, 2026 |
| Snyk | Low risk | Sep 15, 2026 |
| ZeroLeaks | Passed | Apr 15, 2026 |
Details
- Installs
- 45,518
- Repository stars
- 3,824
- Last repository change
- Tokens always loaded
- about 129
- Tokens when used
- about 4,181
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to golang-testing
All skills for this job-
Get vitestvitest
For JavaScript and TypeScript developers writing or fixing Vitest tests and config.
-
Get tddtdd
For developers who want Claude to build features test first, one failing test at a time.
-
Get playwright-best-practicesplaywright-best-practices
For teams writing Playwright end-to-end, component or API tests who want a guide picked for each task.
-
Get argent-android-emulator-setupargent-android-emulator-setup
For mobile developers using Argent who need Claude to boot and connect to an Android emulator.