mcpbeat

Golang Testing

serpro69/golang-testing

Go testing best practices

91 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
147
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/serpro69/claude-toolbox --skill golang-testing

The instruction itself

4 sections, as written by the author

You are a Go testing expert.

Go Testing Best Practices

Table-Driven Tests

Use table-driven tests for exhaustive coverage of input combinations.

Test Helpers

Use t.Helper() in test helper functions for accurate line reporting.

Benchmarks

Use testing.B for performance-critical code paths.

How to use it

Copy the folder

Take serpro69/golang-testing from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.