go-add-test

Community

Automate the addition of tests to Go microservices.

AuthorJotJunior
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of adding unit and integration tests to Go microservices, streamlining the testing process and reducing manual effort.

Core Features & Use Cases

  • Test Generation: Automatically generate tests for service, domain, handler, repository, or consumer layers in Go microservices.
  • MockFunc Pattern: Uses the MockFunc pattern to create test mocks.
  • Test Setup: Generates setup functions to wire the service with mock dependencies.
  • Test Coverage: Encourages comprehensive test coverage with scenarios including happy path, validation errors, not found, repository/dependency errors, authorization, and edge cases.
  • Use Case: When a developer needs to quickly add tests to a new service or expand tests for an existing one.

Quick Start

Use the go-add-test skill to generate tests for the service layer of the 'gob-process-service' microservice.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: go-add-test
Download link: https://github.com/JotJunior/cstk-plugin-codex/archive/main.zip#go-add-test

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 620,000+ vetted skills library on demand.