·go-unit-tests
</>

go-unit-tests

cristiano-pacheco/ai-rules

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.

7Installs·1Trend·@cristiano-pacheco

Installation

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

SKILL.md

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

Use individual test functions with subtests for functions without instances.

When tests are complete, respond with: Tests Done, Oh Yeah!

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-rules.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

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

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-rules.

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-rules --skill go-unit-tests Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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