Deep dive on table-driven tests in Go: when to use them, when to avoid them, struct design, subtest naming, advanced patterns like test matrices and shared setup, and refactoring bloated tables into clean ones. Use when writing table-driven tests, refactoring test tables, reviewing table test structure, or deciding whether table-driven is the right approach.
Install
npx skills add eduardo-sl/go-agent-skills --skill go-test-table-drivennpx skills add eduardo-sl/go-agent-skills --skill go-test-table-driven -a claude-code -gnpx skills add eduardo-sl/go-agent-skills --skill go-test-table-driven -a codex -ggemini skills install https://github.com/eduardo-sl/go-agent-skills.git --path 'skills/(testing)/go-test-table-driven'gh skill install eduardo-sl/go-agent-skills go-test-table-drivengit clone --depth 1 https://github.com/eduardo-sl/go-agent-skills /tmp/eduardo-sl__go-agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R '/tmp/eduardo-sl__go-agent-skills/skills/(testing)/go-test-table-driven' ~/.claude/skills/go-test-table-driven # Claude Code
cp -R '/tmp/eduardo-sl__go-agent-skills/skills/(testing)/go-test-table-driven' ~/.agents/skills/go-test-table-driven # Codex, Cursor, Gemini CLI, Copilot, OpenCode