Skip to content
Back to skills

Go Testing

ASecurity

Handles all Golang testing tasks including running tests, writing new tests, and fixing test failures. Follows MCPSpy testing conventions with require for critical assertions and assert for non-critical ones.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
testinggotestingdebugging

Works with

  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill go-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-go-testing/badge)](https://www.skillsdirectory.com/skills/majiayu000-go-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-testing
description: "Handles all Golang testing tasks including running tests, writing new tests, and fixing test failures. Follows MCPSpy testing conventions with require for critical assertions and assert for non-critical ones."
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.