What problem does it solve? Writing idiomatic, reliable Go tests requires choosing the right patterns—table-driven tests, mocks, fuzzing, race detection—and avoiding flaky or meaningless assertions. This Skill provides a structured workflow for generating, fixing, and improving Go test suites. ## Core Features & Use Cases - Test Generation: Produces table-driven tests, testify suites, mocks, HTTP handler tests with httptest, fuzz tests, and benchmarks following Go 1.21+ conventions. - Failure Diagnosis: Guides debugging of failing or flaky tests using -race, -count=1, and synchronization best practices. - Coverage & CI Integration: Sets up coverage profiling, coverage gates, and GitHub Actions test workflows. - Use Case: Ask the agent to write tests for an HTTP handler, and it analyzes the code, selects httptest with table-driven cases, generates the test file, and provides the exact go test commands to verify. ## Quick Start Ask the agent to write table-driven tests with testify assertions for a specific Go package or function in your project.