Go Testing

Use when writing, running, or debugging Go tests, fixtures, mocks, and coverage while preserving package boundaries and failure evidence.

9 stars 3 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sandbaseai/workbuddy-skill --skill go-testing
Manual install
git clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/go-testing ~/.claude/skills/go-testing

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Go Testing

Develop and verify Go code with tests that express observable behavior and preserve trustworthy failure signals. Start from the repository's conventions and current diff. Do not expose production APIs merely to make a test convenient, delete a failing test, or claim coverage from a command that was not run.

## Choose the test boundary

1. Inspect `go.mod`, package layout, existing `_test.go` files, build tags, CI commands, fixtures, and the behavior being changed.
2. Use an internal package test when private implementation behavior or package invariants must be exercised; use an external package test when the public API and consumer contract are the subject.
3. Test through existing interfaces and dependency seams. Introduce a test seam only when it improves the production design; never add an externally visible function solely for testing.
4. Select the smallest deterministic scope first, then expand to affected packages and the repository-defined full suite.

## Write useful assertions
Read the full skill on GitHub

Details

Skill name
go-testing
Path
skills/go-testing/SKILL.md
License
MIT
Repo updated
8 September 2026

FAQ

What does the Go Testing skill do?

Use when writing, running, or debugging Go tests, fixtures, mocks, and coverage while preserving package boundaries and failure evidence.

How do I install the Go Testing skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill go-testing. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Go Testing popular?

It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.

Related skills

Access Control Security Best Practices

9

sandbaseai/workbuddy-skill

Design, review, implement, and verify least-privilege access controls across users, services, tenants, resources, and administrative workflows.

Security

Accessibility Review

9

sandbaseai/workbuddy-skill

Use when reviewing a web interface or interaction for semantic, keyboard, focus, screen-reader, ARIA, and contrast accessibility risks.

Frontend & Design

Acquire Codebase Knowledge

9

sandbaseai/workbuddy-skill

Use when the user asks to map, document, or onboard into an existing codebase and needs evidence-backed architecture, structure, conventions, integrations, testing, and concerns documentation.

Software Development

Grounded Vault

9

sandbaseai/workbuddy-skill

Use when compiling durable Markdown knowledge from sources and code, and every claim must remain traceable and cheap to check for staleness.

Software Development

Feature Dev

5

euxx/claude-skills-for-copilot

Guided feature development with multi-agent codebase understanding, architecture design, and implementation review. Use when starting a new feature or implementing a significant change.

Software Development

Horizon

5

roby2358/skills

Structured pause before building. Use when about to implement a feature, ship a change, or when the user invokes /horizon. Forces examination of what's beyond the immediate solution — whether this should be built at all, whether the design is right, whether existing code needs attention first. Triggers on feature requests, implementation starts, or when the user wants to challenge the impulse to build.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.