opentui-design
SKILL.md
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 preventionmouse-handling.md- Mouse events and Selection API limitationsopentui-gotchas.md- Common issues and workaroundscomponent-patterns.md- Component structure and compositionmulti-screen-navigation.md- Screen transition patternsstate-management.md- SolidJS state patternshooks-guide.md- OpenTUI hooks referenceperformance-optimization.md- Performance best practicesresponsive-layout.md- Terminal layout patternstesting-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:
key.preventDefault()at the source- Initial frame delay at the destination
focusedprop 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.
Weekly Installs
21
Repository
akiojin/skillsGitHub Stars
5
First Seen
Feb 21, 2026
Security Audits
Installed on
opencode20
gemini-cli20
github-copilot20
codex20
amp20
kimi-cli20