Back to Skills

go-testing

alex-ilgayev
Updated Today
46 views
485
70
485
View on GitHub
Testingaitestingmcpdesign

About

The go-testing skill handles Golang testing tasks including running tests, writing new tests, and debugging failures specifically for the MCPSpy project. It follows project conventions like using `require` for critical assertions and `assert` for non-critical ones. Use this skill when working with Go test files, implementing test cases, or fixing test issues in the codebase.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/alex-ilgayev/MCPSpy
Git CloneAlternative
git clone https://github.com/alex-ilgayev/MCPSpy.git ~/.claude/skills/go-testing

Copy and paste this command in Claude Code to install this skill

Documentation

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

GitHub Repository

alex-ilgayev/MCPSpy
Path: .claude/skills/go-testing
aiai-securityllmmcpmonitoringsecurity

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill