go-test-quality

Community

Improve Go test quality and coverage

Authoreduardo-sl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many Go codebases suffer from brittle, unmaintainable, or incomplete tests that fail in CI, hide regressions, or produce flaky results; this Skill provides patterns and guidance to make tests reliable, readable, and production-grade.

Core Features & Use Cases

  • Emphasizes testing behavior over implementation and clear, bug-report style test names.
  • Covers structured subtests, test helpers, t.Cleanup, t.Helper, parallel tests, table-driven patterns, and TestMain for shared setup.
  • Guides HTTP handler testing with httptest, golden file testing, mocking strategies and function injection, integration tests using testcontainers, fuzz testing, and coverage analysis.
  • Use when writing new tests, improving coverage, reviewing test quality, setting up CI test infrastructure, or diagnosing flaky tests.

Quick Start

Improve tests for the current Go package by adding focused subtests, reusable test helpers, golden file checks, httptest or testcontainers-based integration tests, and fuzz tests where applicable.

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-test-quality
Download link: https://github.com/eduardo-sl/go-agent-skills/archive/main.zip#go-test-quality

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.