gopherstack: Skill for Claude Code

.claude/skills/gopherstack-tests/SKILL.md

gopherstack-tests is a skill for Claude Code from BlackbirdWorks/gopherstack. It costs 115 tokens per session (2,855 once invoked), scanned A, original, MIT.

A testing guide for Gopherstack that defines the repository's conventions for table-driven Go tests, parallel subtests, assertions, and waiting for conditions.

In plain words
What is it for?
Use it when writing Go test files to structure cases, run tests in parallel, separate required from non-required checks, and use eventual-condition waiting.
Why use it?
It keeps new or converted tests consistent and avoids unreliable fixed delays when checking eventually completed work.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is BlackbirdWorks/gopherstack's own configuration. It tells Claude Code how to work on gopherstack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gopherstack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BlackbirdWorks/gopherstack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BlackbirdWorks/gopherstack/main/.claude/skills/gopherstack-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BlackbirdWorks/gopherstack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gopherstack-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-tests/github.svg)](https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-tests)
Your own site
<a href="https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-tests"><img src="https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-tests/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gopherstack-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-tests"><img src="https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.02855
Opus 5.5 $0.00046 $0.01142
Sonnet 5.5 $0.00023 $0.00571
Haiku 4.5 $0.00012 $0.00285

Measured yesterday against content hash bd89e9a11670, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gopherstack-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/gopherstack-tests/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gopherstack tests

Canonical template

Real example, trimmed from services/grafana/workspaces_test.go:73-116:

func TestCreateWorkspace_Validation(t *testing.T) {
	t.Parallel()

	_, client := newTestHandlerAndClient(t)

	tests := []struct {
		mutate func(*grafanasdk.CreateWorkspaceInput)
		name   string
	}{
		{
			name: "invalid accountAccessType",
			mutate: func(in *grafanasdk.CreateWorkspaceInput) {
				in.AccountAccessType = "BOGUS"
			},
		},
		{
			name: "ORGANIZATION without organizational units",
			mutate: func(in *grafanasdk.CreateWorkspaceInput) {
				in.AccountAccessType = types.AccountAccessTypeOrganization
			},
		},
	}

	for _, tc := range tests {
		t.Run(tc.name, func(t *testing.T) {
			t.Parallel()

			in := minimalCreateWorkspaceInput()
			tc.mutate(in)

			_, err := client.CreateWorkspace(t.Context(), in)
			require.Error(t, err)

			var ve *types.ValidationException
			require.ErrorAs(t, err, &ve, "expected a real ValidationException from the SDK deserializer")
		})
	}
}

Shape: anonymous []struct{...} (not a named type, not map[string]struct), loop var tc or tt, t.Run(tc.name, ...), t.Parallel() in the outer func and inside each subtest closure.

Naming: do / don't

The subtest name: field is a short lowercase phrase, not a sentence and not the test's own restated purpose.

do don't
"not found" "should return an error when the workspace does not exist"
"invalid accountAccessType" "TestCreateWorkspace_should_fail_with_invalid_accountAccessType"
"empty target" "the target list is empty and should be rejected"
"already_exists" (also seen, pkgs/store style) a name that repeats the enclosing func's name

Data: across ~32k table-case names in services/, 73% are a single word, 92% are three words or fewer. Longer ones exist mostly as "<Operation> <condition>" (e.g. "DeleteTask unknown ARN returns 404") when the case needs to name which SDK op it targets — still one clause, no filler.

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 134 lines · 115 tokens per session scan A bd89e9a11670

Subscribe to this mod's changes

gopherstack-tests is a skill published in the GitHub repository BlackbirdWorks/gopherstack (17 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 2,855 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

gopherstack-tests compared with skills from other repositories

gopherstack-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gopherstack-testsBlackbirdWorks/gopherstackSkill17yesterdayMITA115Claude Code
golang-testingaffaan-m/ECCSkill299kyesterdayMITA37Claude Code, Kiro
timeouts-and-asynconsi/ginkgoSkill9.1k5d agoMITA106Claude Code
setuponsi/ginkgoSkill9.1k5d agoMITA118Claude Code
golang-testingsamber/cc-skills-golangSkill3.8k6d agoMITA115Claude Code
golang-stretchr-testifysamber/cc-skills-golangSkill3.8k6d agoMITA97Claude Code
overviewonsi/ginkgoSkill9.1k5d agoMITA84Claude Code