MCPSpy: Skill for Claude Code

.claude/skills/go-testing/SKILL.md

go-testing is a skill for Claude Code from alex-ilgayev/MCPSpy. It costs 40 tokens per session (198 once invoked), scanned A, original, Apache-2.0.

A testing guide for Go, the programming language, focused on the MCPSpy project. It explains how to run tests, write test cases, handle test doubles, and choose assertions that either stop on failure or let other checks continue.

In plain words
What is it for?
Use it to run Go tests, add unit tests, create fixtures and mocks, fix failing tests, test internal functions, and improve test coverage.
Why use it?
It provides the project's established testing rules, reducing inconsistent tests and making failures easier to investigate.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is alex-ilgayev/MCPSpy's own configuration. It tells Claude Code how to work on MCPSpy 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 MCPSpy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alex-ilgayev/MCPSpy. 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/alex-ilgayev/MCPSpy/main/.claude/skills/go-testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alex-ilgayev/MCPSpy

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 go-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/alex-ilgayev/mcpspy/go-testing.svg)](https://agentmods.dev/skills/alex-ilgayev/mcpspy/go-testing)
Your own site
<a href="https://agentmods.dev/skills/alex-ilgayev/mcpspy/go-testing"><img src="https://agentmods.dev/badge/skills/alex-ilgayev/mcpspy/go-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 198 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.00040 $0.00198
Opus 5 $0.00020 $0.00099
Sonnet 5 $0.00008 $0.00040
Haiku 4.5 $0.00004 $0.00020

Measured 8d ago against content hash 35d8d8aaef13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

go-testing 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 8d 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.

.claude/skills/go-testing/SKILL.md · 25 lines

What it actually says

Go Testing Skill

Provides guidance and automation for Golang testing tasks in the MCPSpy project.

Testing Philosophy

  • Use require library for assertions that should stop test execution on failure
  • Use assert library for non-critical assertions where test should continue
  • Choose internal vs external package testing based on what needs to be tested
  • Test internal functions by placing test files in the same package (no _test suffix)
  • Avoid creating externally facing functions solely for testing purposes

When to Use This Skill

  • Running unit tests with go test
  • Writing new test files and test cases
  • Debugging and fixing failing tests
  • Implementing test fixtures and mocks
  • Improving test coverage for the MCPSpy project
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. 8d ago First seen · 25 lines · 40 tokens per session scan A 35d8d8aaef13

Subscribe to this mod's changes

go-testing is a skill published in the GitHub repository alex-ilgayev/MCPSpy (516 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 198 once invoked, about $0.0002 per session on Opus 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-30.