Skill / SKILL.md

Go Test Table Driven

eduardo-sl/go-agent-skills

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. Trigger examples: "table-driven test", "table test", "test cases struct", "test matrix", "parametrize tests", "data-driven test", "refactor test table". Not for: general test strategy, mocks, golden files, fuzzing (go-test-quality), benchmarks (go-performance-review).
2 views 90 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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. Trigger examples: "table-driven test", "table test", "test cases struct", "test matrix", "parametrize tests", "data-driven test", "refactor test table". Not for: general test strategy, mocks, golden files, fuzzing (go-test-quality), benchmarks (go-performance-review).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/eduardo-sl/go-agent-skills' skill-source

Use the complete skill-source/skills/(testing)/go-test-table-driven directory with your client’s skill installer.

  • skills/(testing)/go-test-table-driven

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/(testing)/go-test-table-driven

Compatibility & requirements

Declared compatibility

Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain.

Declared tools

Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e0ce2a896dfd01abaa85a17c1cbdad25100342af6e34803eb76cfa3552ab01c8
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills