Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does not cover benchmark performance testing (see go-performance).
$npx -y skills add cxuu/golang-skills --skill go-testingInstalls into the current project.
Run `npx skills use "https://github.com/cxuu/golang-skills" --skill "cxuu/golang-skills/go-testing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/cxuu/golang-skills" that are relevant to the current task. Run `npx skills add "https://github.com/cxuu/golang-skills"` and select the relevant skills, then follow their instructions.