What problem does it solve? Interactive terminal applications draw by emitting byte streams to a pseudo-terminal, making defects in cursor motion, redraw timing, colors, alternate screen buffers, and resize handling hard to reproduce and verify with ordinary unit tests. ## Core Features & Use Cases - Layered Testing Hierarchy: Guides you to reproduce failures at the lowest layer possible, from model tests and render snapshots up to PTY tests and live Terminal MCP sessions. - Terminal MCP Integration: Drives live interactive sessions with explicit dimensions, sequential keystroke dispatch, screen buffer inspection, ANSI/PNG screenshots, and asciicast recording for tools like Neovim, fzf, pagers, and custom TUIs. - Framework-Specific Test Matrix: The references/testing-matrix.md reference covers Ratatui, Bubble Tea, OpenTUI, Textual, Neovim, and generic CLI testing patterns. - Use Case: When a ratatui app misrenders after a terminal resize, spawn it in an isolated Terminal MCP session at the failing dimensions, dispatch inputs, capture the screen buffer, and isolate the defect mechanism. ## Quick Start Use the terminal-tui-debugging skill to reproduce and diagnose the rendering glitch in my TUI app at 80x24 terminal dimensions.