What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

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).

  • Adoption35 points 49
  • Upkeep20 points 100
  • Trust20 points 65
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

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.

ScannerResultDate
Gen Agent Trust HubPassedSep 15, 2026
SocketPassedSep 15, 2026
SnykLow riskSep 15, 2026
ZeroLeaksPassedApr 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

Alternatives to golang-testing

All skills for this job