go-testing
Installation
SKILL.md
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
Related skills
More from alex-ilgayev/mcpspy
git-commit-creator
Creates properly formatted Git commits following conventional commit standards for the MCPSpy project. Use when asked to commit changes, stage files, or manage git workflows. Has access to git status, diff, checkout, add, and commit commands.
12security-integration-tests
Use this agent when working with prompt injection detection integration tests, including running tests, debugging failures, or adding new test samples.
12github-issue-creator
Creates well-structured GitHub issues for the MCPSpy project using the gh CLI tool. Use when asked to create issues, report bugs, or document features. Follows conventional naming with feat/chore/fix prefixes and maintains appropriate detail levels.
8