gopherstack: Skill for Claude Code

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

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

A project-specific guide for choosing the smallest correct build, test, or lint command in the gopherstack Go repository. It maps the kind of change to checks such as race-enabled tests, linting, builds, persistence tests, and integration tests.

In plain words
What is it for?
Use it to test one service, validate shared-package changes, check persistence or wire formats, diagnose failures, and run the final pre-push checks.
Why use it?
It avoids wasting time running the entire test suite for every small change and reduces guesswork when a linter or continuous-integration check fails. It also defines the full sequence to run before pushing.

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-gates/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-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-gates/github.svg)](https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-gates)
Your own site
<a href="https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-gates"><img src="https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-gates/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-gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbirdworks/gopherstack/gopherstack-gates"><img src="https://agentmods.dev/badge/skills/blackbirdworks/gopherstack/gopherstack-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,190 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.00126 $0.02190
Opus 5.5 $0.00050 $0.00876
Sonnet 5.5 $0.00025 $0.00438
Haiku 4.5 $0.00013 $0.00219

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

Security

Grade A, and why

gopherstack-gates 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-gates/SKILL.md · 125 lines

How it starts

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

gopherstack gates

What changed → narrowest command

change command
One service's Go code go test -race ./services/<svc>/...
One service's lint golangci-lint run ./services/<svc>/...
Wire-shape confidence go test -race -run TestSDKCompleteness ./services/<svc>/... plus that service's roundtrip tests
Shared type in pkgs/ changed add go build ./... to the above — catches breaks in every consumer
Anything touching persistence/snapshot run that service's persistence_test.go explicitly
Full gate before push task lint → task test → task build-linux → task integration-test, in that order

Iterative fix loops

While fixing, use scripts/dev/gotest-fail.sh [flags] <pkgs> (e.g. scripts/dev/gotest-fail.sh -run TestFoo ./services/sqs/...). It runs go test -json -race and prints only failures: failed tests with output, build failures, package-level panics/races, and a summary. Exit code = go test's. Keep full task test for the final gate. If missing on your branch, it's in PR #2493 / main after merge.

Taskfile targets

target runs prereq
build go build with UI embed ui-build
build-linux CGO_ENABLED=0 GOOS=linux go build -o bin/gopherstack none
lint golangci-lint run --timeout 20m ./... + go vet -vettool=$(go tool -n mulint-vet) ./... + go tool govulncheck ./... install-deps ui-lint ui-fmt ui-check
lint-fix fieldalignment -fix ./... then golangci-lint run --fix ./... install-deps ui-lint-fix ui-fmt-fix
test go tool gotestsum --format pkgname -- -race -shuffle on -short ./... none
integration-test gotestsum ... -race -shuffle on -timeout 10m ./test/integration/... build-linux — the Docker image copies bin/gopherstack, so a stale/missing binary makes integration tests fail against old code with no obvious error
terraform-test gotestsum -v -race -parallel 8 -timeout 45m ./test/terraform/... install-tofu
e2e-test gotestsum ... -tags=e2e ./test/e2e/... ui-build
total-coverage unit+integration+terraform+e2e merged into coverage.out/.html build-linux
docs go run ./cmd/gendocs — regenerates per-service README.md, root README table, .badges/*.svg none
all task lint-fix && task total-coverage —

Read the full file on GitHub · 125 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 · 125 lines · 126 tokens per session scan A 41cfd19714b6

Subscribe to this mod's changes

gopherstack-gates is a skill published in the GitHub repository BlackbirdWorks/gopherstack (17 stars, last pushed yesterday), licensed MIT. It adds 126 tokens to every session and 2,190 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-gates compared with skills from other repositories

gopherstack-gates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gopherstack-gatesBlackbirdWorks/gopherstackSkill17yesterdayMITA126Claude Code
agentcore-investigationawslabs/mcpSkill9.9kyesterdayApache-2.0A52Claude Code, Codex
postgresql-indexingprowler-cloud/prowlerSkill15kyesterdayApache-2.0A108Claude Code
gh-awprowler-cloud/prowlerSkill15kyesterdayApache-2.0A59Claude Code
tddprowler-cloud/prowlerSkill15kyesterdayApache-2.0A50Claude Code
hyperpod-node-debuggerawslabs/agent-pluginsSkill9372d agoApache-2.0A139Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill9372d agoApache-2.0A80Claude Code