tui-testing-debugging

Installation
SKILL.md

TUI Testing and Debugging with Snapshots, PTYs, Virtual Terminals, and ConPTY

Use this skill when a TUI needs reliable tests or when an interactive terminal bug must be reproduced outside a human terminal session.

Four-layer test strategy

  1. Pure state tests. Test reducers, update functions, focus transitions, validation, sorting, filtering, and command scheduling without a terminal.
  2. Component/render snapshots. Render widgets at fixed width, height, theme, color level, locale, and time. Compare stable text or cell grids.
  3. Virtual terminal tests. Feed ANSI output into a terminal emulator and assert final cells, cursor, styles, scrollback, and cleanup.
  4. PTY integration tests. Spawn the real program, send keys/paste/resize, and assert visible behavior and exit status.

Snapshot stabilization

Freeze or normalize:

Installs
34
GitHub Stars
47
First Seen
May 25, 2026
tui-testing-debugging — josiahsiegel/claude-plugin-marketplace