gotest

Community

Write Go tests following patterns.

Authormeain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write Go unit and integration tests by adhering to established patterns within a codebase, ensuring consistency and maintainability.

Core Features & Use Cases

  • Pattern Adherence: Automatically identifies and follows existing testing conventions (mocking, table-driven tests, error assertions).
  • Test Generation: Assists in creating new test cases for Go functions.
  • Verification: Includes steps to compile and run tests to ensure correctness.
  • Use Case: When a new feature is added to a Go service, use this Skill to generate comprehensive tests that match the style of existing tests in the project.

Quick Start

Use the gotest skill to write tests for the processOrder function in the internal/service package.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gotest
Download link: https://github.com/meain/dotfiles/archive/main.zip#gotest

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.