go-testing
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.
$ Installieren
git clone https://github.com/alex-ilgayev/MCPSpy /tmp/MCPSpy && cp -r /tmp/MCPSpy/.claude/skills/go-testing ~/.claude/skills/MCPSpy// tip: Run this command in your terminal to install the skill
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
requirelibrary for assertions that should stop test execution on failure - Use
assertlibrary 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
_testsuffix) - 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
Repository

alex-ilgayev
Author
alex-ilgayev/MCPSpy/.claude/skills/go-testing
478
Stars
68
Forks
Updated6d ago
Added1w ago