Skill / SKILL.md

Go Testing Mistakes

v0lka/skills

Guides the agent to avoid common Go testing mistakes when writing or reviewing test code. Covers test categorization (build tags, env vars, short mode), race detection, test execution modes (parallel, shuffle), table-driven tests, avoiding sleeps in tests, handling the time API deterministically, using httptest/iotest utility packages, writing accurate benchmarks, and leveraging Go testing features (coverage, external test packages, utility functions, setup/teardown). Use when writing, reviewing, or refactoring Go tests, benchmarks, or test helpers, or when setting up CI test pipelines for Go projects.
3 views 32 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides the agent to avoid common Go testing mistakes when writing or reviewing test code. Covers test categorization (build tags, env vars, short mode), race detection, test execution modes (parallel, shuffle), table-driven tests, avoiding sleeps in tests, handling the time API deterministically, using httptest/iotest utility packages, writing accurate benchmarks, and leveraging Go testing features (coverage, external test packages, utility functions, setup/teardown). Use when writing, reviewing, or refactoring Go tests, benchmarks, or test helpers, or when setting up CI test pipelines for Go projects.

Installation & variants

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

git clone -- 'https://github.com/v0lka/skills' skill-source

Use the complete skill-source/development/idiomatic-go/go-testing-mistakes directory with your client’s skill installer.

  • development/idiomatic-go/go-testing-mistakes

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory development/idiomatic-go/go-testing-mistakes

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills