·go-unit-tests
</>

go-unit-tests

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.

14Installs·1Trend·@cristiano-pacheco

Installation

$npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-unit-tests

How to Install go-unit-tests

Quickly install go-unit-tests AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-unit-tests
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: cristiano-pacheco/ai-tools.

SKILL.md

View raw

Generate comprehensive Go unit tests following testify patterns and the Arrange-Act-Assert methodology.

Use suite.Suite from testify when the system under test is a struct with injected dependencies.

Use SetupSuite + TearDownSuite when initialization is expensive and safe to share across all tests (e.g. generating RSA keys, creating temp directories).

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. Source: cristiano-pacheco/ai-tools.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-unit-tests
Category
</>Dev Tools
Verified
First Seen
2026-02-26
Updated
2026-03-10

Browse more skills from cristiano-pacheco/ai-tools

Quick answers

What is go-unit-tests?

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. Source: cristiano-pacheco/ai-tools.

How do I install go-unit-tests?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-unit-tests Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/cristiano-pacheco/ai-tools