skills/rust-tui-ratatui/SKILL.md
Implicit Rust TUI and Ratatui skill. Use for terminal UIs, ratatui widgets and layouts, crossterm or termion event loops, terminal rendering architecture, async input, app state machines, keybindings, terminal UX, snapshot tests, and TUI performance.
npx skillsauth add bjornmelin/dev-skills rust-tui-ratatuiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build terminal applications with clear state ownership, predictable rendering, responsive input, and testable UI contracts.
references/ratatui-app-architecture.md for app structure, state machines, view models, layout, widgets, and theme ownership.references/events-async-terminal.md for crossterm, async tasks, cancellation, terminal restoration, and resize handling.references/testing-ux.md for buffer assertions, insta snapshots, keybinding tests, and performance checks.ratatui with crossterm unless the repository has an established backend.unicode-width or Ratatui text primitives for display width. Do not assume byte length equals terminal width.Use focused tests for state transitions and rendering:
cargo fmt --all --check
cargo test --all-targets
cargo clippy --all-targets --all-features -- -D warnings
Add render snapshots for stable screens, action/update tests for key flows, and at least one terminal cleanup path test when introducing a new event loop abstraction.
development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.