go-unit-tests

Community

Write strong Go unit tests with testify.

Authorcristiano-pacheco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate comprehensive Go unit tests following testify patterns and best practices. Use when creating or updating Go test files, writing test suites for structs with dependencies, testing standalone functions, working with mocks, or when asked to add test coverage for Go code.

Core Features & Use Cases

  • Tests generation patterns for struct-based tests with dependencies using testify's suite.
  • Standalone function tests with Arrange-Act-Assert style.
  • Mocks wiring guidance and naming conventions for Go tests.

Quick Start

Create a Go test file scaffold for a package, using testify patterns to cover typical cases.

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: go-unit-tests
Download link: https://github.com/cristiano-pacheco/ai-rules/archive/main.zip#go-unit-tests

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