Agent skill

Testing Go

by ericrisco in ericrisco/rsc-harness

A skill your agent uses when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden…

MITAuto-check passedSecurity

Install Testing Go

skills CLI
$ npx skills add ericrisco/rsc-harness --skill testing-go -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ericrisco/rsc-harness testing-go --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/testing-go .claude/skills/testing-go && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
testing-go
GitHub stars
167
Token cost
~3.7k tokens
SKILL.md length
1,566 words
Files
7 (incl. scripts, references)
Skills in repo
227
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden…

  • Works in 3 steps: The standard testing package. It is… → testify/require (and assert) only where… → Hand-written fakes over any mock…
  • Running Go tests — table-driven cases
  • SKILL.md covers What am I testing? Pick the tool, Table-driven tests, Parallel & isolation and Fakes over mocks, plus 7 more sections
  • Runs Shell scripts from its folder; calls go and git

What it does

Testing Go is an agent skill from ericrisco/rsc-harness. Use when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden files, and testing concurrent goroutines deterministically. NOT general Go code or modules (that is go), NOT pytest fixtures (that is testing-py), NOT browser user flows (that is e2e-testing).

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/coverage-and-benchmarks.md`).

It sits in Security, covering Async programming, UX design and End-to-end testing. It works with pytest. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.

When your agent uses it

  • Running Go tests — table-driven cases
  • Parallel isolation
  • Fakes instead of mock frameworks
  • Coverage profiles

Example prompts

  • “/testing-go”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. The standard testing package. It is enough for ~90% of tests.
  2. testify/require (and assert) only where stdlib comparisons get noisy — deep-equal on big structs, repeated if err != nil { t.Fatal }. Not…
  3. Hand-written fakes over any mock generator. A 12-line fake beats gomock for code you own.

What it can do on your machine

Read from SKILL.md and the folder at commit e3d5b33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • go
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Testing Go loads about 3.7k tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 1,566 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ericrisco/rsc-harness at commit e3d5b33, republished under its MIT licence (© ericrisco). 1,566 words, ~3,696 tokens.

Download SKILL.mdSave it as .claude/skills/testing-go/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
testing-go
description
Use when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden files, and testing concurrent goroutines deterministically. NOT general Go code or modules (that is `go`), NOT pytest fixtures (that is `testing-py`), NOT browser user flows (that is `e2e-testing`).
tags
go, testing, table-driven-tests, benchmarks, coverage, synctest, mocks, fuzzing
recommends
go, secure-coding, testing-py, e2e-testing
origin
risco

Testing Go

You test behavior at the package boundary, not private internals. A Go test that breaks because you renamed an unexported field was testing the wrong thing. Target Go 1.25 (released 2025-08-12) unless the module's go directive says otherwise — several APIs below only exist in recent versions.

Default stack, in order of reach:

  1. The standard testing package. It is enough for ~90% of tests.
  2. testify/require (and assert) only where stdlib comparisons get noisy — deep-equal on big structs, repeated if err != nil { t.Fatal }. Not as a reflex.
  3. Hand-written fakes over any mock generator. A 12-line fake beats gomock for code you own.

Run go test ./... early and often. Add -race for anything that touches a goroutine. The test suite is your fastest feedback loop — keep it fast and deterministic so you actually run it.

What am I testing? Pick the tool

SituationReach for
Pure logic, many input/output casesTable-driven test + t.Run subtests
An HTTP client or http.Handlernet/http/httptest (server or recorder)
Goroutines, timers, timeouts, context deadlinestesting/synctest + -race
"Is it fast / did my change regress?"testing.B.Loop + benchstat
"Does it crash or misbehave on weird input?"func FuzzXxx(f *testing.F)
A dependency you own (DB, payment client, clock)A hand-written interface fake

If you find yourself reaching past the standard library for the first row, stop — table-driven tests need nothing else.

Table-driven tests

The canonical shape: a slice of anonymous structs with a name, run as named subtests.

go
func TestReverse(t *testing.T) {
	tests := []struct {
		name string
		in   string
		want string
	}{
		{name: "empty", in: "", want: ""},
		{name: "ascii", in: "abc", want: "cba"},
		{name: "unicode", in: "héllo", want: "olléh"},
	}
	for _, tc := range tests {
		t.Run(tc.name, func(t *testing.T) {
			got := Reverse(tc.in)
			if got != tc.want {
				t.Errorf("Reverse(%q) = %q, want %q", tc.in, got, tc.want)
			}
		})
	}
}
  • Name every case. t.Run(tc.name, ...) gives you go test -run TestReverse/unicode to target one case, and a readable failure path instead of "index 2".
  • Use t.Errorf, not t.Fatalf, inside the loop unless the rest of the case is meaningless after the failure. Fatalf stops the whole subtest; Errorf lets the other cases still run.
  • One table per behavior, not per function. If two functions share inputs and expectations, one table. If a case needs three extra fields only it uses, that case wants its own test.

Bad — copy-pasted near-identical functions:

go
func TestAddOne(t *testing.T)  { if Add(1) != 2 { t.Fail() } }
func TestAddTwo(t *testing.T)  { if Add(2) != 3 { t.Fail() } }
func TestAddZero(t *testing.T) { if Add(0) != 1 { t.Fail() } }

Good — one table, each case named, failures localized (see the TestReverse shape above).

Parallel & isolation

go
for _, tc := range tests {
	t.Run(tc.name, func(t *testing.T) {
		t.Parallel() // this subtest runs concurrently with its siblings
		got := Process(tc.in)
		if got != tc.want {
			t.Errorf("Process(%q) = %v, want %v", tc.in, got, tc.want)
		}
	})
}
  • Do not write tc := tc before t.Run. Go 1.22+ gives each loop iteration its own variable scope, so the historical copy is dead ceremony. Only modules whose go.mod declares go 1.21 or older still need it — and you should bump the directive instead.
  • t.Cleanup(fn) over defer for teardown that must run even when a helper calls t.Fatal. Cleanups run LIFO after the test, and they nest correctly through helpers where a defer in main would not.
  • t.Helper() as the first line of any assertion helper, so failures point at the caller's line, not inside the helper.
  • t.TempDir() for filesystem tests — auto-removed, unique per test, parallel-safe. Never hardcode /tmp/mytest.
  • t.Context() (Go 1.24+) gives a context cancelled when the test and its cleanups finish — pass it to anything taking a context.Context instead of context.Background().
  • t.Setenv and T.Chdir forbid t.Parallel(). They mutate process-global state; the test panics if you call them in a parallel test. Keep env/cwd-mutating tests serial.

Fakes over mocks

Define the interface where you consume it (the test's package), keep it tiny, and hand-roll a fake with func fields you set per test.

go
// Charger is what the service needs — declared at the consumer, not the vendor.
type Charger interface {
	Charge(ctx context.Context, cents int64) (string, error)
}

type fakeCharger struct {
	charge func(ctx context.Context, cents int64) (string, error)
}

func (f fakeCharger) Charge(ctx context.Context, cents int64) (string, error) {
	return f.charge(ctx, cents)
}

func TestCheckout_chargesOnce(t *testing.T) {
	var calls int
	f := fakeCharger{charge: func(_ context.Context, c int64) (string, error) {
		calls++
		return "txn_123", nil
	}}
	if err := Checkout(t.Context(), f, 999); err != nil {
		t.Fatalf("Checkout: %v", err)
	}
	if calls != 1 {
		t.Errorf("Charge called %d times, want 1", calls)
	}
}

This is faster to read than a generated mock and never couples your test to call order. Reach for go.uber.org/mock (gomock) or testify/mock only when a team already mandates them or the interface is large and call-sequence assertions are the point — templates and the decision in references/mocks-and-fakes.md. For HTTP dependencies use net/http/httptest (server, recorder, or a fake RoundTripper) instead of a fake — same reference.

Concurrency & time (synctest)

testing/synctest graduated to GA in Go 1.25. It runs your code in an isolated "bubble" with a fake clock that jumps forward instantly the moment every goroutine in the bubble is durably blocked — so a test of a 30-second timeout finishes in microseconds, deterministically.

go
func TestTimeout(t *testing.T) {
	synctest.Test(t, func(t *testing.T) {
		ctx, cancel := context.WithTimeout(t.Context(), 5*time.Second)
		defer cancel()

		done := make(chan error, 1)
		go func() { done <- slowOperation(ctx) }()

		synctest.Wait() // wait until the goroutine is durably blocked
		select {
		case err := <-done:
			if !errors.Is(err, context.DeadlineExceeded) {
				t.Errorf("got %v, want DeadlineExceeded", err)
			}
		case <-time.After(time.Minute): // fake time — never really waits
			t.Fatal("operation did not time out")
		}
	})
}
  • Always run concurrent code with -race (go test -race ./...). The race detector finds data races that pass silently otherwise.
  • synctest.Wait() blocks the bubble until all other bubble goroutines are durably blocked, letting you assert at a known point.
  • Use synctest.Test(t, ...), not the old synctest.Run — Run is deprecated as of Go 1.26.
  • Never use time.Sleep to "let the goroutine finish." That is the flaky-test factory. Full bubble semantics, durable-block definition, and goroutine-leak detection live in references/synctest-and-concurrency.md.

Coverage

bash
go test -cover ./...                                   # quick per-package %
go test -coverprofile=cover.out ./...                  # write a profile
go tool cover -html=cover.out                          # open annotated source
go test -coverpkg=./... -coverprofile=cover.out ./...  # cross-package coverage
go build -cover -o ./bin/app .                         # coverage for integration binaries (1.20+)

A coverage percentage is a smoke alarm, not a goal. 100% line coverage with no assertions on the values is worthless; 70% on the branches that actually carry logic is fine. Use -coverpkg=./... when your tests live in a separate package and exercise code across the module, or the number undercounts. Profiles, integration-binary coverage, and reading the HTML report are in references/coverage-and-benchmarks.md.

Show full SKILL.md (790 more words)Show less

Mutation: does the suite actually notice?

Coverage tells you which code ran; it cannot tell you whether any test would have noticed if that code were wrong. A table-driven test whose cases all assert err == nil and nothing else raises coverage without detecting anything. Mutation testing plants bugs on purpose — flip a < to <=, drop an early return, replace a returned value with the zero value — and a mutant the suite still passes is a test that asserts nothing.

This is not fuzzing. Fuzzing hunts inputs your code mishandles; mutation hunts tests that would not catch a bug you already know about. They find different things and neither substitutes for the other.

Go has no mature mutation tool — go-mutesting and gremlins exist but neither is a dependable default — so this is the manual procedure, and that makes the discipline stricter here, not looser:

  1. Pick the changed logic. Script the run and commit the script (e.g. tools/mutants.go or a shell driver); do not hand-edit N times, because you will need to rerun it and a restore mistake is silent.
  2. One mutant at a time: flip a comparison, off-by-one a bound or slice index, delete one branch, swap &&/||, return the zero value. go test ./... must fail for every one.
  3. Restore, confirm with git diff that nothing else moved, and rerun the suite green.
  4. Report as N/N killed, naming the mutants.

The runner must prove it executed each mutant. A hand-rolled driver that can report a kill it never ran only ever inflates the score — so that defect can never surface as a red run, and no failing test will ever tell you about it. Assert the mutated file changed on disk (compare hashes before and after) and that the test command actually exited non-zero for the reason you expect, rather than trusting the loop.

A survivor is not automatically a failure. Some mutants are semantically equivalent and cannot be killed; classify those with the reason instead of writing a test that asserts non-behaviour. Scale the whole layer to risk (P7): reach for it where a bug is expensive — money, auth, data loss, concurrency, a public API — not on every change.

Benchmarks

Use for b.Loop() (Go 1.24+), not the legacy for i := 0; i < b.N; i++. b.Loop manages the timer itself (setup before the loop and teardown after are excluded automatically), runs the body the right number of times, and the compiler is taught not to dead-code-eliminate calls inside it.

go
func BenchmarkHash(b *testing.B) {
	data := bytes.Repeat([]byte("x"), 1024) // setup excluded from timing
	b.ReportAllocs()
	for b.Loop() {
		_ = Hash(data)
	}
}

Bad — legacy loop with manual timer juggling and a sink to fool the optimizer:

go
func BenchmarkHash(b *testing.B) {
	data := bytes.Repeat([]byte("x"), 1024)
	b.ResetTimer()
	var sink uint64
	for i := 0; i < b.N; i++ {
		sink = Hash(data)
	}
	_ = sink
}
  • b.ReportAllocs() always — allocation count regresses long before wall-clock does, and it is the first thing to optimize.
  • Compare runs with benchstat, never eyeball two numbers — a single run's noise is larger than most real changes. Install and workflow in references/coverage-and-benchmarks.md.
  • The sink/runtime.KeepAlive dance is only needed in pre-1.24 modules; inside b.Loop() it is redundant.

Fuzzing

Built in since Go 1.18. Worth it for parsers, decoders, and anything that ingests untrusted input — places where a malformed byte sequence can panic or corrupt state.

go
func FuzzParse(f *testing.F) {
	f.Add("key=value")        // seed corpus
	f.Add("")
	f.Fuzz(func(t *testing.T, s string) {
		got, err := Parse(s)
		if err != nil {
			return // rejecting bad input is fine; crashing is not
		}
		if out := got.String(); out != s {
			t.Errorf("round-trip: Parse(%q).String() = %q", s, out)
		}
	})
}

Run it with go test -fuzz=FuzzParse -fuzztime=30s. Without -fuzz the seed corpus runs as ordinary cases on every go test, so seeds are also free regression tests.

Anti-patterns

Anti-patternWhy it bitesDo instead
Testing unexported internals via export_test.go for everythingTests rename-break on every refactor; you're testing structure, not behaviorTest through the public API; reserve export_test.go for genuinely untestable seams
Asserting on log output to check a code path ranCouples tests to message wording; brittle and slowAssert on returned values or fake-recorded calls
time.Sleep to synchronize goroutinesFlaky on loaded CI, slow alwaystesting/synctest + synctest.Wait(), or a channel
One giant TestEverything funcFirst failure hides the rest; no targetable subtestsTable-driven with named t.Run subtests
Chasing 100% coverageInflates with assertion-free tests; false confidenceCover the branches that carry logic; read the profile
tc := tc before t.Run in a go 1.22+ moduleDead ceremony; signals copied-from-old-blog codeDelete it; bump the go directive if older
gomock/testify/mock to fake an interface you ownCeremony + coupling to call order for a 12-line jobHand-rolled func-field fake
Benchmark without b.ReportAllocs()Misses allocation regressions, the cheapest winAdd b.ReportAllocs(); compare with benchstat
t.Parallel() in a test calling t.Setenv/T.ChdirPanics — they mutate process-global stateKeep env/cwd tests serial

Verify & references

Run scripts/verify.sh [dir] to check emitted tests: it runs gofmt -l, go vet ./..., and go test ./... -count=1 (with -race when supported) inside the first Go module it finds, and no-ops cleanly when there is none.

  • references/synctest-and-concurrency.md — bubble model, durable-block definition, fake clock, synctest.Wait, -race, goroutine-leak detection, the GOEXPERIMENT→GA migration.
  • references/mocks-and-fakes.md — fakes vs testify/mock vs gomock decision and minimal templates; httptest server/recorder/RoundTripper recipes.
  • references/coverage-and-benchmarks.md — coverage profiles, -coverpkg, integration go build -cover, benchstat install and workflow, -cpuprofile/-memprofile.

© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/testing-go of ericrisco/rsc-harness.

  • SKILL.md
  • evals/README.md
  • evals/cases.yaml
  • references/coverage-and-benchmarks.md
  • references/mocks-and-fakes.md
  • references/synctest-and-concurrency.md
  • scripts/verify.sh

Open the folder on GitHubat commit e3d5b33

Compare with similar skills

Testing Go next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Testing Go compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing Go this skillericrisco/rsc-harness167—~3.7kAutomated safety check: PassMIT
Go Helpershepherdjerred/monorepo112—~1.7kAutomated safety check: PassGPL-3.0
Concurrency Fuzzing Testingdzhalaevd/Donatello135—~3.3kAutomated safety check: PassApache-2.0
ContributingGoogleCloudPlatform/race-condition234—~930Automated safety check: PassCustom licence
Golang Testingunxed/f42411 repos~4.5kAutomated safety check: PassMIT
Python ProJeffallan/claude-skills12k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Go Helper

    shepherdjerred/monorepo

    Current Go development guidance for modules, toolchains, workspaces, testing, fuzzing, concurrency, profiling, security, and Go tooling.

    112 GitHub stars~1.7k tokensUpdated today
    SecurityAuto-check passed
  • Concurrency Fuzzing Testing

    dzhalaevd/Donatello

    Use as the lead skill when Python tests must expose scheduler/interleaving bugs in asyncio, threading, queues, workers, databases, caches, or mixed-concurrency code

    135 GitHub stars~3.3k tokensUpdated 4 days ago
    SecurityAuto-check passed
  • Contributing

    GoogleCloudPlatform/race-condition

    Guides the developer workflow for contributing to Race Condition.

    234 GitHub stars~930 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • 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…

    241 GitHub starsUsed in 1 repo~4.5k tokens
    Testing & QAAuto-check passed
  • Python Pro

    Jeffallan/claude-skills

    Writes type-annotated Python 3.11+ with async patterns, dataclasses and pytest suites, validated with mypy in strict mode, black and ruff.

    12k GitHub stars~1.6k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • UX Flows

    genkovich/sdd

    A skill your agent uses to derive the user flows of a UI-touching feature after the spec is clarified — one mermaid flowchart per UI-touching §4 user story (happy + alt/error branches from §5 ACs)…

    171 GitHub stars~2k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed

More from ericrisco/rsc-harness

All 227 skills in this repo
  • Ab Testing

    ericrisco/rsc-harness

    A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…

    167 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Accessibility

    ericrisco/rsc-harness

    A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…

    167 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ads

    ericrisco/rsc-harness

    A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…

    167 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Agent Eval

    ericrisco/rsc-harness

    A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…

    167 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • AI Media

    ericrisco/rsc-harness

    A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…

    167 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Analytics

    ericrisco/rsc-harness

    A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.

    167 GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Works with

Questions about Testing Go

What does Testing Go do?

A skill your agent uses when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden…. Testing Go is an agent skill from ericrisco/rsc-harness. Use when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden files, and testing concurrent goroutines deterministically.

When should I use Testing Go?

Testing Go fits situations like: running Go tests — table-driven cases; parallel isolation; fakes instead of mock frameworks; coverage profiles.

How do I install Testing Go in Claude Code?

Run `npx skills add ericrisco/rsc-harness --skill testing-go -a claude-code`. Or copy the skill folder (skills/testing-go in ericrisco/rsc-harness) into .claude/skills/testing-go in your project. Claude Code loads it when a task matches its description.

How do I install Testing Go in Codex?

Run `npx skills add ericrisco/rsc-harness --skill testing-go -a codex`. Or copy the skill folder (skills/testing-go in ericrisco/rsc-harness) into .agents/skills/testing-go in your project. Codex loads it when a task matches its description.

Can I use Testing Go in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill testing-go -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-go, .gemini/skills/testing-go, .github/skills/testing-go and .opencode/skills/testing-go in your project.

What does Testing Go need to run?

Going by SKILL.md and its folder, Testing Go needs a shell for the scripts in its folder and the command-line tools its instructions call (go and git). Our summary lists: A Bash shell.

Does Testing Go access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Testing Go safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Testing Go use?

Testing Go is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Testing Go use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.1k tokens, read only when the agent opens those files.

What are the alternatives to Testing Go?

Skills that share tags, products or a category with Testing Go: Go Helper (shepherdjerred/monorepo, 112 stars), Concurrency Fuzzing Testing (dzhalaevd/Donatello, 135 stars), Contributing (GoogleCloudPlatform/race-condition, 234 stars) and Golang Testing (unxed/f4, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Testing Go?

ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 167 GitHub stars. The repository holds 227 skills in this directory. The repository was last updated on October 7, 2026.

Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.