Catalog / Skills

Go CLI Testing

Design, implement, stabilize, and review Go CLI tests across fresh command trees, pure logic, table-driven cases, streams, typed configuration, files, environment, function-backed HTTP fakes, repositories, subprocesses, capability profiles, race checks, and artifact behavior. Use when adding command tests, diagnosing flaky Go tests, choosing test boundaries, or verifying human-, agent-, and CI-facing CLI contracts.

Gov0.4.0MITgogolangclitestingtable-testsintegration-testssubprocess

Install

npx skills add LVTD-LLC/skills --skill go-cli-testing

From `SKILL.md`

Test observable behavior at the narrowest boundary that proves it. Isolate every mutable resource and reserve executable tests for process-level semantics.