What problem does it solve? Writing consistent, maintainable Go tests is hard when projects mix pure functions, filesystem operations, TUI state machines, and rendered output. This Skill provides decision gates and hard rules so every test follows the right pattern for the behavior under test. ## Core Features & Use Cases - Pattern selection via decision gates: maps each test target (pure function, error behavior, file operations, TUI state, rendered output, external commands) to the correct Go testing pattern. - Bubbletea and teatest guidance: tests Model.Update() directly for state transitions and reserves teatest for full interactive flows. - Golden file discipline: enforces deterministic golden files updated only through the repo's -update flag, with a rerun verification step. - Use Case: When adding coverage to a Go CLI built with Bubbletea, use this Skill to write table-driven unit tests for parsers, direct Update() tests for screen transitions, and golden file tests for rendered views. ## Quick Start Ask the assistant to write Go tests for a specific package or function following table-driven, Bubbletea, and golden file patterns.