What problem does it solve? Go test suites often suffer from flaky tests, goroutine leaks, missing edge cases, and tests coupled to implementation details. This Skill provides opinionated, idiomatic guidance for writing, reviewing, auditing, and debugging Go tests so they act as executable specifications rather than brittle coverage padding. ## Core Features & Use Cases - Table-Driven & Parallel Tests: Enforces named subtests, t.Parallel() for independent cases, and black-box testing via external test packages. - Concurrency & Time Safety: Detects goroutine leaks with goleak, uses testing/synctest and fake clocks (clockwork) for deterministic time-dependent tests, and mandates -race in CI. - Integration & HTTP Testing: Separates integration tests with //go:build integration tags, uses testify/suite for setup/teardown, and tests handlers with httptest.NewRecorder instead of real servers. - Use Case: When asked to test a worker pool, the Skill produces tests that verify task completion AND use goleak.VerifyTestMain to prove Stop() leaks no goroutines. ## Quick Start Ask the agent to write comprehensive table-driven tests with goroutine leak detection for your Go package.