Skip to main content

opentui-design

Comprehensive toolkit for designing and implementing CLI applications with OpenTUI and SolidJS. Use when building CLI screens/components, debugging input handling, implementing screen navigation, handling mouse events, or optimizing CLI performance. Use when this capability is needed.

Jump to install

Source facts

Repository
tomevault-io/skills-registry
Last source activity
April 28, 2026 at 22:53
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
opentui-design
description
Comprehensive toolkit for designing and implementing CLI applications with OpenTUI and SolidJS. Use when building CLI screens/components, debugging input handling, implementing screen navigation, handling mouse events, or optimizing CLI performance. Use when this capability is needed.
metadata
{"author":"akiojin"}
# OpenTUI Design Skill ## Description Comprehensive toolkit for designing and implementing CLI applications with OpenTUI and SolidJS. ## When to Use - Building new CLI screens or components with OpenTUI - Debugging input handling issues - Implementing screen navigation - Handling mouse events and limitations - Optimizing CLI performance ## Key References - `input-handling.md` - Key input patterns and propagation prevention - `mouse-handling.md` - Mouse events and Selection API limitations - `opentui-gotchas.md` - Common issues and workarounds - `component-patterns.md` - Component structure and composition - `multi-screen-navigation.md` - Screen transition patterns - `state-management.md` - SolidJS state patterns - `hooks-guide.md` - OpenTUI hooks reference - `performance-optimization.md` - Performance best practices - `responsive-layout.md` - Terminal layout patterns - `testing-patterns.md` - Testing CLI components ## Critical Knowledge ### Key Propagation Prevention When navigating between screens with Enter key, the same keypress can propagate to the new screen. Always use: 1. `key.preventDefault()` at the source 2. Initial frame delay at the destination 3. `focused` prop control on interactive elements ### SolidJS Reactivity Never destructure props - always access via `props.xxx` to maintain reactivity. ### Mouse Limitations OpenTUI's Selection API (`useSelectionHandler`) does not reliably work. Set `useMouse: false` to allow OS-level copy, but this disables wheel scroll. --- > Converted and distributed by [TomeVault](https://tomevault.io/claim/akiojin) — claim your Tome and manage your conversions. <!-- tomevault:4.0:skill_md:2026-04-13 -->
View on GitHub