go-test-strategy

go-test-strategy is a skill for Claude Code, Codex from Dankosik/go-service-template-rest. It costs 27 tokens per session (428 once invoked), scanned A, original, MIT.

A test-planning guide based on trying to disprove each expected behavior. It helps define repeatable test conditions, an independent way to check results, and the point at which more investigation is needed.

In plain words
What is it for?
Use it to design Go tests for disputed or hard-to-test behavior, including controls, fixtures, expected results, proof steps, cleanup, and reopening conditions.
Why use it?
It reduces tests that pass for the wrong reason or only check the code's own output. It makes clear what failure each test must catch and how to reproduce it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to design Go tests for disputed or hard-to-test behavior, including controls, fixtures, expected results, proof steps, cleanup, and reopening conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dankosik/go-service-template-rest/go-test-strategy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dankosik/go-service-template-rest --skill go-test-strategy
Clone the repo
git clone --depth 1 https://github.com/Dankosik/go-service-template-rest

Made for: Claude Code, Codex.

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 go-test-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-test-strategy/github.svg)](https://agentmods.dev/skills/dankosik/go-service-template-rest/go-test-strategy)
Your own site
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-test-strategy"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-test-strategy/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 go-test-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-test-strategy"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-test-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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.00027 $0.00428
Opus 5.5 $0.00011 $0.00171
Sonnet 5.5 $0.00005 $0.00086
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade A, and why

go-test-strategy 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 28d ago.

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.

.agents/skills/go-test-strategy/SKILL.md · 42 lines

What it actually says

Go Test Strategy

Choose a test that rejects plausible wrong behavior at the smallest layer that can observe it. This is an optional method while implementing code or tests, not a separate phase, approval, or mandatory preliminary test plan.

Ground the assertion in accepted product behavior, not the implementation's current output, and keep the test shape. Reuse existing test patterns and controls. Preserve fixture cardinality, entity ownership, absent values, and event ordering. Test internal calls only when they carry an accepted contract or resource bound.

For the concrete choice in front of you, identify the wrong behavior, its observable consequence, and deterministic inputs or fault control. Unit tests are sufficient when they observe that consequence. An explicit real-database or provider verification claim needs that actual boundary, but this method cannot make such a claim mandatory for local completion. Follow the Evidence Contract before selecting external infrastructure. Do not build a test environment, runner, or scenario matrix merely because a mock has limits. Small fixtures and existing test doubles remain normal test authoring; keep optional unobserved scope clear.

Load one decision reference only when its pressure changes the test being written. A final or explicitly requested review may use the review references; they do not trigger review during ledger implementation. If a bounded consultation is delegated, use the shared specialist contract.

Done when the testing choice can be implemented in the current task. Repair fixtures and assertions locally; reopen a product owner only when expected behavior is actually undefined. The active workflow owns validation timing and task completion.

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. 28d ago Changed a6c2671e6f29
  2. 2mo ago Changed · -1 lines · -12 tokens per session d74831d99a26
  3. 2mo ago Changed · +4 lines b9b1c081b285
  4. 2mo ago Changed · -16 lines · +1 tokens per session 870843de3005
  5. 2mo ago Changed · +20 lines 99472339c674
  6. 3mo ago First seen · 35 lines · 38 tokens per session scan A 899262c45309

Subscribe to this mod's changes

go-test-strategy is a skill published in the GitHub repository Dankosik/go-service-template-rest (8 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 428 once invoked, about $0.0001 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-08-31.

Related

go-test-strategy compared with skills from other repositories

go-test-strategy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-test-strategyDankosik/go-service-template-restSkill82d agoMITA27Claude Code, Codex
migrate-goldmark-extension-v1-to-v2yuin/goldmarkSkill5.1k12d agoMITA26Claude Code
git-workflowdimetron/pi-goSkill232todayMITA59Claude Code, Codex
pi-loop-forensicsdimetron/pi-goSkill232todayMITA65Claude Code, Codex
nightly-session-watchdimetron/pi-goSkill232todayMITA78Claude Code, Codex
verify-session-flowdimetron/pi-goSkill232todayMITA122Claude Code, Codex
rex-hunk-diffdimetron/pi-goSkill232todayMITA101Claude Code, Codex